Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
LayoutTests
/
http
/
tests
/
workers
/
service
/
resources
/
basic-unregister-then-register-again-reuse-worker.js
blob: a4fb76aa270c79c039501850249f361c16b3460a [
file
] [
log
] [
blame
]
self
.
addEventListener
(
"message"
,
function
(
event
)
{
event
.
waitUntil
(
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
();
},
30000
);
}));
client
=
event
.
source
;
setTimeout
(
function
()
{
client
.
postMessage
(
"ExtendedLifetime"
);
},
0
);
});