Sign in
webkit
/
WebKit
/
76a8f7c08111492deadce85b92a6e5bae1da2a4b
/
.
/
LayoutTests
/
http
/
wpt
/
service-workers
/
mac
/
throttleable-worker.js
blob: ce7855f7120ab5e11d2d8274663252eb54c656af [
file
] [
log
] [
blame
]
onactivate
=
(
e
)
=>
e
.
waitUntil
(
clients
.
claim
());
function
checkThrottleable
(
event
)
{
event
.
source
.
postMessage
(
self
.
internals
?
self
.
internals
.
isThrottleable
:
"needs internals"
);
}
self
.
addEventListener
(
"message"
,
checkThrottleable
);