aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-06-27 08:20:23 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-06-27 10:37:34 +0000
commitfa6a725a86a7f69c8e73205492de94c2f91a63ee (patch)
tree52edb8bec0628e14db32db58f9d3331459dc8dc4 /tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py
parent0afe412d632a14b54da78ffb25418bdb510233a4 (diff)
downloadservo-fa6a725a86a7f69c8e73205492de94c2f91a63ee.tar.gz
servo-fa6a725a86a7f69c8e73205492de94c2f91a63ee.zip
Update web-platform-tests to revision cb40575e1a57892476f3e326355674d492dedbd2
Diffstat (limited to 'tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py')
-rw-r--r--tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py
index 5df883c07be..b315afed563 100644
--- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py
+++ b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py
@@ -1,4 +1,4 @@
def main(request, response):
- headers = [("Content-Type", "text/javascript"), ("Cache-control", "public, max-age=100")]
- body = "throw('fox');"
+ headers = [(b"Content-Type", b"text/javascript"), (b"Cache-control", b"public, max-age=100")]
+ body = u"throw('fox');"
return 200, headers, body