instance.https.window.js (562B)
1 // META: script=/resources/testdriver.js 2 // META: script=/resources/testdriver-vendor.js 3 // META: script=/service-workers/service-worker/resources/test-helpers.sub.js 4 // META: script=resources/helpers.js 5 // META: script=resources/custom-data.js 6 // META: script=instance-checks.js 7 8 promise_setup(async () => { 9 await trySettingPermission("granted"); 10 }); 11 12 notification_instance_test(() => { 13 const n = new Notification(...notification_args); 14 n.close(); 15 return n; 16 }, "new Notification()"); 17 18 service_worker_test("instance-sw.js", "Service worker test setup");