mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision 84e71a84b79199bc307866bbe0edcbcc7c4752ce
This commit is contained in:
parent
6d9b2eef29
commit
ea69dac266
93 changed files with 1056 additions and 202 deletions
|
@ -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;}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue