Update web-platform-tests to revision 84e71a84b79199bc307866bbe0edcbcc7c4752ce

This commit is contained in:
WPT Sync Bot 2020-06-17 08:21:00 +00:00
parent 6d9b2eef29
commit ea69dac266
93 changed files with 1056 additions and 202 deletions

View file

@ -1,10 +1,10 @@
from time import sleep
def main(request, response):
if "delay" in request.GET:
delay = int(request.GET["delay"])
if b"delay" in request.GET:
delay = int(request.GET[b"delay"])
sleep(delay)
if "stylesNotMatchingEnvironment" in request.GET:
return 'h1 {color: brown;}'
if b"stylesNotMatchingEnvironment" in request.GET:
return u'h1 {color: brown;}'
else:
return 'h1 {color: purple;}'
return u'h1 {color: purple;}'