[wpt-sync] Sync PR 42619 - Change expectation for invalid/missing shadowRootMode IDL to null
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42619 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42619
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Change expectation for invalid/missing shadowRootMode IDL to null
Per the spec discussion:
https://github.com/whatwg/html/pull/5465#discussion_r1360590511
this changes the expectation for the tests to be:
document.createElement("template").shadowRootMode === ""
rather than === null.
Note that this CL does not change Chromium's behavior, and as such
I cannot check if there are other tests that implicitly also
do a similar check. More tests might need to change once I (or
someone) implements this new behavior in a browser.Bug: 1379513
Change-Id: I0ea1371d612d524fdecc287f3f1790d601c64982
Reviewed-on: https://chromium-review.googlesource.com/4954120
WPT-Export-Revision: c45fa7e8a8cccf8f1e4841ccc7669b6ad7c0a6be
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 15 subtests
Status Summary
Firefox
OK : 1
PASS: 2
FAIL: 13
Chrome
OK : 1
PASS: 14
FAIL: 1
Safari
OK : 1
PASS: 9
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /shadow-dom/declarative/declarative-shadow-dom-basic.html [wpt.fyi]
- Declarative Shadow DOM: Basic test:
FAILlinked bug:Bug 1676798 - Declarative Shadow DOM: Feature detection:
FAILlinked bug:Bug 1676798 - Declarative Shadow DOM: Multiple roots:
FAILlinked bug:Bug 1676798 - Declarative Shadow DOM: template containing declarative shadow root:
FAILlinked bug:Bug 1676798 - Declarative Shadow DOM: template containing (deeply nested) declarative shadow root:
FAILlinked bug:Bug 1797854 - Declarative Shadow DOM: template containing a template containing declarative shadow root:
FAILlinked bug:Bug 1797854 - Declarative Shadow DOM: template containing declarative shadow root and UA shadow root:
FAILlinked bug:Bug 1676798
- Declarative Shadow DOM: Basic test:
New Tests That Don't Pass
- /shadow-dom/declarative/declarative-shadow-dom-basic.html [wpt.fyi]
- Declarative Shadow DOM: Basic test:
FAIL(Chrome:PASS, Safari:PASS) - Declarative Shadow DOM: Feature detection:
FAIL(Chrome:PASS, Safari:PASS) - Shadowrootmode reflection:
FAIL(Chrome:FAIL, Safari:FAIL) - Declarative Shadow DOM: Fragment parser basic test:
FAIL(Chrome:PASS, Safari:FAIL) - Declarative Shadow DOM: Invalid shadow root attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Declarative Shadow DOM: Closed shadow root attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Declarative Shadow DOM: Missing closing tag:
FAIL(Chrome:PASS, Safari:FAIL) - Declarative Shadow DOM: delegates focus attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Declarative Shadow DOM: Multiple roots:
FAIL(Chrome:PASS, Safari:PASS) - Declarative Shadow DOM: template containing declarative shadow root:
FAIL(Chrome:PASS, Safari:PASS) - Declarative Shadow DOM: template containing (deeply nested) declarative shadow root:
FAIL(Chrome:PASS, Safari:PASS) - Declarative Shadow DOM: template containing a template containing declarative shadow root:
FAIL(Chrome:PASS, Safari:PASS) - Declarative Shadow DOM: template containing declarative shadow root and UA shadow root:
FAIL(Chrome:PASS, Safari:PASS)
- Declarative Shadow DOM: Basic test:
Comment 5•2 years ago
|
||
| bugherder | ||
Description
•