[wpt-sync] Sync PR 63789 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327841
Categories
(Core :: DOM: Push Subscriptions, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63789 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63789
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327841
WebKit export from bug: window.<!---->pushManager should only be exposed in secure contexts
<pre>
window.pushManager should only be exposed in secure contextsThe Push API's PushManagerAttribute mixin is [SecureContext], but WebKit's WindowPush mixin was
not, so window.pushManager was exposed in non-secure contexts. Calling subscribe() there crashed
the web process on PushManager::subscribe()'s RELEASE_ASSERT that the context is secure.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327841">https://bugs.webkit.org/show_bug.cgi?id=327841</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=107296
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 18 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 17[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 18[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[GitHub] 263[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 279[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 11[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 25[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
ERROR : 1
NOTRUN: 2
Chrome
OK : 1
PASS : 2
Safari
OK : 1
PASS : 1
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /push-api/idlharness.https.any.serviceworker.html [wpt.fyi]
- PushSubscriptionOptions interface: attribute userVisibleOnly:
FAIL - PushEvent interface: attribute notification:
FAIL - PushEvent interface: new PushEvent("type") must inherit property "notification" with the proper type:
FAIL
- PushSubscriptionOptions interface: attribute userVisibleOnly:
- /push-api/idlharness.https.any.worker.html [wpt.fyi]
- PushSubscriptionOptions interface: attribute userVisibleOnly:
FAIL
- PushSubscriptionOptions interface: attribute userVisibleOnly:
- /push-api/idlharness.https.any.html [wpt.fyi]
- PushSubscriptionOptions interface: attribute userVisibleOnly:
FAIL - Window interface: attribute pushManager:
FAIL
- PushSubscriptionOptions interface: attribute userVisibleOnly:
- /push-api/idlharness.https.any.sharedworker.html [wpt.fyi]
- PushSubscriptionOptions interface: attribute userVisibleOnly:
FAIL
- PushSubscriptionOptions interface: attribute userVisibleOnly:
- /push-api/permission.https.html [wpt.fyi]
- Granting permission should allow subscription:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Granting permission should allow subscription:
- /push-api/push-event.https.any.window-module.html?includeAppServerKey=false [wpt.fyi]
- Posting to the push endpoint should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 72,101,108,108,111 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 226,130,40,240,40,140,188 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 123,34,104,101,108,108,111,34,58,34,119,111,114,108,100,34,125 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 72,105,33,32,240,159,145,128 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Posting to the push endpoint should fire push event on the service worker:
- /push-api/push-event.https.any.window-module.html?includeAppServerKey=true [wpt.fyi]
- Posting to the push endpoint should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 72,101,108,108,111 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 226,130,40,240,40,140,188 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 123,34,104,101,108,108,111,34,58,34,119,111,114,108,100,34,125 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Posting to the push endpoint with encrypted data 72,105,33,32,240,159,145,128 should fire push event on the service worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Posting to the push endpoint should fire push event on the service worker:
- /push-api/supported-encodings.https.any.html [wpt.fyi]
- supportedContentEncodings must be FrozenArray:
FAIL
- supportedContentEncodings must be FrozenArray:
- /push-api/supported-encodings.https.any.sharedworker.html [wpt.fyi]
- supportedContentEncodings must be FrozenArray:
FAIL
- supportedContentEncodings must be FrozenArray:
- /push-api/supported-encodings.https.any.serviceworker.html [wpt.fyi]
- supportedContentEncodings must be FrozenArray:
FAIL
- supportedContentEncodings must be FrozenArray:
- /push-api/supported-encodings.https.any.worker.html [wpt.fyi]
- supportedContentEncodings must be FrozenArray:
FAIL
- supportedContentEncodings must be FrozenArray:
- /push-api/window-pushManager.https.any.window-module.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]- Using window.pushManager when there is a service worker with scope /:
NOTRUN[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - Using window.pushManager when there is a service worker with scope NOT equal to /:
NOTRUN[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Using window.pushManager when there is a service worker with scope /:
- /push-api/worker-subscribe.https.window.html [wpt.fyi]
- Subscribing within a worker:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Subscribing within a worker:
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/931b1e0854a8
https://hg.mozilla.org/mozilla-central/rev/b76dfb990b3a
Description
•