1
0
Fork 0
firefox/testing/web-platform/tests/notifications/instance.https.window.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

18 lines
562 B
JavaScript

// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=/service-workers/service-worker/resources/test-helpers.sub.js
// META: script=resources/helpers.js
// META: script=resources/custom-data.js
// META: script=instance-checks.js
promise_setup(async () => {
await trySettingPermission("granted");
});
notification_instance_test(() => {
const n = new Notification(...notification_args);
n.close();
return n;
}, "new Notification()");
service_worker_test("instance-sw.js", "Service worker test setup");