Sign in
webkit
/
WebKit
/
a659cc2560ef03ca74fc359443f5a95cd40bafd1
/
.
/
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
);