Source code
Revision control
Copy as Markdown
Other Tools
oninstall = function (e) {
var claimFailedPromise = new Promise(function (resolve, reject) {
clients.claim().then(reject, () => resolve());
});
e.waitUntil(claimFailedPromise);
};