We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bcb66 commit 821ed8eCopy full SHA for 821ed8e
1 file changed
custom/tests.yaml
@@ -3293,13 +3293,17 @@ api:
3293
var instance = new InputEvent('input');
3294
InstallEvent:
3295
__base: |-
3296
+ if (!('InstallEvent' in self)) {
3297
+ return {result: false, message: 'InstallEvent is not defined'}
3298
+ }
3299
+
3300
// During the installation of the service worker, we set an "installEvent" global variable so that we may easily reuse it here:
3301
// var installEvent = null;
3302
// self.addEventListener('install', function (event) {
3303
// installEvent = event;
3304
// });
3305
- var instance = installEvent;
3306
+ var instance = installEvent of InstallEvent ? installEvent : undefined;
3307
IntersectionObserver:
3308
3309
__additional:
0 commit comments