[wpt-sync] Sync PR 63393 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326672
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
119.56 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63393 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63393
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326672
WebKit export from bug: Remove internals.markContextAsInsecure()
<pre>
Remove internals.markContextAsInsecure()internals.markContextAsInsecure() turned a document created as a secure
context into a non-secure one, which cannot happen otherwise: an API that
requires a secure context is either exposed or not. It also changed state only
in its own process, so with site isolation other processes still saw a secure
context.Tests now get a real non-secure context from the WPT server, as localhost is
potentially trustworthy. Tests that need nothing WebKit-specific become
web-platform tests:
- orientation-event/device-orientation-events-unavailable-on-insecure-origins.html
is imported and replaces http/tests/events/device-orientation-motion-*.- speech-api/SpeechRecognition-non-secure-context.http.html is new and replaces
http/wpt/mediastream/speechrecognition-insecure.html.
SpeechRecognitionResultList is still exposed in non-secure contexts.- html/cross-origin-opener-policy/non-secure-to-secure-context-navigation.https.html
moves from http/wpt. Its popup now starts at
get_host_info().UNAUTHENTICATED_ORIGIN and navigates itself to the secure page.The tests for the login status API, getGamepads() and geolocation's console
message move to http/wpt and run from get_host_info().UNAUTHENTICATED_ORIGIN.
The login status test now checks navigator.setStatus() and
navigator.isLoggedIn() instead of navigator.setLoggedIn(), which no longer
exists.Four tests are removed, as imported WPTs already cover them from a non-secure
context:
- fast/web-share/share-canShare-insecure.html, by web-share/canShare-insecure.http.html
and web-share/share-securecontext.http.html.- http/tests/notifications/notification-in-non-secure-context.html, by
notifications/permissions-non-secure.html.- http/tests/workers/worker-iframe-owner-isSecureContext.html, by
secure-contexts/basic-dedicated-worker.html.- http/wpt/crypto/historical.html, by WebCryptoAPI/historical.any.html.
This also removes the SecurityOrigin and Document setters that only the hook
used.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326672">https://bugs.webkit.org/show_bug.cgi?id=326672</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=102430
| 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 180 tests and 12 subtests
Status Summary
Firefox
OK : 2[GitHub] 123[Gecko-android-em-14-x86_64-debug-geckoview] 125[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 126[Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-opt] 127[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-opt] 128[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]
PASS: 9[GitHub] 628[Gecko-android-em-14-x86_64-debug-geckoview] 634[Gecko-android-em-14-x86_64-lite-opt-geckoview] 635[Gecko-android-em-14-x86_64-opt-geckoview] 771[Gecko-windows11-32-25h2-opt] 777[Gecko-windows11-64-25h2-opt] 783[Gecko-windows11-32-25h2-debug] 789[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]
FAIL: 29[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] 175[Gecko-android-em-14-x86_64-opt-geckoview] 176[Gecko-android-em-14-x86_64-lite-opt-geckoview] 177[Gecko-android-em-14-x86_64-debug-geckoview]
Chrome
OK : 2
PASS: 6
FAIL: 3
Safari
OK : 2
PASS: 8
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Description
•