mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-01 14:29:41 +00:00
8 lines
188 B
JavaScript
8 lines
188 B
JavaScript
oninstall = function(e) {
|
|
var claimFailedPromise = new Promise(function(resolve, reject) {
|
|
clients.claim().then(reject, () => resolve());
|
|
});
|
|
|
|
e.waitUntil(claimFailedPromise);
|
|
}
|