From e69a5bf014abcfffd5b06d6ac51281a41cbd5dd5 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 10 Sep 2025 11:16:21 +0200 Subject: [PATCH 1/3] Add Notification.navigate --- api/Notification.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/api/Notification.json b/api/Notification.json index 26aa76483045ea..7c1ddaf101e8d9 100644 --- a/api/Notification.json +++ b/api/Notification.json @@ -824,6 +824,37 @@ } } }, + "navigate": { + "__compat": { + "spec_url": "https://notifications.spec.whatwg.org/#dom-notification-navigate", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": "18.4" + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "permission_static": { "__compat": { "description": "`permission` static property", From 5124eb28d71600871c5df505964000394ae90488 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 10 Sep 2025 11:28:36 +0200 Subject: [PATCH 2/3] Apparently not in webview_ios --- api/Notification.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/Notification.json b/api/Notification.json index 7c1ddaf101e8d9..2dda3cd41125bf 100644 --- a/api/Notification.json +++ b/api/Notification.json @@ -846,7 +846,9 @@ "safari_ios": "mirror", "samsunginternet_android": "mirror", "webview_android": "mirror", - "webview_ios": "mirror" + "webview_ios": { + "version_added": false + } }, "status": { "experimental": true, From dd323efbf5b68bd78306374c222526f4c24f0b23 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Tue, 16 Sep 2025 16:11:09 +0200 Subject: [PATCH 3/3] test(utils/walk): update expectations One feature was added to `api.Notification`. --- utils/walk.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/walk.test.ts b/utils/walk.test.ts index 4dd7c97eb52e7e..684948f5b8de74 100644 --- a/utils/walk.test.ts +++ b/utils/walk.test.ts @@ -29,7 +29,7 @@ describe('walk()', () => { it('should walk a single tree', () => { const results = Array.from(walk('api.Notification')); - assert.equal(results.length, 28); + assert.equal(results.length, 29); assert.equal(results[0].path, 'api.Notification'); assert.equal(results[1].path, 'api.Notification.Notification'); }); @@ -38,7 +38,7 @@ describe('walk()', () => { const results = Array.from( walk(['api.Notification', 'css.properties.color']), ); - assert.equal(results.length, 29); + assert.equal(results.length, 30); assert.equal(results[0].path, 'api.Notification'); assert.equal(results[results.length - 1].path, 'css.properties.color'); });