1 // For now this test only calls update to verify that our registration
2 // job queueing works properly when called from the worker thread. We should
3 // test actual update scenarios with a SJS test.
4 onmessage = function (e) {
8 return v instanceof ServiceWorkerRegistration ? "FINISH" : "FAIL";
10 .catch(function (ex) {
13 .then(function (result) {
14 clients.matchAll().then(function (c) {
17 "!!!!!!!!!!! WORKER HAS NO CLIENTS TO FINISH TEST !!!!!!!!!!!!\n"
22 c[0].postMessage(result);