Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/heads/active-script-webidl-callbacks
/
.
/
html
/
semantics
/
scripting-1
/
the-script-element
/
cacheable-script-throw.py
blob: b315afed5639302a099376576cafe07e0b40fc3c [
file
] [
log
] [
blame
] [
edit
]
def
main
(
request
,
response
):
headers
=
[(
b
"Content-Type"
,
b
"text/javascript"
),
(
b
"Cache-control"
,
b
"public, max-age=100"
)]
body
=
u
"throw('fox');"
return
200
,
headers
,
body