[wpt-sync] Sync PR 35350 - Add XML parser tests for custom elements
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35350 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35350
Details from upstream follow.
Ryosuke Niwa <rniwa@webkit.org> wrote:
Add XML parser tests for custom elements
These tests were written for WebKit: https://commits.webkit.org/253122@main
Trunk WebKit passes all the test cases whereas Gecko passes all but two involving document.open.
Blink fail a bulk of tests requring XML parser to construct custom elements synchronously.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 75 tests and 5 subtests
Status Summary
Firefox
OK : 75
PASS : 757[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub] 760[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
FAIL : 24
Chrome
OK : 73
PASS : 744
CRASH: 2
FAIL : 15
Safari
OK : 74
PASS : 540
FAIL : 230
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /custom-elements/Document-createElement.html [wpt.fyi]
- document.createElement must report a NotSupportedError when the element is adopted into a the document of an iframe during construction:
FAIL - document.createElement must report a NotSupportedError when the element is inserted into a the document of an iframe during construction:
FAIL - document.createElement must not report a NotSupportedError when the element is adopted back from a the document of an iframe during construction:
FAIL
- document.createElement must report a NotSupportedError when the element is adopted into a the document of an iframe during construction:
- /custom-elements/adopted-callback.html [wpt.fyi]
- Moving the shadow host's shadow of a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into a new document must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into a new document must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback:
FAIL - Moving the shadow host's shadow of a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback:
FAIL - Moving the <template>'s content of a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback:
FAIL
- Moving the shadow host's shadow of a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback:
- /custom-elements/reactions/Document.html [wpt.fyi]
- execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element:
FAIL
- execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element:
- /custom-elements/reactions/HTMLElement.html [wpt.fyi]
- translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute:
FAILlinked bug:Bug 1710159 - translate on HTMLElement must enqueue an attributeChanged reaction when replacing an existing attribute:
FAILlinked bug:Bug 1710159
- translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute:
New Tests That Don't Pass
- /custom-elements/Document-createElement.html [wpt.fyi]
- document.createElement must report a NotSupportedError when the element is adopted into a the document of an iframe during construction:
FAIL(Chrome:PASS, Safari:PASS) - document.createElement must report a NotSupportedError when the element is inserted into a the document of an iframe during construction:
FAIL(Chrome:PASS, Safari:PASS) - document.createElement must not report a NotSupportedError when the element is adopted back from a the document of an iframe during construction:
FAIL(Chrome:PASS, Safari:PASS)
- document.createElement must report a NotSupportedError when the element is adopted into a the document of an iframe during construction:
- /custom-elements/adopted-callback.html [wpt.fyi]
- Moving the shadow host's shadow of a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into a new document must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into a new document must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into a cloned document must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into a document created by createHTMLDocument must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into an HTML document created by createDocument must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into the document of an iframe must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the shadow host's shadow of a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS) - Moving the <template>'s content of a custom element from the owner document into an HTML document fetched by XHR must enqueue and invoke adoptedCallback:
FAIL(Chrome:PASS, Safari:PASS)
- Moving the shadow host's shadow of a custom element from the owner document into the document of the template elements must enqueue and invoke adoptedCallback:
- /custom-elements/perform-microtask-checkpoint-before-construction-xml-parser.xhtml [wpt.fyi]
- XML parser must perform a microtask checkpoint before constructing a custom element:
FAIL(Chrome:FAIL, Safari:FAIL)
- XML parser must perform a microtask checkpoint before constructing a custom element:
- /custom-elements/throw-on-dynamic-markup-insertion-counter-construct-xml-parser.xhtml [wpt.fyi]
- document.open(URL) must NOT throw an InvalidStateError when synchronously constructing a custom element:
FAIL(Safari:FAIL)
- document.open(URL) must NOT throw an InvalidStateError when synchronously constructing a custom element:
- /custom-elements/throw-on-dynamic-markup-insertion-counter-reactions-xml-parser.xhtml [wpt.fyi]
- document.open(URL) must NOT throw an InvalidStateError when processing custom element reactions for a synchronous constructed custom element:
FAIL
- document.open(URL) must NOT throw an InvalidStateError when processing custom element reactions for a synchronous constructed custom element:
- /custom-elements/reactions/Animation.html [wpt.fyi]
- Animation.animate must enqueue an attributeChanged reaction when it adds the observed style attribute:
FAIL(Chrome:FAIL, Safari:FAIL) - Animation.animate must enqueue an attributeChanged reaction when it mutates the observed style attribute:
FAIL(Chrome:FAIL, Safari:FAIL)
- Animation.animate must enqueue an attributeChanged reaction when it adds the observed style attribute:
- /custom-elements/reactions/Document.html [wpt.fyi]
- execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element:
FAIL(Chrome:PASS, Safari:PASS)
- execCommand on Document must enqueue a disconnected reaction when deleting a custom element from a contenteditable element:
- /custom-elements/reactions/HTMLElement.html [wpt.fyi]
- translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute:
FAIL(Chrome:PASS, Safari:PASS) - translate on HTMLElement must enqueue an attributeChanged reaction when replacing an existing attribute:
FAIL(Chrome:PASS, Safari:PASS)
- translate on HTMLElement must enqueue an attributeChanged reaction when adding translate content attribute:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4de577477aed
https://hg.mozilla.org/mozilla-central/rev/cd3d126e377f
Description
•