Sign in
webkit
/
WebKit
/
d0e9359bbbbbe54170cea1569c9fb736cfa3bccd
/
.
/
LayoutTests
/
http
/
wpt
/
service-workers
/
resources
/
persistent-importScripts-script.py
blob: df58da7a141bc070fb46d9e54e44b57081d68ee0 [
file
] [
log
] [
blame
]
import
random
def
main
(
request
,
response
):
headers
=
[(
b
"Content-type"
,
b
"text/javascript"
),
(
b
"Cache-Control"
,
b
"no-store"
)
]
return
headers
,
"self.addEventListener('message', function(e) { e.source.postMessage('"
+
str
(
random
.
random
())
+
"'); });"