Bug 1712140 - Part 6: Unblock Declarative ShadowDOM tests. r=dom-core,hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D193677
This commit is contained in:
Adam Vandolder 2023-12-07 21:27:11 +00:00
parent c9f1ad5fd2
commit c052314d4e
12 changed files with 9 additions and 2069 deletions

View file

@ -1,2 +0,0 @@
[part-pseudo.html]
expected: FAIL

View file

@ -579,12 +579,6 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[PopStateEvent interface: new PopStateEvent("popstate", { data: {} }) must inherit property "hasUAVisualTransition" with the proper type]
expected: FAIL
[Element interface: document.createElement("noscript") must inherit property "setHTMLUnsafe(DOMString)" with the proper type]
expected: FAIL
[Element interface: calling setHTMLUnsafe(DOMString) on document.createElement("noscript") with too few arguments must throw TypeError]
expected: FAIL
[CloseWatcher interface: existence and properties of interface object]
expected: FAIL
@ -618,12 +612,6 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[CloseWatcher interface: attribute onclose]
expected: FAIL
[ShadowRoot interface: operation setHTMLUnsafe(DOMString)]
expected: FAIL
[Element interface: operation setHTMLUnsafe(DOMString)]
expected: FAIL
[idlharness.https.html?include=(Document|Window)]
[Window interface: window must inherit property "originAgentCluster" with the proper type]
@ -695,18 +683,9 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[Window interface: attribute clientInformation]
expected: FAIL
[Document interface: operation parseHTMLUnsafe(DOMString)]
expected: FAIL
[Document interface: calling parseHTMLUnsafe(DOMString) on iframe.contentDocument with too few arguments must throw TypeError]
expected: FAIL
[Document interface: calling parseHTMLUnsafe(DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[Document interface: calling parseHTMLUnsafe(DOMString) on documentWithHandlers with too few arguments must throw TypeError]
expected: FAIL
[idlharness.https.html?include=HTML.*]
[HTMLVideoElement interface: attribute playsInline]
@ -813,15 +792,3 @@ prefs: [dom.security.featurePolicy.experimental.enabled:true, dom.security.featu
[HTMLDetailsElement interface: document.createElement("details") must inherit property "name" with the proper type]
expected: FAIL
[HTMLTemplateElement interface: attribute shadowRootMode]
expected: FAIL
[HTMLTemplateElement interface: attribute shadowRootDelegatesFocus]
expected: FAIL
[HTMLTemplateElement interface: document.createElement("template") must inherit property "shadowRootMode" with the proper type]
expected: FAIL
[HTMLTemplateElement interface: document.createElement("template") must inherit property "shadowRootDelegatesFocus" with the proper type]
expected: FAIL

View file

@ -1,3 +1,2 @@
[Element-setHTMLUnsafe-04.html]
[setHTMLUnsafe should leave the removed children alone.]
expected: FAIL
[Element-setHTMLUnsafe-04.tentative.html]
prefs: [dom.webcomponents.shadowdom.declarative.enabled:true]

View file

@ -1,6 +1,3 @@
[setHTMLUnsafe-xml.html]
[setHTMLUnsafe should still parse HTML even in XML documents.]
expected: FAIL
[setHTMLUnsafe should still parse HTML even in SVG documents.]
expected: FAIL

View file

@ -1,15 +1,2 @@
[setHTMLUnsafe.html]
[Element: setHTMLUnsafe with no shadowdom.]
expected: FAIL
[Element: setHTMLUnsafe with shadowdom.]
expected: FAIL
[ShadowRoot: setHTMLUnsafe with no shadowdom.]
expected: FAIL
[ShadowRoot: setHTMLUnsafe with shadowdom.]
expected: FAIL
[template.setHTMLUnsafe() should modify template content fragment rather than actual children.]
expected: FAIL
[setHTMLUnsafe.tentative.html]
prefs: [dom.webcomponents.shadowdom.declarative.enabled:true]

View file

@ -0,0 +1 @@
prefs: [dom.webcomponents.shadowdom.declarative.enabled:true]

View file

@ -1,42 +0,0 @@
[declarative-shadow-dom-basic.html]
[Declarative Shadow DOM: Basic test]
expected: FAIL
[Declarative Shadow DOM: Feature detection]
expected: FAIL
[Shadowrootmode reflection]
expected: FAIL
[Declarative Shadow DOM: Fragment parser basic test]
expected: FAIL
[Declarative Shadow DOM: Invalid shadow root attribute]
expected: FAIL
[Declarative Shadow DOM: Closed shadow root attribute]
expected: FAIL
[Declarative Shadow DOM: Missing closing tag]
expected: FAIL
[Declarative Shadow DOM: delegates focus attribute]
expected: FAIL
[Declarative Shadow DOM: Multiple roots]
expected: FAIL
[Declarative Shadow DOM: template containing declarative shadow root]
expected: FAIL
[Declarative Shadow DOM: template containing (deeply nested) declarative shadow root]
expected: FAIL
[Declarative Shadow DOM: template containing a template containing declarative shadow root]
expected: FAIL
[Declarative Shadow DOM: template containing declarative shadow root and UA shadow root]
expected: FAIL
[Shadowrootmode reflection, setter]
expected: FAIL

View file

@ -1,18 +1,5 @@
[declarative-shadow-dom-opt-in.html]
[Non-fragment parsing needs no opt-in]
expected: FAIL
[document.write allowed from synchronous script loaded from main document]
expected: FAIL
[iframe]
expected: FAIL
[iframe, no sandbox]
expected: FAIL
[sandboxed iframe allows declarative Shadow DOM]
expected: FAIL
[iframe with no sandbox allows declarative Shadow DOM]
expected: FAIL
prefs: [dom.webcomponents.shadowdom.declarative.enabled:true]
[document.write disallowed on fresh document]
expected:
[PASS, FAIL]

View file

@ -1,2 +0,0 @@
[innerhtml-before-closing-tag.html]
expected: ERROR

View file

@ -1,6 +0,0 @@
[move-template-before-closing-tag.html]
[Moving the template node during parsing should attach to initial parent (content before observer)]
expected: FAIL
[Moving the template node during parsing should attach to initial parent (content after observer)]
expected: FAIL

View file

@ -1,2 +0,0 @@
[script-access.html]
expected: ERROR