[wpt-sync] Sync PR 63376 - Sanitizer: move parseHTML noscript tests into html5lib testcases
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63376 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63376
Details from upstream follow.
Keith Cirkel <keithamus@users.noreply.github.com> wrote:
Sanitizer: move parseHTML noscript tests into html5lib testcases
This drops
sanitizer-api/parsehtml-noscript.htmlin favour of adding test cases tosanitizer-api/sanitizer-parseHTML.html.
| 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=102385
| 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 38 tests and 43 subtests
Status Summary
Firefox
OK : 1[GitHub] 38[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: 34[GitHub] 1979[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]
FAIL: 276
Chrome
OK : 1
PASS: 34
Safari
OK : 1
PASS: 10
FAIL: 24
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /sanitizer-api/parsehtmlunsafe-with-trustedtypes.tentative.html [wpt.fyi]
- Document.parseHTMLUnsafe: createParserOptions can inject a sanitizer config:
FAIL - Document.parseHTMLUnsafe: passing TrustedHTMLParserOptions directly works:
FAIL - Document.parseHTMLUnsafe: createParserOptions returning 0 fails:
FAIL - Document.parseHTMLUnsafe: createParserOptions returning 123 fails:
FAIL - Document.parseHTMLUnsafe: createParserOptions returning "foo" fails:
FAIL
- Document.parseHTMLUnsafe: createParserOptions can inject a sanitizer config:
- /sanitizer-api/sanitizer-javascript-url.html [wpt.fyi]
- setHTMLUnsafe { sanitizer: "default" } default configuration, "<math><a href="javascript:alert(1)"></a></math>":
FAIL - parseHTMLUnsafe { sanitizer: "default" } default configuration, "<math><a href="javascript:alert(1)"></a></math>":
FAIL - setHTMLUnsafe { sanitizer: new Sanitizer() } default configuration, "<math><a href="javascript:alert(1)"></a></math>":
FAIL - parseHTMLUnsafe { sanitizer: new Sanitizer() } default configuration, "<math><a href="javascript:alert(1)"></a></math>":
FAIL - setJavascriptURLs(true) on the default configuration, "<math><a href="javascript:alert(1)"></a></math>":
FAIL
- setHTMLUnsafe { sanitizer: "default" } default configuration, "<math><a href="javascript:alert(1)"></a></math>":
- /sanitizer-api/sanitizer-processing-instructions.html [wpt.fyi]
- setHTMLUnsafe testcase agnostic/0, "<?target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/0, "<?target data?>":
FAIL - setHTML testcase agnostic/0, "<?target data?>":
FAIL - ShadowRoot.setHTML testcase agnostic/0, "<?target data?>":
FAIL - parseHTML testcase agnostic/0, "<?target data?>":
FAIL - parseHTMLUnsafe testcase agnostic/0, "<?target data?>":
FAIL - setHTMLUnsafe testcase agnostic/1, "<?target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/1, "<?target data?>":
FAIL - setHTML testcase agnostic/1, "<?target data?>":
FAIL - ShadowRoot.setHTML testcase agnostic/1, "<?target data?>":
FAIL - parseHTML testcase agnostic/1, "<?target data?>":
FAIL - parseHTMLUnsafe testcase agnostic/1, "<?target data?>":
FAIL - setHTMLUnsafe testcase agnostic/2, "<?Target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/2, "<?Target data?>":
FAIL - parseHTMLUnsafe testcase agnostic/2, "<?Target data?>":
FAIL - setHTMLUnsafe testcase agnostic/3, "<?target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/3, "<?target data?>":
FAIL - parseHTMLUnsafe testcase agnostic/3, "<?target data?>":
FAIL - setHTMLUnsafe testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - setHTML testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - ShadowRoot.setHTML testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - parseHTML testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - parseHTMLUnsafe testcase agnostic/4, "<?target-1 data?><?target-2 data?>":
FAIL - setHTMLUnsafe testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - setHTML testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - ShadowRoot.setHTML testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - parseHTML testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - parseHTMLUnsafe testcase agnostic/5, "<?target-1 data?><?target-2 data?>":
FAIL - setHTMLUnsafe testcase agnostic/6, "<div><?target data?></div>":
FAIL - ShadowRoot.setHTMLUnsafe testcase agnostic/6, "<div><?target data?></div>":
FAIL - setHTML testcase agnostic/6, "<div><?target data?></div>":
FAIL - ShadowRoot.setHTML testcase agnostic/6, "<div><?target data?></div>":
FAIL - parseHTML testcase agnostic/6, "<div><?target data?></div>":
FAIL - parseHTMLUnsafe testcase agnostic/6, "<div><?target data?></div>":
FAIL - setHTMLUnsafe testcase unsafe-only/0, "<?target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase unsafe-only/0, "<?target data?>":
FAIL - parseHTMLUnsafe testcase unsafe-only/0, "<?target data?>":
FAIL - setHTMLUnsafe testcase unsafe-only/1, "<?target data?>":
FAIL - ShadowRoot.setHTMLUnsafe testcase unsafe-only/1, "<?target data?>":
FAIL - parseHTMLUnsafe testcase unsafe-only/1, "<?target data?>":
FAIL - setHTMLUnsafe testcase unsafe-only/2, "<div><?target data?></div>":
FAIL - ShadowRoot.setHTMLUnsafe testcase unsafe-only/2, "<div><?target data?></div>":
FAIL - parseHTMLUnsafe testcase unsafe-only/2, "<div><?target data?></div>":
FAIL - setHTMLUnsafe testcase unsafe-only/3, "<div><?target data?></div>":
FAIL - ShadowRoot.setHTMLUnsafe testcase unsafe-only/3, "<div><?target data?></div>":
FAIL - parseHTMLUnsafe testcase unsafe-only/3, "<div><?target data?></div>":
FAIL
- setHTMLUnsafe testcase agnostic/0, "<?target data?>":
- /sanitizer-api/sethtml-with-declarative-shadow-root.tentative.html [wpt.fyi]
- shadowRoot.delegatesFocus does not propagate to the shadow root when shadowrootdelegatesfocus is removed by sanitizer:
FAIL - shadowRoot.serializable does not propagate to the shadow root when shadowrootserializable is removed by sanitizer:
FAIL - shadowRoot.clonable does not propagate to the shadow root when shadowrootclonable is removed by sanitizer:
FAIL - shadowRoot.referenceTarget does not propagate to the shadow root when shadowrootreferencetarget is removed by sanitizer:
FAIL - shadowRoot.customElementRegistry does not propagate to the shadow root when shadowrootcustomelementregistry is removed by sanitizer:
FAIL - shadowRoot.adoptedStyleSheets does not propagate to the shadow root when shadowrootadoptedstylesheets is removed by sanitizer:
FAIL
- shadowRoot.delegatesFocus does not propagate to the shadow root when shadowrootdelegatesfocus is removed by sanitizer:
- /sanitizer-api/sethtml-with-trustedtypes-createParserOptions-null.tentative.html [wpt.fyi]
- TrustedHTMLParserOptions has no public members when createParserOptions returns null/empty:
FAIL - Element.setHTMLUnsafe: when TrustedHTMLParserOptions has null sanitizer, no sanitization occurs:
FAIL
- TrustedHTMLParserOptions has no public members when createParserOptions returns null/empty:
- /sanitizer-api/sethtml-with-trustedtypes-createParserOptions.tentative.html [wpt.fyi]
- ShadowRoot.setHTMLUnsafe: passing a TrustedHTMLParserOptions overrides default policy:
FAIL - ShadowRoot.setHTMLUnsafe: policy with only createParserOptions allows raw strings when sanitizer is present:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTMLParserOptions without sanitizer still requires createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: exception in default createParserOptions prevents createHTML from running:
FAIL - ShadowRoot.setHTMLUnsafe: default policy createParserOptions with sanitizer prevents createHTML from running:
FAIL - Element.setHTMLUnsafe: passing a TrustedHTMLParserOptions overrides default policy:
FAIL - Element.setHTMLUnsafe: policy with only createParserOptions allows raw strings when sanitizer is present:
FAIL - Element.setHTMLUnsafe: TrustedHTMLParserOptions without sanitizer still requires createHTML:
FAIL - Element.setHTMLUnsafe: exception in default createParserOptions prevents createHTML from running:
FAIL - Element.setHTMLUnsafe: default policy createParserOptions with sanitizer prevents createHTML from running:
FAIL - TrustedHTMLParserOptions applies runScripts option without exposing public members:
FAIL
- ShadowRoot.setHTMLUnsafe: passing a TrustedHTMLParserOptions overrides default policy:
- /sanitizer-api/sethtml-with-trustedtypes-immutable.tentative.html [wpt.fyi]
- createParserOptions doesn't mutate original object:
FAIL - createParserOptions doesn't mutate sanitizer object:
FAIL - TrustedHTMLParserOptions interface has no public members:
FAIL - TrustedHTMLParserOptions with config input applies sanitization without public members:
FAIL - TrustedHTMLParserOptions clone testing with Sanitizer object input:
FAIL - TrustedHTMLParserOptions with Preset string input:
FAIL
- createParserOptions doesn't mutate original object:
- /sanitizer-api/sethtml-with-trustedtypes.tentative.html [wpt.fyi]
- ShadowRoot.setHTMLUnsafe: createParserOptions can inject a sanitizer config:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions can inject a sanitizer:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions can override a sanitizer config:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions returning 0 fails:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions returning 123 fails:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions returning "foo" fails:
FAIL - ShadowRoot.innerHTML: createParserOptions can inject a sanitizer config:
FAIL - ShadowRoot.innerHTML: createParserOptions can inject a sanitizer:
FAIL - ShadowRoot.innerHTML: createParserOptions can override a sanitizer config:
FAIL - ShadowRoot.innerHTML: createParserOptions returning 0 fails:
FAIL - ShadowRoot.innerHTML: createParserOptions returning 123 fails:
FAIL - ShadowRoot.innerHTML: createParserOptions returning "foo" fails:
FAIL - ShadowRoot.beforebegin: createParserOptions can inject a sanitizer config:
FAIL - ShadowRoot.beforebegin: createParserOptions can inject a sanitizer:
FAIL - ShadowRoot.beforebegin: createParserOptions can override a sanitizer config:
FAIL - ShadowRoot.beforebegin: createParserOptions returning 0 fails:
FAIL - ShadowRoot.beforebegin: createParserOptions returning 123 fails:
FAIL - ShadowRoot.beforebegin: createParserOptions returning "foo" fails:
FAIL - ShadowRoot.afterend: createParserOptions can inject a sanitizer config:
FAIL - ShadowRoot.afterend: createParserOptions can inject a sanitizer:
FAIL - ShadowRoot.afterend: createParserOptions can override a sanitizer config:
FAIL - ShadowRoot.afterend: createParserOptions returning 0 fails:
FAIL - ShadowRoot.afterend: createParserOptions returning 123 fails:
FAIL - ShadowRoot.afterend: createParserOptions returning "foo" fails:
FAIL - ShadowRoot.setHTMLUnsafe: createParserOptions with sanitizer prevents createHTML from running:
FAIL - ShadowRoot.setHTMLUnsafe: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: exception in createHTML happens after createParserOptions runs:
FAIL - ShadowRoot.innerHTML: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - ShadowRoot.innerHTML: exception in createHTML happens after createParserOptions runs:
FAIL - ShadowRoot.beforebegin: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - ShadowRoot.beforebegin: exception in createHTML happens after createParserOptions runs:
FAIL - ShadowRoot.afterend: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - ShadowRoot.afterend: exception in createHTML happens after createParserOptions runs:
FAIL - Element.setHTMLUnsafe: createParserOptions can inject a sanitizer config:
FAIL - Element.setHTMLUnsafe: createParserOptions can inject a sanitizer:
FAIL - Element.setHTMLUnsafe: createParserOptions can override a sanitizer config:
FAIL - Element.setHTMLUnsafe: createParserOptions returning 0 fails:
FAIL - Element.setHTMLUnsafe: createParserOptions returning 123 fails:
FAIL - Element.setHTMLUnsafe: createParserOptions returning "foo" fails:
FAIL - Element.innerHTML: createParserOptions can inject a sanitizer config:
FAIL - Element.innerHTML: createParserOptions can inject a sanitizer:
FAIL - Element.innerHTML: createParserOptions can override a sanitizer config:
FAIL - Element.innerHTML: createParserOptions returning 0 fails:
FAIL - Element.innerHTML: createParserOptions returning 123 fails:
FAIL - Element.innerHTML: createParserOptions returning "foo" fails:
FAIL - Element.outerHTML: createParserOptions can inject a sanitizer config:
FAIL - Element.outerHTML: createParserOptions can inject a sanitizer:
FAIL - Element.outerHTML: createParserOptions can override a sanitizer config:
FAIL - Element.outerHTML: createParserOptions returning 0 fails:
FAIL - Element.outerHTML: createParserOptions returning 123 fails:
FAIL - Element.outerHTML: createParserOptions returning "foo" fails:
FAIL - Element.createContextualFragment: createParserOptions can inject a sanitizer config:
FAIL - Element.createContextualFragment: createParserOptions can inject a sanitizer:
FAIL - Element.createContextualFragment: createParserOptions can override a sanitizer config:
FAIL - Element.createContextualFragment: createParserOptions returning 0 fails:
FAIL - Element.createContextualFragment: createParserOptions returning 123 fails:
FAIL - Element.createContextualFragment: createParserOptions returning "foo" fails:
FAIL - Element.afterbegin: createParserOptions can inject a sanitizer config:
FAIL - Element.afterbegin: createParserOptions can inject a sanitizer:
FAIL - Element.afterbegin: createParserOptions can override a sanitizer config:
FAIL - Element.afterbegin: createParserOptions returning 0 fails:
FAIL - Element.afterbegin: createParserOptions returning 123 fails:
FAIL - Element.afterbegin: createParserOptions returning "foo" fails:
FAIL - Element.beforeend: createParserOptions can inject a sanitizer config:
FAIL - Element.beforeend: createParserOptions can inject a sanitizer:
FAIL - Element.beforeend: createParserOptions can override a sanitizer config:
FAIL - Element.beforeend: createParserOptions returning 0 fails:
FAIL - Element.beforeend: createParserOptions returning 123 fails:
FAIL - Element.beforeend: createParserOptions returning "foo" fails:
FAIL - Element.beforebegin: createParserOptions can inject a sanitizer config:
FAIL - Element.beforebegin: createParserOptions can inject a sanitizer:
FAIL - Element.beforebegin: createParserOptions can override a sanitizer config:
FAIL - Element.beforebegin: createParserOptions returning 0 fails:
FAIL - Element.beforebegin: createParserOptions returning 123 fails:
FAIL - Element.beforebegin: createParserOptions returning "foo" fails:
FAIL - Element.afterend: createParserOptions can inject a sanitizer config:
FAIL - Element.afterend: createParserOptions can inject a sanitizer:
FAIL - Element.afterend: createParserOptions can override a sanitizer config:
FAIL - Element.afterend: createParserOptions returning 0 fails:
FAIL - Element.afterend: createParserOptions returning 123 fails:
FAIL - Element.afterend: createParserOptions returning "foo" fails:
FAIL - Element.parseHTMLUnsafe: createParserOptions can inject a sanitizer config:
FAIL - Element.parseHTMLUnsafe: createParserOptions can inject a sanitizer:
FAIL - Element.parseHTMLUnsafe: createParserOptions can override a sanitizer config:
FAIL - Element.parseHTMLUnsafe: createParserOptions can remove a sanitizer:
FAIL - Element.parseHTMLUnsafe: createParserOptions returning 0 fails:
FAIL - Element.parseHTMLUnsafe: createParserOptions returning 123 fails:
FAIL - Element.parseHTMLUnsafe: createParserOptions returning "foo" fails:
FAIL - Element: createContextualFragment with createParserOptions(runScripts=false) does not run scripts:
FAIL - Element.setHTMLUnsafe: createParserOptions with sanitizer prevents createHTML from running:
FAIL - Element.setHTMLUnsafe: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.setHTMLUnsafe: exception in createHTML happens after createParserOptions runs:
FAIL - Element.innerHTML: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.innerHTML: exception in createHTML happens after createParserOptions runs:
FAIL - Element.outerHTML: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.outerHTML: exception in createHTML happens after createParserOptions runs:
FAIL - Element.createContextualFragment: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.createContextualFragment: exception in createHTML happens after createParserOptions runs:
FAIL - Element.afterbegin: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.afterbegin: exception in createHTML happens after createParserOptions runs:
FAIL - Element.beforeend: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.beforeend: exception in createHTML happens after createParserOptions runs:
FAIL - Element.beforebegin: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.beforebegin: exception in createHTML happens after createParserOptions runs:
FAIL - Element.afterend: exception in createParserOptions is rethrown and prevents createHTML:
FAIL - Element.afterend: exception in createHTML happens after createParserOptions runs:
FAIL
- ShadowRoot.setHTMLUnsafe: createParserOptions can inject a sanitizer config:
- /sanitizer-api/sethtml-xml-document-sanitizer.tentative.html [wpt.fyi]
- innerHTML on XML document throws TypeError if default policy provides a sanitizer:
FAIL - outerHTML on XML document throws TypeError if default policy provides a sanitizer:
FAIL - insertAdjacentHTML on XML document throws TypeError if default policy provides a sanitizer:
FAIL - createContextualFragment on XML document throws TypeError if default policy provides a sanitizer:
FAIL - innerHTML on XML document created by DOMParser throws TypeError if default policy provides a sanitizer:
FAIL - innerHTML on XML document from XHR response throws TypeError if default policy provides a sanitizer:
FAIL
- innerHTML on XML document throws TypeError if default policy provides a sanitizer:
- /sanitizer-api/sethtml-xml-document.html [wpt.fyi]
- Testcase #0, shadow inside xmlDoc, shadowroot.setHTML("Hello!"):
FAIL - Testcase #1, shadow inside xmlDoc, shadowroot.setHTML("<br>"):
FAIL - Testcase #2, shadow inside xmlDoc, shadowroot.setHTML("<p>Hi</p>"):
FAIL - Testcase #3, shadow inside xmlDoc, shadowroot.setHTML("<iframe></iframe><p>text</p>"):
FAIL
- Testcase #0, shadow inside xmlDoc, shadowroot.setHTML("Hello!"):
- /sanitizer-api/trustedhtml-unvetted-parser-options-default-createHTML.tentative.html [wpt.fyi]
- Element.setHTMLUnsafe: string with a sanitizer config throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - Element.setHTMLUnsafe: string with a sanitizer config without effect throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - Element.setHTMLUnsafe: string with a Sanitizer throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - Element.setHTMLUnsafe: string with the "default" sanitizer preset throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - Element.setHTMLUnsafe: string with a sanitizer config and runScripts false throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL - Element.setHTMLUnsafe: string with runScripts true throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true throws:
FAIL - Element.setHTMLUnsafe: string with runScripts true and an empty sanitizer config throws without calling createHTML:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true and an empty sanitizer config throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with a sanitizer config throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with a sanitizer config without effect throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with a Sanitizer throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with the "default" sanitizer preset throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with a sanitizer config and runScripts false throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with runScripts true throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true throws:
FAIL - ShadowRoot.setHTMLUnsafe: string with runScripts true and an empty sanitizer config throws without calling createHTML:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true and an empty sanitizer config throws:
FAIL - Document.parseHTMLUnsafe: string with a sanitizer config throws without calling createHTML:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - Document.parseHTMLUnsafe: string with a sanitizer config without effect throws without calling createHTML:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - Document.parseHTMLUnsafe: string with a Sanitizer throws without calling createHTML:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - Document.parseHTMLUnsafe: string with the "default" sanitizer preset throws without calling createHTML:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - Document.parseHTMLUnsafe: string with a sanitizer config and runScripts false throws without calling createHTML:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL
- Element.setHTMLUnsafe: string with a sanitizer config throws without calling createHTML:
- /sanitizer-api/trustedhtml-unvetted-parser-options-default-createParserOptions.tentative.html [wpt.fyi]
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config is allowed when vetted:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true is allowed when vetted:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config is allowed when vetted:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true is allowed when vetted:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config is allowed when vetted:
FAIL
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config is allowed when vetted:
- /sanitizer-api/trustedhtml-unvetted-parser-options-no-enforcement.tentative.html [wpt.fyi]
- Element.setHTMLUnsafe: TrustedHTML with runScripts true is allowed:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true is allowed:
FAIL
- Element.setHTMLUnsafe: TrustedHTML with runScripts true is allowed:
- /sanitizer-api/trustedhtml-unvetted-parser-options-report-only.tentative.html [wpt.fyi]
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config is reported and allowed:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true is reported and allowed:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config is reported and allowed:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true is reported and allowed:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config is reported and allowed:
FAIL
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config is reported and allowed:
- /sanitizer-api/trustedhtml-unvetted-parser-options.tentative.html [wpt.fyi]
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true and an empty sanitizer config throws:
FAIL - Element.setHTMLUnsafe: TrustedHTML with a sanitizer in TrustedHTMLParserOptions is allowed:
FAIL - Element.setHTMLUnsafe: TrustedHTML with runScripts true in TrustedHTMLParserOptions is allowed:
FAIL - Element.setHTMLUnsafe: string with a sanitizer config throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true and an empty sanitizer config throws:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with a sanitizer in TrustedHTMLParserOptions is allowed:
FAIL - ShadowRoot.setHTMLUnsafe: TrustedHTML with runScripts true in TrustedHTMLParserOptions is allowed:
FAIL - ShadowRoot.setHTMLUnsafe: string with a sanitizer config throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config without effect throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a Sanitizer throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with the "default" sanitizer preset throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer config and runScripts false throws:
FAIL - Document.parseHTMLUnsafe: TrustedHTML with a sanitizer in TrustedHTMLParserOptions is allowed:
FAIL - Document.parseHTMLUnsafe: string with a sanitizer config throws:
FAIL
- Element.setHTMLUnsafe: TrustedHTML with a sanitizer config throws:
Description
•