[wpt-sync] Sync PR 63279 - [<install> Element] Make manifest and manifestid attributes non-nullable
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63279 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63279
Details from upstream follow.
Kristin Lee <kristinlee@microsoft.com> wrote:
[<install> Element] Make manifest and manifestid attributes non-nullable
Make HTMLInstallElement.manifest and manifestId non-nullable
USVString attributes, matching other reflected URL attributes.Missing content attributes now return empty strings, and assigning
null stringifies it instead of removing the corresponding attribute.
Update WPT coverage for both attributes and their null assignment
behavior.This follows existing HTML reflected URL attributes that are
non-nullable and expose a missing attribute as an empty string.Bug: 568010593, 333795265
Change-Id: I2cbf503f4c31ab890e901122898f7387fd8061dc
Reviewed-on: https://chromium-review.googlesource.com/8503822
WPT-Export-Revision: 9d8fe5b694c12c63f6202fc56bef5b502a6f56ad
| 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=100760
| 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 24 tests
Status Summary
Firefox
OK : 1[GitHub] 10[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]
PASS: 5[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 12[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 7[GitHub] 32[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 35[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 4
FAIL: 3
Safari
OK : 1
FAIL: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/permission-element/install/display-values.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/parent-image-mask.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/parent-mask.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/sandbox-not-allowed.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/bounded-css-properties.tentative.html [wpt.fyi]
- Properties with values over bounds should be clamped down:
FAIL - Properties with values under bounds should be clamped up:
FAIL
- Properties with values over bounds should be clamped down:
- /html/semantics/permission-element/install/bounded-sizes.tentative.html [wpt.fyi]
- Properties with out-of-bounds values should be corrected:
FAIL - Properties with values in bounds should not be modified:
FAIL - 'Min' properties should not be allowed to go over the maximum allowed values for 'max' properties:
FAIL
- Properties with out-of-bounds values should be corrected:
- /html/semantics/permission-element/install/iframe-not-allowed.tentative.html [wpt.fyi]
- Install element is not allowed in a same-origin iframe:
FAIL - Install element is not allowed in an iframe even with permissions policy:
FAIL - Prefixed install element is not allowed in a same-origin iframe:
FAIL - Prefixed install element is not allowed in an iframe even with permissions policy:
FAIL
- Install element is not allowed in a same-origin iframe:
- /html/semantics/permission-element/install/install-element-feature-detect.tentative.html [wpt.fyi]
- Test HTMLInstallElement existence and instanceof:
FAIL
- Test HTMLInstallElement existence and instanceof:
- /html/semantics/permission-element/install/install-element-invalid-targets.tentative.https.html [wpt.fyi]
- An empty manifest attribute returns invalid_data:
FAIL - A whitespace-only manifest attribute returns invalid_data:
FAIL - A malformed non-empty manifest attribute returns invalid_data:
FAIL - An empty manifestid attribute without a manifest returns invalid_data:
FAIL - A whitespace-only manifestid attribute without a manifest returns invalid_data:
FAIL - A manifestid attribute without a manifest returns invalid_data:
FAIL - An empty manifestid attribute with a manifest returns invalid_data:
FAIL - A whitespace-only manifestid attribute with a manifest returns invalid_data:
FAIL - A malformed non-empty manifestid attribute returns invalid_data:
FAIL
- An empty manifest attribute returns invalid_data:
- /html/semantics/permission-element/install/install-element-url-attributes.tentative.html [wpt.fyi]
- The manifest and manifestId IDL attributes are empty strings when omitted:
FAIL(Chrome:FAIL, Safari:FAIL) - The manifest IDL attribute resolves a relative URL against the document base URL:
FAIL(Chrome:PASS, Safari:FAIL) - The manifest IDL attribute trims HTML whitespace before resolving a relative URL:
FAIL(Chrome:PASS, Safari:FAIL) - The manifestId IDL attribute resolves a relative URL against the document base URL:
FAIL(Chrome:PASS, Safari:FAIL) - The manifestId IDL attribute trims HTML whitespace before resolving a relative URL:
FAIL(Chrome:PASS, Safari:FAIL) - The manifest IDL attribute setter stringifies null:
FAIL(Chrome:FAIL, Safari:FAIL) - The manifestId IDL attribute setter stringifies null:
FAIL(Chrome:FAIL, Safari:FAIL)
- The manifest and manifestId IDL attributes are empty strings when omitted:
- /html/semantics/permission-element/install/invalid-css-properties.tentative.html [wpt.fyi]
- None of the listed properties should be applied:
FAIL
- None of the listed properties should be applied:
- /html/semantics/permission-element/install/negative-offset.tentative.html [wpt.fyi]
- Negative offset should be changed to 0px:
FAIL - Expressions offset min(-50px, 50px) should return at least 0px:
FAIL - Expressions offset clamp(-100px, 1vw, -50px) should return at least 0px:
FAIL
- Negative offset should be changed to 0px:
- /html/semantics/permission-element/install/no-children-rendered.tentative.html [wpt.fyi]
- The install element should have no end tag or contents:
FAIL
- The install element should have no end tag or contents:
- /html/semantics/permission-element/install/no-focus.tentative.html [wpt.fyi]
- Install element is not focusable by script without user activation:
FAIL
- Install element is not focusable by script without user activation:
- /html/semantics/permission-element/install/install-element-with-comment.tentative.html [wpt.fyi]:
FAIL - /html/semantics/permission-element/install/pseudo-elements-in-div.tentative.html [wpt.fyi]:
FAIL - /html/semantics/permission-element/install/pseudo-elements.tentative.html [wpt.fyi]:
FAIL
Tests Disabled in Gecko Infrastructure
- /html/semantics/permission-element/install/display-values.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/parent-image-mask.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/parent-mask.tentative.html [wpt.fyi]:
SKIP - /html/semantics/permission-element/install/sandbox-not-allowed.tentative.html [wpt.fyi]:
SKIP
Comment 4•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7951cd6e4c82
https://hg.mozilla.org/mozilla-central/rev/ea01622b9af2
Description
•