[wpt-sync] Sync PR 46171 - add test for shadowroots falling back to global scope
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46171 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46171
Details from upstream follow.
Keith Cirkel <keithamus@users.noreply.github.com> wrote:
add test for shadowroots falling back to global scope
Following discussions with the WCCG it was deemed undesirable that Scoped Custom Element Registries fall back to the global registry if undefined. If scoped registries desire such a behaviour they can collect the definitions from the global registry and apply them to the local registry.
This test fails in Chrome because it defines the alternate behaviour where the registry does fall back. Scoped registries are a prototype feature without a spec and so this feels like a good feedback channel for the WCCG to validate their desires and the interpretations of the explainer.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 5
Chrome
OK
: 1
PASS
: 4
FAIL
: 1
Safari
OK
: 1
FAIL
: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /custom-elements/scoped-registry/ShadowRoot-innerHTML-upgrade.tentative.html [wpt.fyi]
- Upgrade into autonomous custom element when inserted via innerHTML:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Upgrade into autonomous custom element when definition is added:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Upgrade into customized built-in element when inserted via innerHTML:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Upgrade into customized built-in element when definition is added:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Upgrade into autonomous custom element should not inherit from global registry for missing values:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Upgrade into autonomous custom element when inserted via innerHTML:
https://hg.mozilla.org/mozilla-central/rev/fd7747484792
https://hg.mozilla.org/mozilla-central/rev/6b2ba641fe1c
Description
•