[wpt-sync] Sync PR 62234 - [WebInstall] Remove legacy install URL support from Web Install
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox157 fixed)
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62234 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62234
Details from upstream follow.
Kristin Lee <kristinlee@microsoft.com> wrote:
[WebInstall] Remove legacy install URL support from Web Install
Remove navigator.install(install_url[, manifest_id]) overloads and
WebInstallResult.manifestId.Standard Web IDL dictionary semantics now ignore installurl when
manifest is present and reject calls missing the required manifest.Remove \<install installurl> IDL and reject any remaining uses in
Blink, so the retired attribute reports invalid data instead of
unexpectedly installing the current document.Delete obsolete Mojo, browser service, command, scheduler, and UI
plumbing used only by install document URLs.Preserve navigator and element installation for current documents
and explicit manifest URLs.Port reusable permission, attribution, repair, dialog, and PWA-window
coverage to retained manifest URL paths.Update Blink, browser, WPT, and web-exposed interface tests.
Internal design doc:
https://docs.google.com/document/d/1rGvLhD4SR8Y9M1wVmqgyesPNkbZGU7HOqlttjEFJ5Vo/edit?tab=t.0Test site:
https://kbhlee2121.github.io/pwa/web-install-manifest-url/index.htmlBug: 520025525, 333795265
Change-Id: I67aefeb897ff1490ad541d299cf62a4ab4f3eae6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8265584
Reviewed-by: Lia Hiscock \<liahiscock@microsoft.com>
Reviewed-by: Mike West \<mkwst@chromium.org>
Reviewed-by: Daniel Murphy \<dmurph@chromium.org>
Commit-Queue: Kristin Lee \<kristinlee@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1687363}
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e3d85821a357e99142cd9c9f422c207c0dcc8b05
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 3 subtests
Status Summary
Firefox
OK : 2[GitHub] 4[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, 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[GitHub] 15[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, 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]
Chrome
OK : 2
PASS: 9
FAIL: 2
Safari
OK : 2
FAIL: 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /web-install/navigator-install-bad-inputs.tentative.https.html [wpt.fyi]
- navigator.install(url) rejects with TypeError.:
FAIL(Chrome:FAIL, Safari:FAIL) - navigator.install(url, manifestId) rejects with TypeError.:
FAIL(Chrome:FAIL, Safari:FAIL) - navigator.install({}) rejects with TypeError when manifest is missing.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest: ""}) rejects with TypeError for empty manifest URL.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest: "://invalid"}) rejects with TypeError for invalid manifest URL.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest, manifestId: ""}) rejects with TypeError for empty manifestId.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest, manifestId: "://invalid"}) rejects with TypeError for invalid manifestId.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({installurl}) rejects with TypeError when manifest is missing.:
FAIL(Chrome:PASS, Safari:FAIL)
- navigator.install(url) rejects with TypeError.:
- /web-install/navigator-install-defined.tentative.https.html [wpt.fyi]
- navigator.install() is defined.:
FAIL
- navigator.install() is defined.:
- /web-install/navigator-install-sandboxed-iframe.tentative.https.html [wpt.fyi]
- navigator.install() in sandboxed iframe (allow-scripts) should throw SecurityError.:
FAIL - navigator.install() in sandboxed iframe (allow-scripts allow-same-origin) should throw SecurityError.:
FAIL - navigator.install() in a same-origin iframe should throw InvalidStateError.:
FAIL
- navigator.install() in sandboxed iframe (allow-scripts) should throw SecurityError.:
- /web-install/navigator-install-user-activation.tentative.https.html [wpt.fyi]
- navigator.install() rejects with NotAllowedError without a user activation.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest}) rejects with NotAllowedError without a user activation.:
FAIL(Chrome:PASS, Safari:FAIL) - navigator.install({manifest, installurl}) ignores installurl and rejects with NotAllowedError without a user activation.:
FAIL(Chrome:PASS, Safari:FAIL)
- navigator.install() rejects with NotAllowedError without a user activation.:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9f50795568a4
https://hg.mozilla.org/mozilla-central/rev/bb2807cbc2ed
Description
•