mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update web-platform-tests to revision aa86bfbb569fee92a3176bae68e3b7ec54140a6d
This commit is contained in:
parent
a242913629
commit
4c80634acb
102 changed files with 1207 additions and 360 deletions
|
@ -1,7 +1,7 @@
|
|||
def main(request, response):
|
||||
headers = [("Content-type", request.GET.first("mime"))]
|
||||
if "content" in request.GET and request.GET.first("content") == "empty":
|
||||
content = ''
|
||||
headers = [(b"Content-type", request.GET.first(b"mime"))]
|
||||
if b"content" in request.GET and request.GET.first(b"content") == b"empty":
|
||||
content = b''
|
||||
else:
|
||||
content = "console.log('Script loaded')"
|
||||
content = b"console.log('Script loaded')"
|
||||
return 200, headers, content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue