[wpt-sync] Sync PR 63330 - [<install> Element] Rename invalid_data to invalid-data
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 63330 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63330
Details from upstream follow.
Kristin Lee <kristinlee@microsoft.com> wrote:
[<install> Element] Rename invalid_data to invalid-data
Rename the InstallResult enum value exposed by installresult from
"invalid_data" to "invalid-data" to follow web-platform enum naming
conventions.Update Blink, browser, DevTools, WPT, and vendored interface
expectations to use the new token.Bug: 568822818, 454827186, 333795265
Change-Id: I1690b313c8d6eec2f8a2ca0372ae293df48ce9d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8522440
Reviewed-by: Robert Paveza \<Rob.Paveza@microsoft.com>
Reviewed-by: Kunjan Patel \<ksukh@chromium.org>
Commit-Queue: Kristin Lee \<kristinlee@microsoft.com>
Reviewed-by: Lia Hiscock \<liahiscock@microsoft.com>
Reviewed-by: Dibyajyoti Pal \<dibyapal@chromium.org>
Reviewed-by: Alison Maher \<almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1712714}
| 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=101292
| 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: 9[GitHub] 31[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 34[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
FAIL: 9
Safari
OK : 1
FAIL: 9
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(Chrome:FAIL, Safari:FAIL) - A whitespace-only manifest attribute returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - A malformed non-empty manifest attribute returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - An empty manifestid attribute without a manifest returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - A whitespace-only manifestid attribute without a manifest returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - A manifestid attribute without a manifest returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - An empty manifestid attribute with a manifest returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - A whitespace-only manifestid attribute with a manifest returns invalid-data:
FAIL(Chrome:FAIL, Safari:FAIL) - A malformed non-empty manifestid attribute returns invalid-data:
FAIL(Chrome:FAIL, Safari: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 null when omitted:
FAIL - The manifest IDL attribute resolves a relative URL against the document base URL:
FAIL - The manifest IDL attribute trims HTML whitespace before resolving a relative URL:
FAIL - The manifestId IDL attribute resolves a relative URL against the document base URL:
FAIL - The manifestId IDL attribute trims HTML whitespace before resolving a relative URL:
FAIL - The manifestId IDL attribute setter reflects values and removes null:
FAIL
- The manifest and manifestId IDL attributes are null 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/11629ebc822d
https://hg.mozilla.org/mozilla-central/rev/366816168e6f
Description
•