55trusted-types/
2,727 / 2,735 WPT subtests passing
- Failed
- 8
- Timed out
- 0
- Not run
- 0
- Test files
- 222
- Blocking files
- 0
Chrome 2,657 / 2,728 WPT subtests passing on the same files, 9 blocking, 1 without a result
Tests
222 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
DOMParser-parseFromString-regression.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Regression test for TT changes to parseFromString.
DOMParser-parseFromString.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document.innerText assigned via policy (successful HTML transformation).
- document.innerText = null.
DedicatedWorker-block-eval-function-constructor.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Blocked eval in DedicatedWorkerGlobalScope.
- Blocked indirect eval in DedicatedWorkerGlobalScope.
- Blocked Function constructor in DedicatedWorkerGlobalScope.
- Blocked AsyncFunction constructor in DedicatedWorkerGlobalScope.
- Blocked GeneratorFunction constructor in DedicatedWorkerGlobalScope.
- Blocked AsyncGeneratorFunction constructor in DedicatedWorkerGlobalScope.
DedicatedWorker-constructor-from-DedicatedWorker.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Creating a Worker from a string should throw (dedicated worker scope)
- Creating a Worker from a TrustedScriptURL should not throw (dedicated worker scope)
- Creating a Worker from a string with a default policy should not throw (dedicated worker scope)
DedicatedWorker-constructor.https.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Create Worker via ScriptTestUrl
- Block Worker creation via string
- Create Worker via string with default policy.
DedicatedWorker-eval.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- eval(string) in dedicated worker
- indirect eval(string) in dedicated worker
- eval(TrustedScript) in dedicated worker
- indirect eval(TrustedScript) in dedicated worker
- eval(string) with default policy in dedicated worker
- indirect eval(string) with default policy in dedicated worker
- eval(string) with default policy mutation in dedicated worker
- indirect eval(string) with default policy mutation in dedicated worker
DedicatedWorker-importScripts.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- importScripts with TrustedScriptURL works in dedicated worker
- importScripts with untrusted URLs throws in dedicated worker
- null is not a trusted script URL throws in dedicated worker
- importScripts with two URLs, both trusted, in dedicated worker
- importScripts with two URLs, both strings, in dedicated worker
- importScripts with two URLs, one trusted, in dedicated worker
- importScripts with untrusted URLs and default policy works in dedicated worker
- importScripts with one trusted and one untrusted URLs and default policy works in dedicated worker
DedicatedWorker-setTimeout-setInterval.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- DedicatedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
- DedicatedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
- DedicatedWorkerGlobalScope.setTimeout assigned via default policy (successful Script transformation).
- DedicatedWorkerGlobalScope.setInterval assigned via default policy (successful Script transformation).
- DedicatedWorkerGlobalScope.setTimeout assigned with a function handler shouldn't go through default policy.
- DedicatedWorkerGlobalScope.setInterval assigned with a function handler shouldn't go through default policy.
Document-execCommand.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Document.execCommand("insertHTML") works as usual.
- Document.execCommand("paste") works as usual.
Document-parseHTMLUnsafe-respects-current-globals-CSP.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- The helper frame's Document.parseHTMLUnsafe() does not enforce Trusted Types when called from this document.
- This document's Document.parseHTMLUnsafe() enforces Trusted Types when called from the helper frame.
Document-write-appending-line-feed.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- document.write() with TrustedHTML arguments only.
- document.write() with String arguments only.
- document.write() with TrustedHTML for all but one argument.
- document.writeln() with TrustedHTML arguments only.
- document.writeln() with String arguments only.
- document.writeln() with TrustedHTML for all but one argument.
Document-write.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- document.write with html assigned via policy (successful transformation).
- document.writeln with html assigned via policy (successful transformation).
- document.write(TrustedHTML, TrustedHTML)
- document.writeln(TrustedHTML, TrustedHTML)
- document.write(TrustedHTML, String)
- document.writeln(TrustedHTML, String)
- document.write(String, String)
- document.writeln(String, String)
Element-insertAdjacentHTML.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- insertAdjacentHTML with html assigned via policy (successful HTML transformation).
Element-outerHTML.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- outerHTML with html assigned via policy (successful HTML transformation).
Element-setAttribute-respects-Elements-node-documents-globals-CSP-after-adoption-from-TT-realm.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Trusted types are not enforced for setAttributeNode and setAttributeNS after moving the target node from a TT-realm to a non-TT realm for iframe.srcdoc
- Trusted types are not enforced for setAttributeNode and setAttributeNS after moving the target node from a TT-realm to a non-TT realm for script.src
- Trusted types are not enforced for setAttributeNode and setAttributeNS after moving the target node from a TT-realm to a non-TT realm for script.href
- Trusted types are not enforced for setAttributeNode and setAttributeNS after moving the target node from a TT-realm to a non-TT realm for script.xlink:href
Element-setAttribute-respects-Elements-node-documents-globals-CSP-after-adoption-from-non-TT-realm.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=iframe; Parent=div; Attribute=srcdoc
- setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=div; Attribute=src
- setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=svg; Attribute=href
- setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=svg; Attribute=xlink:href
Element-setAttribute.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- script.src assigned via policy (successful ScriptURL transformation)
- iframe.srcdoc assigned via policy (successful HTML transformation)
- script.src assigned via policy (successful script transformation)
- a.rel accepts strings
- a.rel accepts null
Element-setAttributeNS.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Element.setAttributeNS assigned via policy (successful HTML transformation)
- Element.setAttributeNS assigned via policy (successful Script transformation)
- Element.setAttributeNS assigned via policy (successful ScriptURL transformation)
- Element.setAttributeNS accepts a URL on <svg:image xlink:href/>
Element-toggleAttribute.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- TT should not interfere with toggleAttribute on an event handler
- TT should not interfere with toggleAttribute on an iframe srcdoc
GlobalEventHandlers-onclick.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- a.setAttribute('onclick') sets a trusted script.
- a.setAttribute('onclick') sets an unsuitable trusted type.
- a.setAttribute('click') sets a test string.
HTMLElement-generic.html 72 / 72 passingChrome 72 / 720 failedClean
72 passing subtests
- TT disabled: script.src = TrustedScript on a connected element
- TT disabled: script.src = TrustedScript on a non-connected element
- TT disabled: script.src = String on a connected element
- TT disabled: script.src = String on a non-connected element
- TT disabled: div.innerHTML = TrustedHTML on a connected element
- TT disabled: div.innerHTML = TrustedHTML on a non-connected element
- TT disabled: div.innerHTML = String on a connected element
- TT disabled: div.innerHTML = String on a non-connected element
- TT disabled: iframe.srcdoc = TrustedHTML on a connected element
- TT disabled: iframe.srcdoc = TrustedHTML on a non-connected element
- TT disabled: iframe.srcdoc = String on a connected element
- TT disabled: iframe.srcdoc = String on a non-connected element
- TT disabled: script.text = TrustedScript on a connected element
- TT disabled: script.text = TrustedScript on a non-connected element
- TT disabled: script.text = String on a connected element
- TT disabled: script.text = String on a non-connected element
- TT disabled: script.innerText = TrustedScript on a connected element
- TT disabled: script.innerText = TrustedScript on a non-connected element
- TT disabled: script.innerText = String on a connected element
- TT disabled: script.innerText = String on a non-connected element
- TT disabled: script.textContent = TrustedScript on a connected element
- TT disabled: script.textContent = TrustedScript on a non-connected element
- TT disabled: script.textContent = String on a connected element
- TT disabled: script.textContent = String on a non-connected element
- TT enabled: script.src = TrustedScript on a connected element
- TT enabled: script.src = TrustedScript on a non-connected element
- TT enabled: script.src = String on a connected element
- TT enabled: script.src = String on a non-connected element
- TT enabled: div.innerHTML = TrustedHTML on a connected element
- TT enabled: div.innerHTML = TrustedHTML on a non-connected element
- TT enabled: div.innerHTML = String on a connected element
- TT enabled: div.innerHTML = String on a non-connected element
- TT enabled: iframe.srcdoc = TrustedHTML on a connected element
- TT enabled: iframe.srcdoc = TrustedHTML on a non-connected element
- TT enabled: iframe.srcdoc = String on a connected element
- TT enabled: iframe.srcdoc = String on a non-connected element
- TT enabled: script.text = TrustedScript on a connected element
- TT enabled: script.text = TrustedScript on a non-connected element
- TT enabled: script.text = String on a connected element
- TT enabled: script.text = String on a non-connected element
- TT enabled: script.innerText = TrustedScript on a connected element
- TT enabled: script.innerText = TrustedScript on a non-connected element
- TT enabled: script.innerText = String on a connected element
- TT enabled: script.innerText = String on a non-connected element
- TT enabled: script.textContent = TrustedScript on a connected element
- TT enabled: script.textContent = TrustedScript on a non-connected element
- TT enabled: script.textContent = String on a connected element
- TT enabled: script.textContent = String on a non-connected element
- TT enabled: script.src = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.src = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.src = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.src = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: div.innerHTML = TrustedHTML on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: div.innerHTML = TrustedHTML on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: div.innerHTML = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: div.innerHTML = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: iframe.srcdoc = TrustedHTML on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: iframe.srcdoc = TrustedHTML on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: iframe.srcdoc = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: iframe.srcdoc = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.text = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.text = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.text = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.text = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.innerText = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.innerText = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.innerText = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.innerText = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.textContent = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.textContent = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.textContent = String on a connected element after removing the "require-trusted-types-for 'script' directive
- TT enabled: script.textContent = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
HTMLScriptElement-internal-slot.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Test TT application when manipulating <script> elements during loading.
- Script set via .textContent executes on a connected HTMLScriptElement.
- Script set via .textContent executes on an unconnected HTMLScriptElement.
- Script set via .innerText executes on a connected HTMLScriptElement.
- Script set via .innerText executes on an unconnected HTMLScriptElement.
- Setting .src to a plain string should throw an exception and not modify the script state, on an unconnected script element.
- Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on an unconnected script element.
- Setting .src to a plain string should throw an exception and not modify the script state, on a connected script element.
- Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on a onnected script element.
Node-multiple-arguments-tt-enforced.html 90 / 90 passingChrome 90 / 900 failedClean
90 passing subtests
- replaceWith('createScript';) on <div> should pass
- after('createScript';) on <div> should pass
- before('createScript';) on <div> should pass
- append('createScript';) on <div> should pass
- prepend('createScript';) on <div> should pass
- replaceWith('createScript #1';,'#2;') on <div> should pass
- after('createScript #1';,'#2;') on <div> should pass
- before('createScript #1';,'#2;') on <div> should pass
- append('createScript #1';,'#2;') on <div> should pass
- prepend('createScript #1';,'#2;') on <div> should pass
- replaceWith('plain text';) on <div> should pass
- after('plain text';) on <div> should pass
- before('plain text';) on <div> should pass
- append('plain text';) on <div> should pass
- prepend('plain text';) on <div> should pass
- replaceWith('plain text #1';,'plain text #2';) on <div> should pass
- after('plain text #1';,'plain text #2';) on <div> should pass
- before('plain text #1';,'plain text #2';) on <div> should pass
- append('plain text #1';,'plain text #2';) on <div> should pass
- prepend('plain text #1';,'plain text #2';) on <div> should pass
- replaceWith([object Text]) on <div> should pass
- after([object Text]) on <div> should pass
- before([object Text]) on <div> should pass
- append([object Text]) on <div> should pass
- prepend([object Text]) on <div> should pass
- replaceWith([object Text],[object Text]) on <div> should pass
- after([object Text],[object Text]) on <div> should pass
- before([object Text],[object Text]) on <div> should pass
- append([object Text],[object Text]) on <div> should pass
- prepend([object Text],[object Text]) on <div> should pass
- replaceWith('mixed';,[object Text]) on <div> should pass
- after('mixed';,[object Text]) on <div> should pass
- before('mixed';,[object Text]) on <div> should pass
- append('mixed';,[object Text]) on <div> should pass
- prepend('mixed';,[object Text]) on <div> should pass
- replaceWith('mixed';,'script';) on <div> should pass
- after('mixed';,'script';) on <div> should pass
- before('mixed';,'script';) on <div> should pass
- append('mixed';,'script';) on <div> should pass
- prepend('mixed';,'script';) on <div> should pass
- replaceWith([object Text],'script';) on <div> should pass
- after([object Text],'script';) on <div> should pass
- before([object Text],'script';) on <div> should pass
- append([object Text],'script';) on <div> should pass
- prepend([object Text],'script';) on <div> should pass
- replaceWith('createScript';) on <script> should pass
- after('createScript';) on <script> should pass
- before('createScript';) on <script> should pass
- append('createScript';) on <script> should pass
- prepend('createScript';) on <script> should pass
- replaceWith('createScript #1';,'#2;') on <script> should pass
- after('createScript #1';,'#2;') on <script> should pass
- before('createScript #1';,'#2;') on <script> should pass
- append('createScript #1';,'#2;') on <script> should pass
- prepend('createScript #1';,'#2;') on <script> should pass
- replaceWith('plain text';) on <script> should pass
- after('plain text';) on <script> should pass
- before('plain text';) on <script> should pass
- append('plain text';) on <script> should pass
- prepend('plain text';) on <script> should pass
- replaceWith('plain text #1';,'plain text #2';) on <script> should pass
- after('plain text #1';,'plain text #2';) on <script> should pass
- before('plain text #1';,'plain text #2';) on <script> should pass
- append('plain text #1';,'plain text #2';) on <script> should pass
- prepend('plain text #1';,'plain text #2';) on <script> should pass
- replaceWith([object Text]) on <script> should pass
- after([object Text]) on <script> should pass
- before([object Text]) on <script> should pass
- append([object Text]) on <script> should pass
- prepend([object Text]) on <script> should pass
- replaceWith([object Text],[object Text]) on <script> should pass
- after([object Text],[object Text]) on <script> should pass
- before([object Text],[object Text]) on <script> should pass
- append([object Text],[object Text]) on <script> should pass
- prepend([object Text],[object Text]) on <script> should pass
- replaceWith('mixed';,[object Text]) on <script> should pass
- after('mixed';,[object Text]) on <script> should pass
- before('mixed';,[object Text]) on <script> should pass
- append('mixed';,[object Text]) on <script> should pass
- prepend('mixed';,[object Text]) on <script> should pass
- replaceWith('mixed';,'script';) on <script> should pass
- after('mixed';,'script';) on <script> should pass
- before('mixed';,'script';) on <script> should pass
- append('mixed';,'script';) on <script> should pass
- prepend('mixed';,'script';) on <script> should pass
- replaceWith([object Text],'script';) on <script> should pass
- after([object Text],'script';) on <script> should pass
- before([object Text],'script';) on <script> should pass
- append([object Text],'script';) on <script> should pass
- prepend([object Text],'script';) on <script> should pass
Node-multiple-arguments.html 90 / 90 passingChrome 90 / 900 failedClean
90 passing subtests
- replaceWith('createScript';) on <div> should pass
- after('createScript';) on <div> should pass
- before('createScript';) on <div> should pass
- append('createScript';) on <div> should pass
- prepend('createScript';) on <div> should pass
- replaceWith('createScript #1';,'#2;') on <div> should pass
- after('createScript #1';,'#2;') on <div> should pass
- before('createScript #1';,'#2;') on <div> should pass
- append('createScript #1';,'#2;') on <div> should pass
- prepend('createScript #1';,'#2;') on <div> should pass
- replaceWith('plain text';) on <div> should pass
- after('plain text';) on <div> should pass
- before('plain text';) on <div> should pass
- append('plain text';) on <div> should pass
- prepend('plain text';) on <div> should pass
- replaceWith('plain text #1';,'plain text #2';) on <div> should pass
- after('plain text #1';,'plain text #2';) on <div> should pass
- before('plain text #1';,'plain text #2';) on <div> should pass
- append('plain text #1';,'plain text #2';) on <div> should pass
- prepend('plain text #1';,'plain text #2';) on <div> should pass
- replaceWith([object Text]) on <div> should pass
- after([object Text]) on <div> should pass
- before([object Text]) on <div> should pass
- append([object Text]) on <div> should pass
- prepend([object Text]) on <div> should pass
- replaceWith([object Text],[object Text]) on <div> should pass
- after([object Text],[object Text]) on <div> should pass
- before([object Text],[object Text]) on <div> should pass
- append([object Text],[object Text]) on <div> should pass
- prepend([object Text],[object Text]) on <div> should pass
- replaceWith('mixed';,[object Text]) on <div> should pass
- after('mixed';,[object Text]) on <div> should pass
- before('mixed';,[object Text]) on <div> should pass
- append('mixed';,[object Text]) on <div> should pass
- prepend('mixed';,[object Text]) on <div> should pass
- replaceWith('mixed';,'script';) on <div> should pass
- after('mixed';,'script';) on <div> should pass
- before('mixed';,'script';) on <div> should pass
- append('mixed';,'script';) on <div> should pass
- prepend('mixed';,'script';) on <div> should pass
- replaceWith([object Text],'script';) on <div> should pass
- after([object Text],'script';) on <div> should pass
- before([object Text],'script';) on <div> should pass
- append([object Text],'script';) on <div> should pass
- prepend([object Text],'script';) on <div> should pass
- replaceWith('createScript';) on <script> should pass
- after('createScript';) on <script> should pass
- before('createScript';) on <script> should pass
- append('createScript';) on <script> should pass
- prepend('createScript';) on <script> should pass
- replaceWith('createScript #1';,'#2;') on <script> should pass
- after('createScript #1';,'#2;') on <script> should pass
- before('createScript #1';,'#2;') on <script> should pass
- append('createScript #1';,'#2;') on <script> should pass
- prepend('createScript #1';,'#2;') on <script> should pass
- replaceWith('plain text';) on <script> should pass
- after('plain text';) on <script> should pass
- before('plain text';) on <script> should pass
- append('plain text';) on <script> should pass
- prepend('plain text';) on <script> should pass
- replaceWith('plain text #1';,'plain text #2';) on <script> should pass
- after('plain text #1';,'plain text #2';) on <script> should pass
- before('plain text #1';,'plain text #2';) on <script> should pass
- append('plain text #1';,'plain text #2';) on <script> should pass
- prepend('plain text #1';,'plain text #2';) on <script> should pass
- replaceWith([object Text]) on <script> should pass
- after([object Text]) on <script> should pass
- before([object Text]) on <script> should pass
- append([object Text]) on <script> should pass
- prepend([object Text]) on <script> should pass
- replaceWith([object Text],[object Text]) on <script> should pass
- after([object Text],[object Text]) on <script> should pass
- before([object Text],[object Text]) on <script> should pass
- append([object Text],[object Text]) on <script> should pass
- prepend([object Text],[object Text]) on <script> should pass
- replaceWith('mixed';,[object Text]) on <script> should pass
- after('mixed';,[object Text]) on <script> should pass
- before('mixed';,[object Text]) on <script> should pass
- append('mixed';,[object Text]) on <script> should pass
- prepend('mixed';,[object Text]) on <script> should pass
- replaceWith('mixed';,'script';) on <script> should pass
- after('mixed';,'script';) on <script> should pass
- before('mixed';,'script';) on <script> should pass
- append('mixed';,'script';) on <script> should pass
- prepend('mixed';,'script';) on <script> should pass
- replaceWith([object Text],'script';) on <script> should pass
- after([object Text],'script';) on <script> should pass
- before([object Text],'script';) on <script> should pass
- append([object Text],'script';) on <script> should pass
- prepend([object Text],'script';) on <script> should pass
Range-createContextualFragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- range.createContextualFragment assigned via policy (successful HTML transformation).
SVGScriptElement-internal-slot.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test TT application when manipulating <script> elements during loading.
ServiceWorker-block-eval-function-constructor.https.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Blocked eval in ServiceWorkerGlobalScope.
- Blocked indirect eval in ServiceWorkerGlobalScope.
- Blocked Function constructor in ServiceWorkerGlobalScope.
- Blocked AsyncFunction constructor in ServiceWorkerGlobalScope.
- Blocked GeneratorFunction constructor in ServiceWorkerGlobalScope.
- Blocked AsyncGeneratorFunction constructor in ServiceWorkerGlobalScope.
ServiceWorker-eval.https.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- eval(string) in service worker
- indirect eval(string) in service worker
- eval(TrustedScript) in service worker
- indirect eval(TrustedScript) in service worker
- eval(string) with default policy in service worker
- indirect eval(string) with default policy in service worker
- eval(string) with default policy mutation in service worker
- indirect eval(string) with default policy mutation in service worker
ServiceWorker-importScripts.https.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- importScripts with TrustedScriptURL works in service worker
- importScripts with untrusted URLs throws in service worker
- null is not a trusted script URL throws in service worker
- importScripts with two URLs, both trusted, in service worker
- importScripts with two URLs, both strings, in service worker
- importScripts with two URLs, one trusted, in service worker
- importScripts with untrusted URLs and default policy works in service worker
- importScripts with one trusted and one untrusted URLs and default policy works in service worker
ServiceWorkerContainer-register-from-DedicatedWorker.https.html 4 / 4 passingChrome 1 / 10 failedClean
4 passing subtests
- WorkerNavigator exposed in dedicated worker
- register() with TrustedScriptURL works in dedicated worker
- register() fails with plain string in dedicated worker
- register() fails with plain string in dedicated worker with a default policy
ServiceWorkerContainer-register-from-ServiceWorker.https.html 4 / 4 passingChrome 1 / 10 failedClean
4 passing subtests
- WorkerNavigator exposed in service worker
- register() with TrustedScriptURL works in service worker
- register() fails with plain string in service worker
- register() fails with plain string in service worker with a default policy
ServiceWorkerContainer-register.https.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Create ServiceWorker via ScriptTestUrl
- Block ServiceWorker creation via String
- Create ServiceWorker via string with default policy.
TrustedType-AttributeNodes.html 33 / 33 passingChrome 33 / 330 failedClean
33 passing subtests
- Set attribute via attribute node on div.src.
- Set attribute via attributenode.value on div.src.
- Set attribute via NamedNodeMap.setNamedItem on div.src.
- Set attribute via attribute node on div.srcdoc.
- Set attribute via attributenode.value on div.srcdoc.
- Set attribute via NamedNodeMap.setNamedItem on div.srcdoc.
- Set attribute via attributenode.value on div.onclick.
- Set attribute via NamedNodeMap.setNamedItem on div.onclick.
- Set attribute via attribute node on div.bla.
- Set attribute via attributenode.value on div.bla.
- Set attribute via NamedNodeMap.setNamedItem on div.bla.
- Set attribute via attribute node on script.src.
- Set attribute via attributenode.value on script.src.
- Set attribute via NamedNodeMap.setNamedItem on script.src.
- Set attribute via attribute node on script.srcdoc.
- Set attribute via attributenode.value on script.srcdoc.
- Set attribute via NamedNodeMap.setNamedItem on script.srcdoc.
- Set attribute via attributenode.value on script.onclick.
- Set attribute via NamedNodeMap.setNamedItem on script.onclick.
- Set attribute via attribute node on script.bla.
- Set attribute via attributenode.value on script.bla.
- Set attribute via NamedNodeMap.setNamedItem on script.bla.
- Set attribute via attribute node on iframe.src.
- Set attribute via attributenode.value on iframe.src.
- Set attribute via NamedNodeMap.setNamedItem on iframe.src.
- Set attribute via attribute node on iframe.srcdoc.
- Set attribute via attributenode.value on iframe.srcdoc.
- Set attribute via NamedNodeMap.setNamedItem on iframe.srcdoc.
- Set attribute via attributenode.value on iframe.onclick.
- Set attribute via NamedNodeMap.setNamedItem on iframe.onclick.
- Set attribute via attribute node on iframe.bla.
- Set attribute via attributenode.value on iframe.bla.
- Set attribute via NamedNodeMap.setNamedItem on iframe.bla.
TrustedTypePolicy-CSP-no-name.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- No name list given - policy creation fails.
TrustedTypePolicy-CSP-wildcard.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- CSP supports wildcards.
TrustedTypePolicy-createXXX.html 29 / 29 passingChrome 29 / 290 failedClean
29 passing subtests
- calling undefined callbacks throws
- Attributes without type constraints will work as before.
- trustedTypes.createPolicy(.., null) creates empty policy.
- TestPolicyTrustedHTML0 (TrustedHTML: s => s)
- TestPolicyTrustedHTML1 (TrustedHTML: s => null)
- TestPolicyTrustedHTML2 (TrustedHTML: s => "well, " + s)
- TestPolicyTrustedHTML3 (TrustedHTML: s => { throw new Error() })
- TestPolicyTrustedHTML4 (TrustedHTML: callback_to_capture_this(s) { return String(this); })
- TestPolicyTrustedHTML5 (TrustedHTML: s => { aGlobalVarForSideEffectTesting = s; return s })
- TestPolicyTrustedHTML6 (TrustedHTML: s => aGlobalVarForSideEffectTesting + s)
- TestPolicyTrustedHTML7 (TrustedHTML: function () { [native code] })
- TestPolicyTrustedHTML8 (TrustedHTML: s => aGlobalFunction(s))
- TestPolicyTrustedScript0 (TrustedScript: s => s)
- TestPolicyTrustedScript1 (TrustedScript: s => null)
- TestPolicyTrustedScript2 (TrustedScript: s => "well, " + s)
- TestPolicyTrustedScript3 (TrustedScript: s => { throw new Error() })
- TestPolicyTrustedScript4 (TrustedScript: callback_to_capture_this(s) { return String(this); })
- TestPolicyTrustedScript5 (TrustedScript: s => { aGlobalVarForSideEffectTesting = s; return s })
- TestPolicyTrustedScript6 (TrustedScript: s => aGlobalVarForSideEffectTesting + s)
- TestPolicyTrustedScript7 (TrustedScript: function () { [native code] })
- TestPolicyTrustedScript8 (TrustedScript: s => aGlobalFunction(s))
- TestPolicyTrustedScriptURL0 (TrustedScriptURL: s => s)
- TestPolicyTrustedScriptURL1 (TrustedScriptURL: s => null)
- TestPolicyTrustedScriptURL2 (TrustedScriptURL: s => s + "#duck")
- TestPolicyTrustedScriptURL3 (TrustedScriptURL: s => { throw new Error() })
- TestPolicyTrustedScriptURL4 (TrustedScriptURL: callback_to_capture_this(s) { return String(this); })
- TestPolicyTrustedScriptURL5 (TrustedScriptURL: s => s + "#" + aGlobalVarForSideEffectTesting)
- TestPolicyTrustedScriptURL6 (TrustedScriptURL: function () { [native code] })
- TestPolicyTrustedScriptURL7 (TrustedScriptURL: s => anotherGlobalFunction(s))
TrustedTypePolicyFactory-constants.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- trustedTypes.emptyHTML returns the intended value.
- trustedTypes.emptyHTML cannot be redefined.
- trustedTypes.emptyHTML cannot be redefined via defineProperty.
- trustedTypes.emptyScript returns the intended value.
- trustedTypes.emptyScript cannot be redefined.
- trustedTypes.emptyScript cannot be redefined via defineProperty.
TrustedTypePolicyFactory-createPolicy-createXYZTests.html 28 / 28 passingChrome 28 / 280 failedClean
28 passing subtests
- html = identity function
- html = null
- html = string + global string
- html = identity function, global string changed
- html = callback that throws
- html = this bound to an object
- html = this without bind
- html - calling undefined callback throws
- createHTML defined - calling undefined callbacks throws
- script = identity function
- script = null
- script = string + global string
- script = identity function, global string changed
- script = callback that throws
- script = this bound to an object
- script = this without bind
- script - calling undefined callback throws
- createScript defined - calling undefined callbacks throws
- script_url = identity function
- script_url = null
- script_url = string + global string
- script_url = identity function, global string changed
- script_url = callback that throws
- script_url = this bound to an object
- script_url = this without bind
- script_url - calling undefined callback throws
- createScriptURL defined - calling undefined callbacks throws
- Arbitrary number of arguments
TrustedTypePolicyFactory-createPolicy-cspTests-case.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Can create policy with name 'SomeName'
- Can create a second policy with name 'SomeName'
TrustedTypePolicyFactory-createPolicy-cspTests-case2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Cannot create a policy when CSP lists 'none'
TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- No name list given - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-none-name.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Can create policy with name 'SomeName'
- Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-none.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Cannot create policy with name 'SomeName' - policy creation throws
- Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Can create policy with name 'SomeName'
- Can create a second policy with name 'SomeName'
- Can create policy with name 'default'
TrustedTypePolicyFactory-createPolicy-cspTests-none.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Cannot create policy with name 'SomeName' - policy creation throws
- Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Wildcard given - policy creation works
TrustedTypePolicyFactory-createPolicy-cspTests.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Allowed-name policy creation works.
- Another allowed-name policy creation works.
- Non-allowed name policy creation throws.
- Duplicate name policy creation throws.
TrustedTypePolicyFactory-createPolicy-non-tt-policy-name.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Creating an empty policy name works.
- Creating policy names made of a single ASCII character works.
- Creating policy names made of multiple ASCII characters works.
- Creating policy names containing a non-ASCII BMP character works.
- Creating policy names containing a non-BMP character works.
TrustedTypePolicyFactory-createPolicy-unenforced.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Duplicate policy names should be tolerated (unless in enforcing mode)
TrustedTypePolicyFactory-defaultPolicy.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- defaultPolicy with no default created is not an error
- defaultPolicy returns the correct default policy
- defaultPolicy is a read-only property
TrustedTypePolicyFactory-getAttributeType-namespace.html 21 / 21 passingChrome 21 / 210 failedClean
21 passing subtests
- 0: getAttributeType with full namespace info.
- 0: getAttributeType with element namespace and empty attribute namespace
- 0: getAttributeType without namespaces.
- 0: getAttributeType with undefined and empty namespace.
- 0: getAttributeType with empty and undefined namespace.
- 0: getAttributeType with empty namespaces.
- 0: getAttributeType with element namespace and empty attribute namespace.
- 1: getAttributeType with full namespace info.
- 1: getAttributeType with element namespace and empty attribute namespace
- 1: getAttributeType without namespaces.
- 1: getAttributeType with undefined and empty namespace.
- 1: getAttributeType with empty and undefined namespace.
- 1: getAttributeType with empty namespaces.
- 1: getAttributeType with element namespace and empty attribute namespace.
- 2: getAttributeType with full namespace info.
- 2: getAttributeType with element namespace and empty attribute namespace
- 2: getAttributeType without namespaces.
- 2: getAttributeType with undefined and empty namespace.
- 2: getAttributeType with empty and undefined namespace.
- 2: getAttributeType with empty namespaces.
- 2: getAttributeType with element namespace and empty attribute namespace.
TrustedTypePolicyFactory-getAttributeType-svg.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- trustedTypes.getAttributeType html script[href]
- trustedTypes.getAttributeType svg script[href]
- trustedTypes.getAttributeType svg script[href] xlink href
- trustedTypes.getAttributeType svg script[href] other href
TrustedTypePolicyFactory-getAttributeType.html 23 / 23 passingChrome 23 / 230 failedClean
23 passing subtests
- getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "null") == "TrustedScript"
- getAttributeType( "g", "ondblclick", "http://www.w3.org/2000/svg", "null") == "TrustedScript"
- getAttributeType( "mrow", "onmousedown", "http://www.w3.org/1998/Math/MathML", "null") == "TrustedScript"
- getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "TrustedHTML"
- getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "null") == "TrustedScriptURL"
- getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "null") == "TrustedScriptURL"
- getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "http://www.w3.org/1999/xlink") == "TrustedScriptURL"
- getAttributeType( "foo", "onmouseup", "https://example.com/namespace", "null") == "null"
- getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
- getAttributeType( "DIV", "ondoesnotexist", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "DIV", "data-onclick", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "DIV", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "iframe", "srcdoc", "https://example.com/namespace", "null") == "null"
- getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
- getAttributeType( "IFRAME", "data-srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "DIV", "src", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "script", "src", "https://example.com/namespace", "null") == "null"
- getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
- getAttributeType( "SCRIPT", "data-src", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "g", "href", "http://www.w3.org/2000/svg", "null") == "null"
- getAttributeType( "SCRIPT", "href", "http://www.w3.org/1999/xhtml", "null") == "null"
- getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "https://example.com/namespace") == "null"
- getAttributeType( "script", "src", "http://www.w3.org/2000/svg", "null") == "null"
TrustedTypePolicyFactory-isXXX.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- TrustedTypePolicyFactory.isHTML requires the object to be created via policy.
- TrustedTypePolicyFactory.isScript requires the object to be created via policy.
- TrustedTypePolicyFactory.isScriptURL requires the object to be created via policy.
- TrustedTypePolicyFactory.isXXX should accept anything without throwing.
Window-TrustedTypes.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- factory = window.trustedTypes
- factory construction fails
Window-block-eval-function-constructor.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Blocked eval in Window.
- Blocked indirect eval in Window.
- Blocked Function constructor in Window.
- Blocked AsyncFunction constructor in Window.
- Blocked GeneratorFunction constructor in Window.
- Blocked AsyncGeneratorFunction constructor in Window.
Window-setTimeout-setInterval-default-policy-before-csp.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- setTimeout() runs the default policy and then blocks the rewritten string handler
- setInterval() runs the default policy and then blocks the rewritten string handler
Window-setTimeout-setInterval.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Window.setTimeout assigned via policy (successful Script transformation).
- Window.setInterval assigned via policy (successful Script transformation).
- Window.setTimeout assigned via default policy (successful Script transformation).
- Window.setInterval assigned via default policy (successful Script transformation).
- Window.setTimeout assigned with a function handler shouldn't go through default policy.
- Window.setInterval assigned with a function handler shouldn't go through default policy.
block-Document-execCommand.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Document.execCommand("insertHTML") throws.
- Document.execCommand("insertHTML") works with a TrustedHTML argument.
- Document.execCommand("paste") works as usual."
- Document.execCommand("paste") works with a TrustedHTML argument.
- Document.execCommand("insertHTML") works as usual with a default policy.
- Document.execCommand("paste") works as usual with a default policy.
block-string-assignment-to-DOMParser-parseFromString.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- document.innerText assigned via policy (successful HTML transformation).
- `document.innerText = string` throws.
- 'document.innerText = null' throws
- 'document.innerText = string' assigned via default policy (successful HTML transformation).
- 'document.innerText = null' assigned via default policy does not throw
block-string-assignment-to-DedicatedWorker-setTimeout-setInterval.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- DedicatedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
- `DedicatedWorkerGlobalScope.setTimeout(string)` throws.
- `DedicatedWorkerGlobalScope.setTimeout(null)` throws.
- DedicatedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
- `DedicatedWorkerGlobalScope.setInterval(string)` throws.
- `DedicatedWorkerGlobalScope.setInterval(null)` throws.
- `DedicatedWorkerGlobalScope.setTimeout(string)`, `DedicatedWorkerGlobalScope.setInterval(string)` via default policy (successful Script transformation).
- `DedicatedWorkerGlobalScope.setTimeout(null)`, `DedicatedWorkerGlobalScope.setInterval(null)` via default policy (successful Script transformation).
- DedicatedWorkerGlobalScope.setTimeout and DedicatedWorkerGlobalScope.setInterval pass the correct sink to the default policy
block-string-assignment-to-Document-parseHTMLUnsafe.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Document.parseHTMLUnsafe assigned via policy (successful HTML transformation).
- `Document.parseHTMLUnsafe(string)` throws.
- 'Document.parseHTMLUnsafe(null)' throws
- 'Document.parseHTMLUnsafe(string)' assigned via default policy (successful HTML transformation).
- 'Document.parseHTMLUnsafe(null)' assigned via default policy does not throw
block-string-assignment-to-Document-write.html 20 / 20 passingChrome 20 / 200 failedClean
20 passing subtests
- document.write with html assigned via policy (successful URL transformation).
- document.write with multiple trusted arguments.
- document.writeln with html assigned via policy (successful URL transformation).
- document.writeln with multiple trusted arguments.
- `document.write(string)` throws
- `document.write(string, string)` throws
- `document.write(string, TrustedHTML)` throws
- `document.writeln(string)` throws
- `document.writeln(string, string)` throws
- `document.writeln(string, TrustedHTML)` throws
- `document.write(null)` throws
- `document.writeln(null)` throws
- `document.write(string)` observes default policy
- `document.write(string, string)` observes default policy
- `document.write(string, TrustedHTML)` observes default policy
- `document.write` passes the correct sink string to the default policy
- `document.writeln(string)` observes default policy
- `document.writeln(string, string)` observes default policy
- `document.writeln(string, TrustedHTML)` observes default policy
- `document.writeln` passes the correct sink string to the default policy
block-string-assignment-to-Element-insertAdjacentHTML.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- insertAdjacentHTML with html assigned via policy (successful HTML transformation).
- insertAdjacentHTML(TrustedHTML) throws SyntaxError DOMException when position invalid.
- `insertAdjacentHTML(string)` throws.
- `insertAdjacentHTML(string)` still throws TypeError when position invalid.
- `insertAdjacentHTML(null)` throws.
- `insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).
- `insertAdjacentHTML(null)` assigned via default policy does not throw.
block-string-assignment-to-Element-outerHTML.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- outerHTML with html assigned via policy (successful HTML transformation).
- `outerHTML = TrustedHTML` throws NoModificationAllowedError when parent is a document.
- `outerHTML = string` throws.
- `outerHTML = string` throws TypeError even when parent is a document.
- `outerHTML = null` throws.
- `outerHTML = string` assigned via default policy (successful HTML transformation).
- `outerHTML = null` assigned via default policy does not throw
block-string-assignment-to-Element-setAttribute.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- script.src accepts only TrustedScriptURL
- iframe.srcdoc accepts only TrustedHTML
- div.onclick accepts only TrustedScript
- `Script.prototype.setAttribute.SrC = string` throws.
- script.src accepts string and null after default policy was created.
- script.src's mutationobservers receive the default policy's value.
- iframe.srcdoc's mutationobservers receive the default policy's value.
- div.onclick's mutationobservers receive the default policy's value.
- iframe.srcdoc accepts string and null after default policy was created.
- div.onclick accepts string and null after default policy was created.
- a.rel accepts a Trusted Type
- a.rel accepts strings
- a.rel accepts null
- `script.src = setAttributeNode(embed.src)` with string works.
block-string-assignment-to-Element-setAttributeNS.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Element.setAttributeNS assigned via policy (successful HTML transformation)
- Element.setAttributeNS assigned via policy (successful Script transformation)
- Element.setAttributeNS assigned via policy (successful ScriptURL transformation)
- Element.setAttributeNS accepts untrusted string for non-specced accessor
- Element.setAttributeNS accepts null for non-specced accessor
- Assigning TrustedScriptURL to <svg:script xlink:href=...> works
- Blocking non-TrustedScriptURL assignment to <svg:script xlink:href=...> works
- Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "SRCDOC" (ns=null) for "iframe" element (ns=http://www.w3.org/1999/xhtml).
- Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "SRC" (ns=null) for "script" element (ns=http://www.w3.org/1999/xhtml).
- Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "HREF" (ns=null) for "script" element (ns=http://www.w3.org/2000/svg).
- Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "HREF" (ns=http://www.w3.org/1999/xlink) for "script" element (ns=http://www.w3.org/2000/svg).
block-string-assignment-to-Element-setHTMLUnsafe.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- element.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).
- `element.setHTMLUnsafe(string)` throws.
- `element.setHTMLUnsafe(null)` throws.
- `element.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).
- `element.setHTMLUnsafe(string)` assigned via default policy does not throw
block-string-assignment-to-HTMLElement-generic.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- script.src accepts only TrustedScriptURL
- div.innerHTML accepts only TrustedHTML
- iframe.srcdoc accepts only TrustedHTML
- script.src accepts string and null after default policy was created
- div.innerHTML accepts string and null after default policy was created
- iframe.srcdoc accepts string and null after default policy was created
- script.text accepts only TrustedScript
- script.innerText accepts only TrustedScript
- script.textContent accepts only TrustedScript
block-string-assignment-to-HTMLIFrameElement-srcdoc.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- iframe.srcdoc assigned via policy (successful HTML transformation).
- `iframe.srcdoc = string` throws.
- `iframe.srcdoc = null` throws.
- `iframe.srcdoc = string` assigned via default policy (successful HTML transformation).
- `iframe.srcdoc = null` assigned via default policy does not throw
block-string-assignment-to-Range-createContextualFragment.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- range.createContextualFragment assigned via policy (successful HTML transformation).
- `range.createContextualFragment(string)` throws.
- `range.createContextualFragment(null)` throws.
- `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).
- `range.createContextualFragment(null)` assigned via default policy does not throw.
block-string-assignment-to-ShadowRoot-innerHTML.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- shadowRoot.innerHTML = html assigned via policy (successful HTML transformation).
- `shadowRoot.innerHTML = string` throws.
- `shadowRoot.innerHTML = null` throws.
- `shadowRoot.innerHTML = string` assigned via default policy (successful HTML transformation).
- `shadowRoot.innerHTML = string` assigned via default policy does not throw
block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).
- `shadowRoot.setHTMLUnsafe(string)` throws.
- `shadowRoot.setHTMLUnsafe(null)` throws.
- `shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).
- `shadowRoot.setHTMLUnsafe(string)` assigned via default policy does not throw
block-string-assignment-to-Window-setTimeout-setInterval.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Window.setTimeout assigned via policy (successful Script transformation).
- `Window.setTimeout(string)` throws.
- `Window.setTimeout(null)` throws.
- Window.setInterval assigned via policy (successful Script transformation).
- `Window.setInterval(string)` throws.
- `Window.setInterval(null)` throws.
- `Window.setTimeout(string)`, `Window.setInterval(string)` via default policy (successful Script transformation).
- `Window.setTimeout(null)`, `Window.setInterval(null)` via default policy (successful Script transformation).
- Window.setTimeout and Window.setInterval pass the correct sink to the default policy
block-string-assignment-to-attribute-via-attribute-node.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Sanity check: Setting non-TT attributes still works.
- Set script.src via textContent
- Set script.src via nodeValue
- Set iframe.srcdoc via textContent
- Set iframe.srcdoc via nodeValue
- Set div.onclick via textContent
- Set div.onclick via nodeValue
block-string-assignment-to-text-and-url-sinks.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Setting HTMLDivElement.innerHTML to a plain string
- Setting HTMLScriptElement.innerHTML to a plain string
- Setting SVGScriptElement.innerHTML to a plain string
- Setting HTMLDivElement.innerText to a plain string
- Setting HTMLScriptElement.innerText to a plain string
- Setting SVGScriptElement.innerText to a plain string
- Setting HTMLDivElement.textContent to a plain string
- Setting HTMLScriptElement.textContent to a plain string
- Setting SVGScriptElement.textContent to a plain string
- Setting HTMLScriptElement.text to a plain string
- Setting HTMLScriptElement.src to a plain string
block-text-node-insertion-into-script-element.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Regression test: Bypass via insertAdjacentText, initial comment.
- Regression test: Bypass via insertAdjacentText, textContent.
- Regression test: Bypass via appendChild into off-document script element.
- Regression test: Bypass via appendChild into live script element.
- Spot tests around script + innerHTML interaction.
- Prep for subsequent tests: Create default policy.
- Test that default policy applies.
- Test that default policy applies to module script.
- Test a failing default policy.
- Spot tests around script + innerHTML interaction with default policy.
block-text-node-insertion-into-svg-script-element.html 8 / 9 passingChrome 9 / 91 failedWith failures
- ¶
FAILTest that default policy applies with module script. svg:script
assert_equals: no exception thrown expected (object) null but got (string) "'done' received, but unexpected counts: expected 1 != actual 0 (done)"
8 passing subtests
- Regression test: Bypass via insertAdjacentText, textContent. svg:script
- Regression test: Bypass via appendChild into off-document script element. svg:script
- Regression test: Bypass via appendChild into live script element. svg:script
- Spot tests around script + innerHTML interaction.
- Prep for subsequent tests: Create default policy.
- Test that default policy applies. svg:script
- Test a failing default policy. svg:script
- Spot tests around script + innerHTML interaction with default policy.
csp-block-eval.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- eval with plain string throws (both block).
- eval with TrustedScript throws (script-src blocks).
default-policy-callback-arguments.html 5 / 5 passingChrome 4 / 50 failedClean
5 passing subtests
- Test callback arguments, case Element innerHTML
- Test callback arguments, case HTMLScriptElement textContent
- Test callback arguments, case HTMLScriptElement src
- Test callback arguments, case eval
- Test callback arguments, case Function
default-policy-report-only.html 19 / 19 passingChrome 19 / 190 failedClean
19 passing subtests
- Count SecurityPolicyViolation events.
- script.src no default policy
- div.innerHTML no default policy
- script.text no default policy
- script.src default
- script.src null
- script.src throw
- script.src undefined
- script.src typeerror
- div.innerHTML default
- div.innerHTML null
- div.innerHTML throw
- div.innerHTML undefined
- div.innerHTML typeerror
- script.text default
- script.text null
- script.text throw
- script.text undefined
- script.text typeerror
default-policy.html 19 / 19 passingChrome 19 / 190 failedClean
19 passing subtests
- Count SecurityPolicyViolation events.
- script.src no default policy
- div.innerHTML no default policy
- script.text no default policy
- script.src default
- script.src null
- script.src throw
- script.src undefined
- script.src typeerror
- div.innerHTML default
- div.innerHTML null
- div.innerHTML throw
- div.innerHTML undefined
- div.innerHTML typeerror
- script.text default
- script.text null
- script.text throw
- script.text undefined
- script.text typeerror
empty-default-policy-report-only.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Count SecurityPolicyViolation events.
- script.src default
- div.innerHTML default
- script.text default
empty-default-policy.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Count SecurityPolicyViolation events.
- script.src default
- div.innerHTML default
- script.text default
eval-csp-no-tt.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string works.
- indirect eval of string works.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string works.
eval-csp-tt-default-policy-mutate.html 12 / 12 passingChrome 12 / 120 failedClean
/trusted-types/eval-csp-tt-default-policy-mutate.html?default OK 6 / 6
6 passing subtests
- eval of string where default policy mutates value throws.
- indirect eval of string where default policy mutates value throws.
- Function constructor with string where default policy mutates value throws.
- AsyncFunction constructor with string where default policy mutates value throws.
- GeneratorFunction constructor with string where default policy mutates value throws.
- AsyncGeneratorFunction constructor with string where default policy mutates value throws.
/trusted-types/eval-csp-tt-default-policy-mutate.html?trusted-types-eval OK 6 / 6
6 passing subtests
- eval of string where default policy mutates value throws.
- indirect eval of string where default policy mutates value throws.
- Function constructor with string where default policy mutates value throws.
- AsyncFunction constructor with string where default policy mutates value throws.
- GeneratorFunction constructor with string where default policy mutates value throws.
- AsyncGeneratorFunction constructor with string where default policy mutates value throws.
eval-csp-tt-default-policy.html 48 / 48 passingChrome 48 / 480 failedClean
/trusted-types/eval-csp-tt-default-policy.html?default OK 24 / 24
24 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string works.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string works.
- Function constructor of all TrustedScripts works.
- Function constructor of all strings works.
- Function constructor of string and TrustedScript works.
- Async Function constructor of TrustedScript works.
- AsyncFunction constructor of string works.
- AsyncFunction constructor of all TrustedScripts works.
- AsyncFunction constructor of all strings works.
- AsyncFunction constructor of string and TrustedScript works.
- GeneratorFunction constructor of TrustedScript works.
- GeneratorFunction constructor of string works.
- GeneratorFunction constructor of all TrustedScripts works.
- GeneratorFunction constructor of all strings works.
- GeneratorFunction constructor of string and TrustedScript works.
- AsyncGeneratorFunction constructor of TrustedScript works.
- AsyncGeneratorFunction constructor of string works.
- AsyncGeneratorFunction constructor of all TrustedScripts works.
- AsyncGeneratorFunction constructor of all strings works.
- AsyncGeneratorFunction constructor of string and TrustedScript works.
/trusted-types/eval-csp-tt-default-policy.html?trusted-types-eval OK 24 / 24
24 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string works.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string works.
- Function constructor of all TrustedScripts works.
- Function constructor of all strings works.
- Function constructor of string and TrustedScript works.
- Async Function constructor of TrustedScript works.
- AsyncFunction constructor of string works.
- AsyncFunction constructor of all TrustedScripts works.
- AsyncFunction constructor of all strings works.
- AsyncFunction constructor of string and TrustedScript works.
- GeneratorFunction constructor of TrustedScript works.
- GeneratorFunction constructor of string works.
- GeneratorFunction constructor of all TrustedScripts works.
- GeneratorFunction constructor of all strings works.
- GeneratorFunction constructor of string and TrustedScript works.
- AsyncGeneratorFunction constructor of TrustedScript works.
- AsyncGeneratorFunction constructor of string works.
- AsyncGeneratorFunction constructor of all TrustedScripts works.
- AsyncGeneratorFunction constructor of all strings works.
- AsyncGeneratorFunction constructor of string and TrustedScript works.
eval-csp-tt-no-default-policy.html 26 / 26 passingChrome 22 / 260 failedClean
/trusted-types/eval-csp-tt-no-default-policy.html?default OK 13 / 13
13 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string fails.
- indirect eval of string fails.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string fails.
- Function constructor of all TrustedScripts works.
- Function constructor of all strings fails.
- Function constructor of string and TrustedScript fails.
- AsyncFunction constructor of string fails.
- GeneratorFunction constructor of string fails.
- AsyncGeneratorFunction constructor of string fails.
/trusted-types/eval-csp-tt-no-default-policy.html?trusted-types-eval OK 13 / 13
13 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string fails.
- indirect eval of string fails.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string fails.
- Function constructor of all TrustedScripts works.
- Function constructor of all strings fails.
- Function constructor of string and TrustedScript fails.
- AsyncFunction constructor of string fails.
- GeneratorFunction constructor of string fails.
- AsyncGeneratorFunction constructor of string fails.
eval-function-constructor-untrusted-arguments-and-applying-default-policy.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- plain string at index 0 (default policy modifying the function text).
- plain string at index 1 (default policy modifying the function text).
- plain string at index 2 (default policy modifying the function text).
- plain string at index 3 (default policy modifying the function text).
- plain string at index 0 (default policy leaving the function text unchanged).
- plain string at index 1 (default policy leaving the function text unchanged).
- plain string at index 2 (default policy leaving the function text unchanged).
- plain string at index 3 (default policy leaving the function text unchanged).
- TrustedScript with forged toString() at index 0 (default policy not invoked).
- TrustedScript with forged toString() at index 1 (default policy not invoked).
- TrustedScript with forged toString() at index 2 (default policy not invoked).
- TrustedScript with forged toString() at index 3 (default policy not invoked).
eval-function-constructor-untrusted-arguments-and-default-policy-throwing.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- EvalError thrown if the callback of the default policy throws an error (eval).
- EvalError thrown if the callback of the default policy throws an error (new Function).
eval-function-constructor.html 65 / 65 passingChrome 60 / 650 failedClean
65 passing subtests
- Function constructor with mixed plain and trusted strings, mask #0
- AsyncFunction constructor with mixed plain and trusted strings, mask #0
- GeneratorFunction constructor with mixed plain and trusted strings, mask #0
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #0
- Function constructor with mixed plain and trusted strings, mask #1
- AsyncFunction constructor with mixed plain and trusted strings, mask #1
- GeneratorFunction constructor with mixed plain and trusted strings, mask #1
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #1
- Function constructor with mixed plain and trusted strings, mask #2
- AsyncFunction constructor with mixed plain and trusted strings, mask #2
- GeneratorFunction constructor with mixed plain and trusted strings, mask #2
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #2
- Function constructor with mixed plain and trusted strings, mask #3
- AsyncFunction constructor with mixed plain and trusted strings, mask #3
- GeneratorFunction constructor with mixed plain and trusted strings, mask #3
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #3
- Function constructor with mixed plain and trusted strings, mask #4
- AsyncFunction constructor with mixed plain and trusted strings, mask #4
- GeneratorFunction constructor with mixed plain and trusted strings, mask #4
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #4
- Function constructor with mixed plain and trusted strings, mask #5
- AsyncFunction constructor with mixed plain and trusted strings, mask #5
- GeneratorFunction constructor with mixed plain and trusted strings, mask #5
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #5
- Function constructor with mixed plain and trusted strings, mask #6
- AsyncFunction constructor with mixed plain and trusted strings, mask #6
- GeneratorFunction constructor with mixed plain and trusted strings, mask #6
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #6
- Function constructor with mixed plain and trusted strings, mask #7
- AsyncFunction constructor with mixed plain and trusted strings, mask #7
- GeneratorFunction constructor with mixed plain and trusted strings, mask #7
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #7
- Function constructor with mixed plain and trusted strings, mask #8
- AsyncFunction constructor with mixed plain and trusted strings, mask #8
- GeneratorFunction constructor with mixed plain and trusted strings, mask #8
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #8
- Function constructor with mixed plain and trusted strings, mask #9
- AsyncFunction constructor with mixed plain and trusted strings, mask #9
- GeneratorFunction constructor with mixed plain and trusted strings, mask #9
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #9
- Function constructor with mixed plain and trusted strings, mask #10
- AsyncFunction constructor with mixed plain and trusted strings, mask #10
- GeneratorFunction constructor with mixed plain and trusted strings, mask #10
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #10
- Function constructor with mixed plain and trusted strings, mask #11
- AsyncFunction constructor with mixed plain and trusted strings, mask #11
- GeneratorFunction constructor with mixed plain and trusted strings, mask #11
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #11
- Function constructor with mixed plain and trusted strings, mask #12
- AsyncFunction constructor with mixed plain and trusted strings, mask #12
- GeneratorFunction constructor with mixed plain and trusted strings, mask #12
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #12
- Function constructor with mixed plain and trusted strings, mask #13
- AsyncFunction constructor with mixed plain and trusted strings, mask #13
- GeneratorFunction constructor with mixed plain and trusted strings, mask #13
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #13
- Function constructor with mixed plain and trusted strings, mask #14
- AsyncFunction constructor with mixed plain and trusted strings, mask #14
- GeneratorFunction constructor with mixed plain and trusted strings, mask #14
- AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #14
- Function constructor with mixed plain and trusted strings, mask #15
- Function constructor with trusted strings, and a forged toString() for the one at index 0
- Function constructor with trusted strings, and a forged toString() for the one at index 1
- Function constructor with trusted strings, and a forged toString() for the one at index 2
- Function constructor with trusted strings, and a forged toString() for the one at index 3
eval-no-csp-no-tt-default-policy.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string works and does not call a default policy.
- indirect eval of string works and does not call a default policy.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of string works and does not call a default policy.
eval-no-csp-no-tt.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- eval of TrustedScript works.
- indirect eval of TrustedScript works.
- eval of string works.
- indirect eval of string works.
- eval of !TrustedScript and !string works.
- Function constructor of TrustedScript works.
- Function constructor of all TrustedScripts works.
- Function constructor of string works.
- Function constructor of all strings works.
- Function constructor of string and TrustedScript works.
eval-with-non-trusted-script-object.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Function constructor of stringified object and TrustedScript fails.
eval-with-permissive-csp.html 9 / 9 passingChrome 8 / 90 failedClean
9 passing subtests
- eval with plain string with Trusted Types and permissive CSP throws (no type).
- indirect eval with plain string with Trusted Types and permissive CSP throws (no type).
- Function constructor with plain string with Trusted Types and permissive CSP throws (no type).
- eval with TrustedScript and permissive CSP works.
- indirect eval with TrustedScript and permissive CSP works.
- new Function with TrustedScript and permissive CSP works.
- eval with plain string with Trusted Types and permissive CSP works with default policy.
- indirect eval with plain string with Trusted Types and permissive CSP works with default policy.
- new Function with plain string default policy and permissive CSP works with default policy.
get-trusted-types-compliant-attribute-value.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Test sink for div.setAttributeNS(null, onclick)
- Test sink for iframe.setAttributeNS(null, srcdoc)
- Test sink for script.setAttributeNS(null, src)
- Test sink for script.setAttributeNS(null, href)
- Test sink for script.setAttributeNS(http://www.w3.org/1999/xlink, href)
idlharness.window.js 109 / 109 passingChrome 109 / 1090 failedClean
109 passing subtests
- idl_test setup
- idl_test validation
- Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined
- Partial interface mixin WindowOrWorkerGlobalScope: member names are unique
- Partial interface Window: member names are unique
- Window includes GlobalEventHandlers: member names are unique
- Window includes WindowEventHandlers: member names are unique
- Window includes WindowOrWorkerGlobalScope: member names are unique
- WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
- Window includes AnimationFrameProvider: member names are unique
- Window includes WindowSessionStorage: member names are unique
- Window includes WindowLocalStorage: member names are unique
- TrustedHTML interface: existence and properties of interface object
- TrustedHTML interface object length
- TrustedHTML interface object name
- TrustedHTML interface: existence and properties of interface prototype object
- TrustedHTML interface: existence and properties of interface prototype object's "constructor" property
- TrustedHTML interface: existence and properties of interface prototype object's @@unscopables property
- TrustedHTML interface: stringifier
- TrustedHTML interface: operation toJSON()
- TrustedHTML must be primary interface of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
- Stringification of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
- TrustedHTML interface: window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string") must inherit property "toJSON()" with the proper type
- TrustedHTML interface: toJSON operation on window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
- TrustedScript interface: existence and properties of interface object
- TrustedScript interface object length
- TrustedScript interface object name
- TrustedScript interface: existence and properties of interface prototype object
- TrustedScript interface: existence and properties of interface prototype object's "constructor" property
- TrustedScript interface: existence and properties of interface prototype object's @@unscopables property
- TrustedScript interface: stringifier
- TrustedScript interface: operation toJSON()
- TrustedScript must be primary interface of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
- Stringification of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
- TrustedScript interface: window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string") must inherit property "toJSON()" with the proper type
- TrustedScript interface: toJSON operation on window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
- TrustedScriptURL interface: existence and properties of interface object
- TrustedScriptURL interface object length
- TrustedScriptURL interface object name
- TrustedScriptURL interface: existence and properties of interface prototype object
- TrustedScriptURL interface: existence and properties of interface prototype object's "constructor" property
- TrustedScriptURL interface: existence and properties of interface prototype object's @@unscopables property
- TrustedScriptURL interface: stringifier
- TrustedScriptURL interface: operation toJSON()
- TrustedScriptURL must be primary interface of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
- Stringification of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
- TrustedScriptURL interface: window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string") must inherit property "toJSON()" with the proper type
- TrustedScriptURL interface: toJSON operation on window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
- TrustedHTMLParserOptions interface: existence and properties of interface object
- TrustedHTMLParserOptions interface object length
- TrustedHTMLParserOptions interface object name
- TrustedHTMLParserOptions interface: existence and properties of interface prototype object
- TrustedHTMLParserOptions interface: existence and properties of interface prototype object's "constructor" property
- TrustedHTMLParserOptions interface: existence and properties of interface prototype object's @@unscopables property
- TrustedTypePolicyFactory interface: existence and properties of interface object
- TrustedTypePolicyFactory interface object length
- TrustedTypePolicyFactory interface object name
- TrustedTypePolicyFactory interface: existence and properties of interface prototype object
- TrustedTypePolicyFactory interface: existence and properties of interface prototype object's "constructor" property
- TrustedTypePolicyFactory interface: existence and properties of interface prototype object's @@unscopables property
- TrustedTypePolicyFactory interface: operation createPolicy(DOMString, optional TrustedTypePolicyOptions)
- TrustedTypePolicyFactory interface: operation isHTML(any)
- TrustedTypePolicyFactory interface: operation isScript(any)
- TrustedTypePolicyFactory interface: operation isScriptURL(any)
- TrustedTypePolicyFactory interface: attribute emptyHTML
- TrustedTypePolicyFactory interface: attribute emptyScript
- TrustedTypePolicyFactory interface: operation getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?)
- TrustedTypePolicyFactory interface: operation getPropertyType(DOMString, DOMString, optional DOMString?)
- TrustedTypePolicyFactory interface: attribute defaultPolicy
- TrustedTypePolicyFactory must be primary interface of window.trustedTypes
- Stringification of window.trustedTypes
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "createPolicy(DOMString, optional TrustedTypePolicyOptions)" with the proper type
- TrustedTypePolicyFactory interface: calling createPolicy(DOMString, optional TrustedTypePolicyOptions) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isHTML(any)" with the proper type
- TrustedTypePolicyFactory interface: calling isHTML(any) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScript(any)" with the proper type
- TrustedTypePolicyFactory interface: calling isScript(any) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScriptURL(any)" with the proper type
- TrustedTypePolicyFactory interface: calling isScriptURL(any) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyHTML" with the proper type
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyScript" with the proper type
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?)" with the proper type
- TrustedTypePolicyFactory interface: calling getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getPropertyType(DOMString, DOMString, optional DOMString?)" with the proper type
- TrustedTypePolicyFactory interface: calling getPropertyType(DOMString, DOMString, optional DOMString?) on window.trustedTypes with too few arguments must throw TypeError
- TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "defaultPolicy" with the proper type
- TrustedTypePolicy interface: existence and properties of interface object
- TrustedTypePolicy interface object length
- TrustedTypePolicy interface object name
- TrustedTypePolicy interface: existence and properties of interface prototype object
- TrustedTypePolicy interface: existence and properties of interface prototype object's "constructor" property
- TrustedTypePolicy interface: existence and properties of interface prototype object's @@unscopables property
- TrustedTypePolicy interface: attribute name
- TrustedTypePolicy interface: operation createHTML(DOMString, any...)
- TrustedTypePolicy interface: operation createScript(DOMString, any...)
- TrustedTypePolicy interface: operation createScriptURL(DOMString, any...)
- TrustedTypePolicy interface: operation createParserOptions(optional SetHTMLUnsafeOptions, any...)
- TrustedTypePolicy must be primary interface of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })
- Stringification of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })
- TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "name" with the proper type
- TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createHTML(DOMString, any...)" with the proper type
- TrustedTypePolicy interface: calling createHTML(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
- TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScript(DOMString, any...)" with the proper type
- TrustedTypePolicy interface: calling createScript(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
- TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScriptURL(DOMString, any...)" with the proper type
- TrustedTypePolicy interface: calling createScriptURL(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
- TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createParserOptions(optional SetHTMLUnsafeOptions, any...)" with the proper type
- TrustedTypePolicy interface: calling createParserOptions(optional SetHTMLUnsafeOptions, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
- Window interface: attribute trustedTypes
inheriting-csp-for-local-schemes.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- require-trusted-types-for directive should be inherited in local srcdoc frames
- trusted-types directive should be inherited in local srcdoc frames
- require-trusted-types-for directive should be inherited in local data frames
- trusted-types directive should be inherited in local data frames
- require-trusted-types-for directive should be inherited in local blob frames
- trusted-types directive should be inherited in local blob frames
- require-trusted-types-for directive should be inherited in local about:blank frames
- trusted-types directive should be inherited in local about:blank frames
- require-trusted-types-for directive should not be inherited in local blank.html frames
- trusted-types directive should not be inherited in local blank.html frames
legacy-trusted-script-urls.html 4 / 4 passingChrome 0 / 40 failedClean
4 passing subtests
- getPropertyType() with legacy TrustedScriptURLs properties return null.
- getAttributeType() with legacy TrustedScriptURLs attributes return null.
- Legacy TrustedScriptURLs properties accept arbitrary strings.
- Legacy TrustedScriptURLs attributes accept arbitrary strings.
legacy-trusted-scripts.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Legacy sinks for TrustedScript accept arbitrary strings.
modify-attributes-in-callback.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Ensure the right attributes are modified.
- Ensure the deleted attributes is modified.
- Ensure the right attributes are modified (setAttributeNS).
- Ensure the deleted attributes is modified (setAttributeNS).
- Ensure toggleAttribute results in an empty attribute.
- Ensure setAttribute results in right attribute value.
- Ensure setAttributeNS results in right attribute value.
- Ensure setAttributeNode throws InUseAttributeError when callback assigns attributes.
- Ensure setAttributeNodeNS throws InUseAttributeError when callback assigns attributes.
no-require-trusted-types-for-report-only.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- script.src without trusted types
- div.innerHTML without trusted types
- script.text without trusted types
- script.src with trusted types
- div.innerHTML with trusted types
- script.text with trusted types
- script.src empty default
- div.innerHTML empty default
- script.text empty default
no-require-trusted-types-for.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- script.src without trusted types
- div.innerHTML without trusted types
- script.text without trusted types
- script.src with trusted types
- div.innerHTML with trusted types
- script.text with trusted types
- script.src empty default
- div.innerHTML empty default
- script.text empty default
policy-without-return-value.sub.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- createHTML with a policy that returns undefined DOMParser
- createHTML with a policy that returns undefined iframe.srcdoc
- createScript with a policy that returns undefined <div onload>
- createScriptURL with a policy that returns undefined script.src
require-trusted-types-for-TypeError-belongs-to-the-global-object-realm.html 2 / 2 passingChrome 1 / 20 failedClean
2 passing subtests
- Setting innerHTML on a node inserted by the parser.
- Setting innerHTML on a node adopted from a subframe.
require-trusted-types-for-report-only.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Require trusted types for 'script' block create HTML.
- Require trusted types for 'script' block create script.
- Require trusted types for 'script' block create script URL.
- Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.
require-trusted-types-for.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Require trusted types for 'script' block create HTML.
- Require trusted types for 'script' block create script.
- Require trusted types for 'script' block create script URL.
- Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.
script-enforcement-001.html 35 / 35 passingChrome 35 / 350 failedClean
35 passing subtests
- The HTMLScriptElement is initially trusted.
- Script source set via TrustedScript sink HTMLScriptElement.innerText keeps trustworthiness.
- Script source set via HTMLElement.innerText drops trustworthiness.
- Script source set via TrustedScript sink HTMLScriptElement.textContent keeps trustworthiness.
- Script source set Node.textContent drops trustworthiness.
- Script source set via TrustedScript sink HTMLScriptElement.text keeps trustworthiness.
- Script source set via TrustedHTML sink Element.innerHTML drops trustworthiness.
- Script source set via TrustedHTML sink Element.setHTMLUnsafe() drops trustworthiness.
- Script source cannot be set via Element.setHTML().
- Splitting script source via Text.splitText() keeps trustworthiness.
- Normalizing script source via Element.normalize() keeps trustworthiness.
- Script source set via Node.nodeValue drops trustworthiness.
- Setting script source via CharacterData.data drops trustworthiness.
- Setting script source via CharacterData.appendData() drops trustworthiness.
- Setting script source via CharacterData.insertData() drops trustworthiness.
- Setting script source via CharacterData.replaceData() drops trustworthiness.
- Setting script source via CharacterData.deleteData() drops trustworthiness.
- Setting script source via CharacterData.before() drops trustworthiness.
- Setting script source via CharacterData.after() drops trustworthiness.
- Setting script source via CharacterData.remove() drops trustworthiness.
- Setting script source via CharacterData.replaceWith() drops trustworthiness.
- Setting script source via Node.appendChild() drops trustworthiness.
- Setting script source via Node.insertBefore() drops trustworthiness.
- Setting script source via Node.replaceChild() drops trustworthiness.
- Setting script source via Node.removeChild() drops trustworthiness.
- Setting script source via Element.prepend() drops trustworthiness.
- Setting script source via Element.append() drops trustworthiness.
- Setting script source via Element.replaceChildren() drops trustworthiness.
- Setting script source via Element.moveBefore() drops trustworthiness.
- Setting script source via TrustedHTML sink Node.insertAdjacentHTML() drops trustworthiness.
- Setting script source via Node.insertAdjacentText() drops trustworthiness.
- Setting script source via Range.insertNode() drops trustworthiness.
- Setting script source via Range.deleteContents() drops trustworthiness.
- Cloning a script via Node.cloneNode() drops trustworthiness.
- Cloning a script via Range.cloneContents() drops trustworthiness.
script-enforcement-002.html 33 / 33 passingChrome 33 / 330 failedClean
33 passing subtests
- Default policy's calls when setting script source via HTMLScriptElement.innerText.
- Verify when the default policy is called for script source via HTMLElement.innerText.
- Default policy's calls when setting script source via HTMLScriptElement.textContent.
- Verify when the default policy is called for script source set via Node.textContent.
- Default policy's calls when setting script source via HTMLScriptElement.text.
- Default policy's calls when setting script source via Element.innerHTML.
- Default policy's calls when setting script source via Element.setHTMLUnsafe().
- Default policy when splitting script source via Text.splitText().
- Default policy when normalizing script source via Element.normalize().
- Default policy's calls when setting script source via Node.nodeValue.
- Default policy's calls when setting script source via CharacterData.data.
- Default policy's calls when setting script source via CharacterData.appendData().
- Default policy's calls when setting script source via CharacterData.insertData().
- Default policy's calls when setting script source via CharacterData.replaceData().
- Default policy's calls when setting script source via CharacterData.deleteData().
- Default policy's calls when setting script source via CharacterData.before().
- Default policy's calls when setting script source via CharacterData.after().
- Default policy's calls when setting script source via CharacterData.remove().
- Default policy's calls when setting script source via CharacterData.replaceWith().
- Default policy's calls when setting script source via Node.appendChild().
- Default policy's calls when setting script source via Node.insertBefore().
- Default policy's calls when setting script source via Node.replaceChild().
- Default policy's calls when setting script source via Node.removeChild().
- Default policy's calls when setting script source via Element.prepend().
- Default policy's calls when setting script source via Element.append().
- Default policy's calls when setting script source via Element.replaceChildren().
- Default policy's calls when setting script source via Element.moveBefore().
- Default policy's calls when setting script source via Node.insertAdjacentText().
- Default policy's calls when setting script source via Node.insertAdjacentHTML().
- Default policy's calls when setting source via Range.insertNode().
- Default policy's calls when setting script source via Range.deleteContents().
- Default policy's calls when cloning a script via Node.cloneNode().
- Default policy's calls when cloning a script via Range.cloneContents().
script-enforcement-003.html 33 / 33 passingChrome 33 / 330 failedClean
33 passing subtests
- The SVGScriptElement is initially trusted.
- Script source set via Element.textContent drops trustworthiness.
- Script source set via Node.textContent drops trustworthiness.
- Script source set via TrustedHTML sink Element.innerHTML drops trustworthiness.
- Script source set via TrustedHTML sink Element.outerHTML drops trustworthiness.
- Script source set via TrustedHTML sink Element.setHTMLUnsafe() drops trustworthiness.
- Script source cannot be set via Element.setHTML().
- Splitting script source via Text.splitText() keeps trustworthiness.
- Normalizing script source via Element.normalize() keeps trustworthiness.
- Script source set via Node.nodeValue drops trustworthiness.
- Setting script source via CharacterData.data drops trustworthiness.
- Setting script source via CharacterData.appendData() drops trustworthiness.
- Setting script source via CharacterData.insertData() drops trustworthiness.
- Setting script source via CharacterData.replaceData() drops trustworthiness.
- Setting script source via CharacterData.deleteData() drops trustworthiness.
- Setting script source via CharacterData.before() drops trustworthiness.
- Setting script source via CharacterData.after() drops trustworthiness.
- Setting script source via CharacterData.remove() drops trustworthiness.
- Setting script source via CharacterData.replaceWith() drops trustworthiness.
- Setting script source via Node.appendChild() drops trustworthiness.
- Setting script source via Node.insertBefore() drops trustworthiness.
- Setting script source via Node.replaceChild() drops trustworthiness.
- Setting script source via Node.removeChild() drops trustworthiness.
- Setting script source via Element.prepend() drops trustworthiness.
- Setting script source via Element.append() drops trustworthiness.
- Setting script source via Element.replaceChildren() drops trustworthiness.
- Setting script source via Element.moveBefore() drops trustworthiness.
- Setting script source via TrustedHTML sink Node.insertAdjacentHTML() drops trustworthiness.
- Setting script source via Node.insertAdjacentText() drops trustworthiness.
- Setting script source via Range.insertNode() drops trustworthiness.
- Setting script source via Range.deleteContents() drops trustworthiness.
- Cloning a script via Node.cloneNode() drops trustworthiness.
- Cloning a script via Range.cloneContents() drops trustworthiness.
script-enforcement-004.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- Default policy's calls when setting script source via SVGScriptElement.textContent.
- Verify when the default policy is called for script set source via Node.textContent.
- Default policy's calls when setting script source via Element.innerHTML.
- Default policy's calls when setting script source via Element.outerHTML.
- Default policy's calls when setting script source via Element.setHTMLUnsafe().
- Default policy when splitting script source via Text.splitText().
- Default policy when normalizing script source via Element.normalize().
- Default policy's calls when setting script source via Node.nodeValue.
- Default policy's calls when setting script source via CharacterData.data.
- Default policy's calls when setting script source via CharacterData.appendData().
- Default policy's calls when setting script source via CharacterData.insertData().
- Default policy's calls when setting script source via CharacterData.replaceData().
- Default policy's calls when setting script source via CharacterData.deleteData().
- Default policy's calls when setting script source via CharacterData.before().
- Default policy's calls when setting script source via CharacterData.after().
- Default policy's calls when setting script source via CharacterData.remove().
- Default policy's calls when setting script source via CharacterData.replaceWith().
- Default policy's calls when setting script source via Node.appendChild().
- Default policy's calls when setting script source via Node.insertBefore().
- Default policy's calls when setting script source via Node.replaceChild().
- Default policy's calls when setting script source via Node.removeChild().
- Default policy's calls when setting script source via Element.prepend().
- Default policy's calls when setting script source via Element.append().
- Default policy's calls when setting script source via Element.replaceChildren().
- Default policy's calls when setting script source via Element.moveBefore().
- Default policy's calls when setting script source via Node.insertAdjacentText().
- Default policy's calls when setting script source via Node.insertAdjacentHTML().
- Default policy's calls when setting source via Range.insertNode().
- Default policy's calls when setting script source via Range.deleteContents().
- Default policy's calls when cloning a script via Node.cloneNode().
- Default policy's calls when cloning a script via Range.cloneContents().
script-enforcement-005.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Empty HTMLScriptElement is executed if the default policy makes it non-empty.
- Non-empty HTMLScriptElement is not executed if the default policy makes it empty.
- Empty SVGScriptElement is executed if the default policy makes it non-empty.
- Non-empty SVGScriptElement is not executed if the default policy makes it empty.
script-enforcement-006.html 3 / 4 passingChrome 4 / 41 failedWith failures
- ¶
FAILUntrusted HTMLScriptElement of two importmap type use the source text returned by the default policy.
assert_array_equals: expected property 2 to be "IMPORTMAP2" but got "UNMAPPED2" (expected array ["CREATE_SCRIPT", "HTMLScriptElement text", "IMPORTMAP2", "CREATE_SCRIPT", "HTMLScriptElement text", "IMPORTMAP3"] got ["CREATE_SCRIPT", "HTMLScriptElement text", "UNMAPPED2", "CREATE_SCRIPT", "HTMLScriptElement text", "UNMAPPED3"])
3 passing subtests
- Untrusted HTMLScriptElement with classic type uses the source text returned by the default policy.
- Untrusted HTMLScriptElement of importmap type uses the source text returned by the default policy.
- Untrusted HTMLScriptElement of module type uses the source text returned by the default policy.
script-enforcement-007.html 2 / 4 passingChrome 4 / 42 failedWith failures
- ¶
FAILUntrusted SVGScriptElement of module type uses the source text returned by the default policy.
assert_array_equals: lengths differ, expected array ["CREATE_SCRIPT", "SVGScriptElement text", "MODULE"] length 3, got ["CREATE_SCRIPT", "SVGScriptElement text"] length 2
- ¶
FAILUntrusted SVGScriptElement of two importmap type use the source text returned by the default policy.
assert_array_equals: expected property 2 to be "IMPORTMAP2" but got "UNMAPPED2" (expected array ["CREATE_SCRIPT", "SVGScriptElement text", "IMPORTMAP2", "CREATE_SCRIPT", "SVGScriptElement text", "IMPORTMAP3"] got ["CREATE_SCRIPT", "SVGScriptElement text", "UNMAPPED2", "CREATE_SCRIPT", "SVGScriptElement text", "UNMAPPED3"])
2 passing subtests
- Untrusted SVGScriptElement with classic type uses the source text returned by the default policy.
- Untrusted SVGScriptElement of importmap type uses the source text returned by the default policy.
script-enforcement-008.https.html 4 / 5 passingChrome 5 / 51 failedWith failures
- ¶
FAILUntrusted HTMLScriptElement of two importmap types use the source text returned by the default policy for inline CSP check.
assert_array_equals: expected property 2 to be "IMPORTMAP2" but got "UNMAPPED2" (expected array ["CREATE_SCRIPT", "HTMLScriptElement text", "IMPORTMAP2", "CREATE_SCRIPT", "HTMLScriptElement text", "IMPORTMAP3"] got ["CREATE_SCRIPT", "HTMLScriptElement text", "UNMAPPED2", "CREATE_SCRIPT", "HTMLScriptElement text", "UNMAPPED3"])
4 passing subtests
- script-src CSP directive is properly set.
- Untrusted HTMLScriptElement with classic type uses the source text returned by the default policy for inline CSP check.
- Untrusted HTMLScriptElement of importmap type uses the source text returned by the default policy for inline CSP check.
- Untrusted HTMLScriptElement of module type uses the source text returned by the default policy for inline CSP check.
script-enforcement-009.https.html 3 / 5 passingChrome 5 / 52 failedWith failures
- ¶
FAILUntrusted SVGScriptElement of module type uses the source text returned by the default policy for inline CSP check.
assert_array_equals: lengths differ, expected array ["CREATE_SCRIPT", "SVGScriptElement text", "MODULE"] length 3, got ["CREATE_SCRIPT", "SVGScriptElement text"] length 2
- ¶
FAILUntrusted SVGScriptElement of 2 importmap types use the source text returned by the default policy for inline CSP check.
assert_array_equals: expected property 2 to be "IMPORTMAP2" but got "UNMAPPED2" (expected array ["CREATE_SCRIPT", "SVGScriptElement text", "IMPORTMAP2", "CREATE_SCRIPT", "SVGScriptElement text", "IMPORTMAP3"] got ["CREATE_SCRIPT", "SVGScriptElement text", "UNMAPPED2", "CREATE_SCRIPT", "SVGScriptElement text", "UNMAPPED3"])
3 passing subtests
- script-src CSP directive is properly set.
- Untrusted SVGScriptElement with classic type uses the source text returned by the default policy for inline CSP check.
- Untrusted SVGScriptElement of importmap type uses the source text returned by the default policy for inline CSP check.
script-enforcement-010.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Changing script's type from classic to module in the default policy works.
- Changing script's type from module to classic in the default policy works.
script-enforcement-011.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILChanging script's type from module to classic in the default policy works.
assert_array_equals: lengths differ, expected array ["CREATE_SCRIPT", "SVGScriptElement text", "MODULE"] length 3, got ["CREATE_SCRIPT", "SVGScriptElement text"] length 2
1 passing subtest
- Changing script's type from classic to module in the default policy works.
script-enforcement-012.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML script is untrusted even if its source was set before TrustedTypes got enabled.
script-enforcement-013.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- SVG script is untrusted even if source was set before TrustedTypes got enabled.
script-enforcement-014.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML script is untrusted even if meta tag for require-trusted-types-for is removed.
script-enforcement-015.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- SVG script is untrusted even if meta tag for require-trusted-types-for is removed.
script-enforcement-016.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTML script with type=module is untrusted even if its source was set before TrustedTypes got enabled.
script-enforcement-017.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- SVG script with type=module is untrusted even if source was set before TrustedTypes got enabled.
set-attributes-no-require-trusted-types.html 202 / 202 passingChrome 202 / 2020 failedClean
202 passing subtests
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
set-attributes-require-trusted-types-default-policy.html 264 / 264 passingChrome 264 / 2640 failedClean
264 passing subtests
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Element.setAttribute applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Attr.value applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
- Node.textContent applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
- Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
- Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
- Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
- Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Attr.value applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
- Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href and a TrustedScriptURL input.
set-attributes-require-trusted-types-no-default-policy-error-cases.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- setAttributeNode runs Trusted Types check before inuse checks
- setAttributeNodeNS runs Trusted Types check before inuse checks
- setNamedItem runs Trusted Types check before inuse checks
- setNamedItemNS runs Trusted Types check before inuse checks
- setAttributeNode runs Trusted Types check before same attribute early return
- setAttributeNodeNS runs Trusted Types check before same attribute early return
- setNamedItem runs Trusted Types check before same attribute early return
- setNamedItemNS runs Trusted Types check before same attribute early return
set-attributes-require-trusted-types-no-default-policy.html 264 / 264 passingChrome 264 / 2640 failedClean
264 passing subtests
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttribute works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Attr.value works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Node.nodeValue works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
- Node.textContent works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
- Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
setTimeout-setInterval-csp-tt-default-policy.html 16 / 16 passingChrome 16 / 160 failedClean
/trusted-types/setTimeout-setInterval-csp-tt-default-policy.html?default OK 8 / 8
8 passing subtests
- setTimeout of string accepted by the default policy runs.
- setInterval of string accepted by the default policy runs.
- setTimeout of string rejected by the default policy throws.
- setInterval of string rejected by the default policy throws.
- setTimeout of string where the default policy throws rethrows the exception.
- setInterval of string where the default policy throws rethrows the exception.
- setTimeout of string changed by the default policy runs the changed string.
- setInterval of string changed by the default policy runs the changed string.
/trusted-types/setTimeout-setInterval-csp-tt-default-policy.html?trusted-types-eval OK 8 / 8
8 passing subtests
- setTimeout of string accepted by the default policy runs.
- setInterval of string accepted by the default policy runs.
- setTimeout of string rejected by the default policy throws.
- setInterval of string rejected by the default policy throws.
- setTimeout of string where the default policy throws rethrows the exception.
- setInterval of string where the default policy throws rethrows the exception.
- setTimeout of string changed by the default policy runs the changed string.
- setInterval of string changed by the default policy runs the changed string.
setTimeout-setInterval-csp-tt-no-default-policy.html 8 / 8 passingChrome 8 / 80 failedClean
/trusted-types/setTimeout-setInterval-csp-tt-no-default-policy.html?default OK 4 / 4
4 passing subtests
- setTimeout of string throws.
- setInterval of string throws.
- setTimeout of TrustedScript runs.
- setInterval of TrustedScript runs.
/trusted-types/setTimeout-setInterval-csp-tt-no-default-policy.html?trusted-types-eval OK 4 / 4
4 passing subtests
- setTimeout of string throws.
- setInterval of string throws.
- setTimeout of TrustedScript runs.
- setInterval of TrustedScript runs.
should-sink-type-mismatch-violation-be-blocked-by-csp-001.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- Multiple enforce require-trusted-types-for directives.
- Multiple report-only require-trusted-types-for directives.
- One violated report-only require-trusted-types-for directive followed by multiple enforce directives
- One violated enforce require-trusted-types-for directive followed by multiple report-only directives
- Mixing enforce and report-only require-trusted-types-for directives.
- directive "require-trusted-types-for 'invalid'%09'script'" (required-ascii-whitespace)
- directive "require-trusted-types-for 'invalid'%0A%20'script'" (required-ascii-whitespace)
- directive "require-trusted-types-for 'invalid'%0C'script'" (required-ascii-whitespace)
- directive "require-trusted-types-for 'invalid'%0D%20'script'" (required-ascii-whitespace)
- directive "require-trusted-types-for 'invalid'%20'script'" (required-ascii-whitespace)
- invalid directive "require-trusted-types-for 'script''script'" (no ascii-whitespace)
- directive "require-trusted-types-for 'script' 'invalid'" (unknown sink group)
- directive "require-trusted-types-for 'invalid' 'script'" (unknown sink group)
- directive "require-trusted-types-for 'invalid' 'script' 'also-invalid" (unknown sink group)
- directive "require-trusted-types-for unquoted-invalid 'script' also-unquoted-invalid (unknown sink group)
should-sink-type-mismatch-violation-be-blocked-by-csp-002-worker.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Checking reported violations for setTimeout(';;;;;') from DedicatedWorker
- Location of required-trusted-types-for violations.
should-sink-type-mismatch-violation-be-blocked-by-csp-003.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location of required-trusted-types-for violations.
should-trusted-type-policy-creation-be-blocked-by-csp-001.html 24 / 24 passingChrome 24 / 240 failedClean
24 passing subtests
- single enforce policy with directive "trusted-type tt-policy-name"
- single report-only policy with directive "trusted-type tt-policy-name"
- single enforce policy with directive "trusted-type *"
- single report-only policy with directive "trusted-type *"
- single enforce policy with directive "trusted-type 'none'"
- single report-only policy with directive "trusted-type 'none'"
- single enforce policy with directive "trusted-type 'allow-duplicates'"
- single report-only policy with directive "trusted-type 'allow-duplicates'"
- single enforce policy with directive "trusted-type tt-policy-name 'allow-duplicates'"
- single report-only policy with directive "trusted-type tt-policy-name 'allow-duplicates'"
- single enforce policy with directive "trusted-type * 'allow-duplicates'"
- single report-only policy with directive "trusted-type * 'allow-duplicates'"
- single enforce policy with directive "trusted-type 'none' 'allow-duplicates'"
- single report-only policy with directive "trusted-type 'none' 'allow-duplicates'"
- single enforce policy with directive "trusted-type 'none' tt-policy-name"
- single report-only policy with directive "trusted-type 'none' tt-policy-name"
- single enforce policy with directive "trusted-type 'none' *"
- single report-only policy with directive "trusted-type 'none' *"
- single enforce policy with directive "trusted-type tt-policy-name *"
- single report-only policy with directive "trusted-type tt-policy-name *"
- single enforce policy with directive "trusted-type tt-policy-name1 tt-policy-name2 tt-policy-name3"
- single report-only policy with directive "trusted-type tt-policy-name1 tt-policy-name2 tt-policy-name3"
- Single enforce policy with directive "trusted-type none"
- Single enforce policy with directive "trusted-type allow-duplicates"
should-trusted-type-policy-creation-be-blocked-by-csp-002.html 21 / 21 passingChrome 21 / 210 failedClean
21 passing subtests
- valid tt-policy-name name "1"
- valid tt-policy-name name "abcdefghijklmnopqrstuvwxyz"
- valid tt-policy-name name "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- valid tt-policy-name name "0123456789"
- valid tt-policy-name name "policy-name"
- valid tt-policy-name name "policy=name"
- valid tt-policy-name name "policy_name"
- valid tt-policy-name name "policy/name"
- valid tt-policy-name name "policy@name"
- valid tt-policy-name name "policy.name"
- valid tt-policy-name name "policy%name"
- valid tt-policy-name name "policy#name"
- valid tt-policy-name name "6xY/2x=3Y..."
- invalid tt-policy-name name "policy name"
- invalid tt-policy-name name "policy*name"
- invalid tt-policy-name name "policy$name"
- invalid tt-policy-name name "policy?name"
- invalid tt-policy-name name "policy!name"
- non-ASCII trusted-types directives are discarded ("política")
- directive "trusted-type _TTP1_%09_TTP2_%0A%20_TTP3_%0C_TTP4_%0D_TTP5_%20_TTP6_" (required-ascii-whitespace)
- invalid directive "trusted-type _TTP" (no ascii whitespace)
should-trusted-type-policy-creation-be-blocked-by-csp-003.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Multiple non-violated enforce trusted-types directives.
- Multiple report-only trusted-types directives.
- One violated report-only trusted-types directive followed by multiple enforce directives.
- One violated enforce trusted-types directive followed by multiple report-only directives.
- Mixing enforce and report-only policies with trusted-types directives
- Mixing enforce and report-only policies with trusted-types directives (duplicate policy)
should-trusted-type-policy-creation-be-blocked-by-csp-004-worker.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- No violation/exception for allowed policy names (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
- Violation and exception for duplicate policy names (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
- Violation and exception for forbidden policy name (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
- Violation and exception for policy name "tt-policy-name" ('none').
- Violation and exception for policy name "none" ('none').
- No violation/exception for allowed policy names (tt-policy-name 'none').
- Violation and exception for forbidden policy name (tt-policy-name 'none').
- No violation and exception for allowed policy names (tt-policy-name-1 * tt-policy-name-3).
- No violation/exception for allowed policy name (tt-policy-name 'allow-duplicates').
- No violation/exception for duplicate policy name (tt-policy-name 'allow-duplicates').
- Violation and exception for forbidden policy name 'duplicate' tt-policy-name 'allow-duplicates'.
- No violation/exception for allowed policy name ('allow-duplicates' tt-policy-name).
- No violation/exception for duplicate policy name ('allow-duplicates' tt-policy-name).
- Violation and exception for forbidden policy name 'duplicate' 'allow-duplicates' tt-policy-name.
- Exception and violations for CSP with multiple enforce and report-only policies.
- Location of trusted-types violations.
should-trusted-type-policy-creation-be-blocked-by-csp-005.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Location of trusted-types violations.
trusted-types-createHTMLDocument.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- Trusted Type assignment is blocked. (document)
- Trusted Type instances created in the main doc can be used. (document)
- Trusted Type assignment is blocked. (createHTMLDocument)
- Trusted Type instances created in the main doc can be used. (createHTMLDocument)
- Trusted Type assignment is blocked. (DOMParser)
- Trusted Type instances created in the main doc can be used. (DOMParser)
- Trusted Type assignment is blocked. (XHR)
- Trusted Type instances created in the main doc can be used. (XHR)
- Install default policy.
- Default policy applies. (document)
- Default policy applies. (createHTMLDocument)
- Default policy applies. (DOMParser)
- Default policy applies. (XHR)
trusted-types-duplicate-names-list-report-only.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- TrustedTypePolicyFactory and policy list in CSP.
trusted-types-duplicate-names-list.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- TrustedTypePolicyFactory and policy list in CSP.
trusted-types-duplicate-names-without-enforcement.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- createPolicy - duplicate policies are allowed when Trusted Types are not enforced.
- createPolicy - duplicate "default" policy is never allowed.
trusted-types-duplicate-names.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- policy - duplicate names
trusted-types-eval-reporting-no-unsafe-eval.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Trusted Type violation report: evaluating a string violates both script-src and trusted-types.
- Trusted Type violation report: evaluating a Trusted Script violates script-src.
- Trusted Type violation report: script-src restrictions apply after the default policy runs.
trusted-types-eval-reporting-report-only.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Trusted Type violation report: evaluating a string.
- Trusted Type violation report: evaluating a Trusted Script.
- Trusted Type violation report: default policy runs in report-only mode.
trusted-types-event-handlers.html 121 / 121 passingChrome 123 / 1230 failedClean
121 passing subtests
- Event handler onclick should be blocked.
- Event handler onchange should be blocked.
- Event handler onfocus should be blocked.
- Event handler oNclick should be blocked.
- Event handler OnClIcK should be blocked.
- Non-event handler one should not be blocked.
- Non-event handler oNe should not be blocked.
- Non-event handler onIcon should not be blocked.
- Non-event handler offIcon should not be blocked.
- Non-event handler blubb should not be blocked.
- Non-event handler div.align should not be blocked.
- Non-event handler div.title should not be blocked.
- Non-event handler div.inert should not be blocked.
- Non-event handler div.draggable should not be blocked.
- Event handler div.onabort should be blocked.
- Event handler div.onauxclick should be blocked.
- Event handler div.onbeforeinput should be blocked.
- Event handler div.onbeforematch should be blocked.
- Event handler div.onbeforetoggle should be blocked.
- Event handler div.onblur should be blocked.
- Event handler div.oncancel should be blocked.
- Event handler div.oncanplay should be blocked.
- Event handler div.oncanplaythrough should be blocked.
- Event handler div.onchange should be blocked.
- Event handler div.onclick should be blocked.
- Event handler div.onclose should be blocked.
- Event handler div.oncommand should be blocked.
- Event handler div.oncontextlost should be blocked.
- Event handler div.oncontextmenu should be blocked.
- Event handler div.oncontextrestored should be blocked.
- Event handler div.oncopy should be blocked.
- Event handler div.oncuechange should be blocked.
- Event handler div.oncut should be blocked.
- Event handler div.ondblclick should be blocked.
- Event handler div.ondrag should be blocked.
- Event handler div.ondragend should be blocked.
- Event handler div.ondragenter should be blocked.
- Event handler div.ondragleave should be blocked.
- Event handler div.ondragover should be blocked.
- Event handler div.ondragstart should be blocked.
- Event handler div.ondrop should be blocked.
- Event handler div.ondurationchange should be blocked.
- Event handler div.onemptied should be blocked.
- Event handler div.onended should be blocked.
- Event handler div.onerror should be blocked.
- Event handler div.onfocus should be blocked.
- Event handler div.onformdata should be blocked.
- Event handler div.oninput should be blocked.
- Event handler div.oninvalid should be blocked.
- Event handler div.onkeydown should be blocked.
- Event handler div.onkeypress should be blocked.
- Event handler div.onkeyup should be blocked.
- Event handler div.onload should be blocked.
- Event handler div.onloadeddata should be blocked.
- Event handler div.onloadedmetadata should be blocked.
- Event handler div.onloadstart should be blocked.
- Event handler div.onmousedown should be blocked.
- Event handler div.onmouseenter should be blocked.
- Event handler div.onmouseleave should be blocked.
- Event handler div.onmousemove should be blocked.
- Event handler div.onmouseout should be blocked.
- Event handler div.onmouseover should be blocked.
- Event handler div.onmouseup should be blocked.
- Event handler div.onpaste should be blocked.
- Event handler div.onpause should be blocked.
- Event handler div.onplay should be blocked.
- Event handler div.onplaying should be blocked.
- Event handler div.onprogress should be blocked.
- Event handler div.onratechange should be blocked.
- Event handler div.onreset should be blocked.
- Event handler div.onresize should be blocked.
- Event handler div.onscroll should be blocked.
- Event handler div.onscrollend should be blocked.
- Event handler div.onsecuritypolicyviolation should be blocked.
- Event handler div.onseeked should be blocked.
- Event handler div.onseeking should be blocked.
- Event handler div.onselect should be blocked.
- Event handler div.onslotchange should be blocked.
- Event handler div.onstalled should be blocked.
- Event handler div.onsubmit should be blocked.
- Event handler div.onsuspend should be blocked.
- Event handler div.ontimeupdate should be blocked.
- Event handler div.ontoggle should be blocked.
- Event handler div.onvolumechange should be blocked.
- Event handler div.onwaiting should be blocked.
- Event handler div.onwebkitanimationend should be blocked.
- Event handler div.onwebkitanimationiteration should be blocked.
- Event handler div.onwebkitanimationstart should be blocked.
- Event handler div.onwebkittransitionend should be blocked.
- Event handler div.onwheel should be blocked.
- Event handler div.onanimationstart should be blocked.
- Event handler div.onanimationiteration should be blocked.
- Event handler div.onanimationend should be blocked.
- Event handler div.onanimationcancel should be blocked.
- Event handler div.onsnapchanged should be blocked.
- Event handler div.onsnapchanging should be blocked.
- Event handler div.ontransitionrun should be blocked.
- Event handler div.ontransitionstart should be blocked.
- Event handler div.ontransitionend should be blocked.
- Event handler div.ontransitioncancel should be blocked.
- Event handler div.onfencedtreeclick should be blocked.
- Event handler div.oninstallresult should be blocked.
- Event handler div.onpointerover should be blocked.
- Event handler div.onpointerenter should be blocked.
- Event handler div.onpointerdown should be blocked.
- Event handler div.onpointermove should be blocked.
- Event handler div.onpointerup should be blocked.
- Event handler div.onpointercancel should be blocked.
- Event handler div.onpointerout should be blocked.
- Event handler div.onpointerleave should be blocked.
- Event handler div.ongotpointercapture should be blocked.
- Event handler div.onlostpointercapture should be blocked.
- Event handler div.onselectstart should be blocked.
- Event handler div.onselectionchange should be blocked.
- Event handler div.ontouchstart should be blocked.
- Event handler div.ontouchend should be blocked.
- Event handler div.ontouchmove should be blocked.
- Event handler div.ontouchcancel should be blocked.
- Event handler div.onbeforexrselect should be blocked.
- Event handler div.onfullscreenchange should be blocked.
- Event handler div.onfullscreenerror should be blocked.
trusted-types-report-only.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Trusted Type violation report-only: assign string to script url
- Trusted Type violation report-only: assign string to html
- Trusted Type violation report-only: assign string to script.src
- Trusted Type violation report-only: assign string to script content
- Trusted Type violation report: check report contents
trusted-types-reporting-check-report-DedicatedWorker-create-policy.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Creating policy works for policy in the allowlist.
- Creating policy works for policy in the blocklist, since it's report-only.
- Test report-uri works with trusted-types violation.
- Test number of sent reports.
trusted-types-reporting-check-report-DedicatedWorker-sink-mismatch.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Passing a plain string to setTimeout works since it's report-only.
- Passing a TrustedScript to setTimeout works.
- Passing a plain string to eval throws.
- Test report-uri works with require-trusted-types-for violation.
- Test number of sent reports.
trusted-types-reporting-check-report-Window-create-policy.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Creating policy works for policy in the allowlist.
- Creating policy works for policy in the blocklist, since it's report-only.
- Test report-uri works with trusted-types violation.
- Test number of sent reports.
trusted-types-reporting-check-report-Window-sink-mismatch.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Passing a plain string to setTimeout works since it's report-only.
- Passing a TrustedScript to setTimeout works.
- Passing a plain string to eval throws.
- Test report-uri works with require-trusted-types-for violation.
- Test number of sent reports.
trusted-types-reporting-clipping-of-sample.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Clipping of violation sample for createPolicy(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
- Clipping of violation sample for Element.innerHTML = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
- Clipping of violation sample for createPolicy(BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB)
- Clipping of violation sample for Element.innerHTML = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
- Clipping of violation sample for createPolicy(CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC)
- Clipping of violation sample for Element.innerHTML = "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
- Clipping of violation sample for createPolicy(ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ)
- Clipping of violation sample for Element.innerHTML = "ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ"
- Clipping of violation sample for createPolicy(ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ)
- Clipping of violation sample for Element.innerHTML = "ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ"
- Clipping of violation sample for createPolicy(℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉)
- Clipping of violation sample for Element.innerHTML = "℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉"
trusted-types-reporting-for-DOMParser-parseFromString.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-DedicatedWorker-DedicatedWorker-constructor.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for Worker constructor with TrustedScriptURL.
- Violation report for Worker constructor with plain string.
trusted-types-reporting-for-DedicatedWorker-ServiceWorkerContainer-register.https.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
- Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-DedicatedWorker-eval.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for eval with TrustedScript.
- Violation report for eval with plain string.
trusted-types-reporting-for-DedicatedWorker-function-constructor.html 12 / 12 passingChrome 4 / 120 failedClean
12 passing subtests
- No violation reported for Function with TrustedScript.
- No violation reported for Function with multiple TrustedScript args.
- Violation report for Function with plain string.
- No violation reported for AsyncFunction with TrustedScript.
- No violation reported for AsyncFunction with multiple TrustedScript args.
- Violation report for AsyncFunction with plain string.
- No violation reported for GeneratorFunction with TrustedScript.
- No violation reported for GeneratorFunction with multiple TrustedScript args.
- Violation report for GeneratorFunction with plain string.
- No violation reported for AsyncGeneratorFunction with TrustedScript.
- No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
- Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-DedicatedWorker-importScripts.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for importScripts with TrustedScriptURL.
- Violation report for importScripts with plain string.
trusted-types-reporting-for-DedicatedWorker-setTimeout-setInterval.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- No violation reported for setTimeout with TrustedScript.
- No violation reported for setInterval with TrustedScript.
- Violation report for setTimeout with plain string.
- Violation report for setInterval with plain string.
trusted-types-reporting-for-Document-execCommand.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- No violation reported for TrustedHTML.
- No violation reported (paste command).
- Violation report for plain string (insertHTML command).
trusted-types-reporting-for-Document-parseHTMLUnsafe.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-Document-write.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- No violation reported for write() with TrustedHTML arguments.
- Violation report for plain string for write() with at least one plain string argument.
- No violation reported for writeln() with TrustedHTML arguments.
- Violation report for plain string for writeln() with at least one plain string argument.
trusted-types-reporting-for-Element-innerHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-Element-insertAdjacentHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-Element-outerHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-Element-setAttribute.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- No violation reported for trusted types.
- Violation report for HTMLIFrameElement.setAttribute('srcdoc', plain_string)
- Violation report for HTMLIFrameElement.setAttributeNS(null, 'srcdoc', plain_string)
- Violation report for Element.setAttribute('onclick', plain_string)
- Violation report for Element.setAttributeNS(null, 'onclick', plain_string)
- Violation report for HTMLScriptElement.setAttribute('src', plain_string)
- Violation report for HTMLScriptElement.setAttributeNS(null, 'src', plain_string)
- Violation report for SVGScriptElement.setAttribute('href', plain_string)
- Violation report for SVGScriptElement.setAttributeNS(null, 'href', plain_string)
- Violation report for SVGScriptElement.setAttributeNS(http://www.w3.org/1999/xlink, 'href', plain_string)
trusted-types-reporting-for-Element-setHTMLUnsafe.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-HTMLIFrameElement-srcdoc.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-HTMLScriptElement-children-change.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- sink mismatch violation report when the script text is changed by manipulating its children.
- inline check violation report when the script text is changed by manipulating its children.
trusted-types-reporting-for-HTMLScriptElement-innerHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-HTMLScriptElement.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- No violation reported for trusted input (innerText).
- Violation report for plain string (innerText)
- No violation reported for trusted input (textContent).
- Violation report for plain string (textContent)
- No violation reported for trusted input (src).
- Violation report for plain string (src)
- No violation reported for trusted input (text).
- Violation report for plain string (text)
trusted-types-reporting-for-Range-createContextualFragment.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-SVGScriptElement-children-change.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- sink mismatch violation report when the script text is changed by manipulating its children.
- inline check violation report when the script text is changed by manipulating its children.
trusted-types-reporting-for-SVGScriptElement-innerHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-ServiceWorker-ServiceWorkerContainer-register.https.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
- Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-ServiceWorker-eval.https.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for eval with TrustedScript.
- Violation report for eval with plain string.
trusted-types-reporting-for-ServiceWorker-function-constructor.https.html 12 / 12 passingChrome 4 / 120 failedClean
12 passing subtests
- No violation reported for Function with TrustedScript.
- No violation reported for Function with multiple TrustedScript args.
- Violation report for Function with plain string.
- No violation reported for AsyncFunction with TrustedScript.
- No violation reported for AsyncFunction with multiple TrustedScript args.
- Violation report for AsyncFunction with plain string.
- No violation reported for GeneratorFunction with TrustedScript.
- No violation reported for GeneratorFunction with multiple TrustedScript args.
- Violation report for GeneratorFunction with plain string.
- No violation reported for AsyncGeneratorFunction with TrustedScript.
- No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
- Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-ServiceWorker-importScripts.https.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for importScripts with TrustedScriptURL.
- Violation report for importScripts with plain string.
trusted-types-reporting-for-ServiceWorker-setTimeout-setInterval.https.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- No violation reported for setTimeout with TrustedScript.
- No violation reported for setInterval with TrustedScript.
- Violation report for setTimeout with plain string.
- Violation report for setInterval with plain string.
trusted-types-reporting-for-ShadowRoot-innerHTML.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-ShadowRoot-setHTMLUnsafe.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for TrustedHTML.
- Violation report for plain string.
trusted-types-reporting-for-Window-DedicatedWorker-constructor.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for Worker constructor with TrustedScriptURL.
- Violation report for Worker constructor with plain string.
trusted-types-reporting-for-Window-ServiceWorkerContainer-register.https.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
- Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-Window-eval.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- No violation reported for eval with TrustedScript.
- Violation report for eval with plain string.
trusted-types-reporting-for-Window-function-constructor.html 12 / 12 passingChrome 4 / 120 failedClean
12 passing subtests
- No violation reported for Function with TrustedScript.
- No violation reported for Function with multiple TrustedScript args.
- Violation report for Function with plain string.
- No violation reported for AsyncFunction with TrustedScript.
- No violation reported for AsyncFunction with multiple TrustedScript args.
- Violation report for AsyncFunction with plain string.
- No violation reported for GeneratorFunction with TrustedScript.
- No violation reported for GeneratorFunction with multiple TrustedScript args.
- Violation report for GeneratorFunction with plain string.
- No violation reported for AsyncGeneratorFunction with TrustedScript.
- No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
- Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-Window-setTimeout-setInterval.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- No violation reported for setTimeout with TrustedScript.
- No violation reported for setInterval with TrustedScript.
- Violation report for setTimeout with plain string.
- Violation report for setInterval with plain string.
trusted-types-reporting.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Trusted Type violation report: creating a forbidden policy.
- Trusted Type violation report: creating a report-only-forbidden policy.
- Trusted Type violation report: creating a forbidden-but-not-reported policy.
- Trusted Type violation report: sample for SVGScriptElement href assignment
- Trusted Type violation report: sample for SVGScriptElement href assignment by setAttribute
- Trusted Type violation report: sample for eval
- Trusted Type violation report: sample for custom element assignment
- Trusted Type violation report: Worker constructor
trusted-types-sandbox-allow-scripts.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- window.trustedTypes.createPolicy() in a sandboxed page with allow-scripts.
- Default Trusted Types policy in a sandboxed page with allow-scripts.
trusted-types-sandbox-no-allow-scripts.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Trusted Types CSP directives don't affect the behavior of sandboxed page without allow-scripts.
trusted-types-secondary-document.html 97 / 97 passingChrome 96 / 970 failedClean
97 passing subtests
- HTMLElement innerHTML throws with a plain string
- HTMLElement setHTMLUnsafe throws with a plain string
- ShadowRoot innerHTML throws with a plain string
- ShadowRoot setHTMLUnsafe throws with a plain string
- HTMLIFrameElement srcdoc throws with a plain string
- HTMLScriptElement textContent throws with a plain string
- HTMLScriptElement innerText throws with a plain string
- HTMLScriptElement text throws with a plain string
- Element insertAdjacentHTML throws with a plain string
- Document execCommand throws with a plain string
- Range createContextualFragment throws with a plain string
- HTMLElement innerHTML works with a TrustedHTML
- HTMLElement setHTMLUnsafe works with a TrustedHTML
- ShadowRoot innerHTML works with a TrustedHTML
- ShadowRoot setHTMLUnsafe works with a TrustedHTML
- HTMLIFrameElement srcdoc works with a TrustedHTML
- HTMLScriptElement textContent works with a TrustedScript
- HTMLScriptElement innerText works with a TrustedScript
- HTMLScriptElement text works with a TrustedScript
- Element insertAdjacentHTML works with a TrustedHTML
- Document execCommand works with a TrustedHTML
- Trusted Type assignment required for Range createContextualFragment
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
- Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a plain string
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
- Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href with a TrustedScriptURL input.
trusted-types-source-file-path.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- same-document script
- same-origin script
- cross-origin script
trusted-types-svg-script-set-href.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- Assign string to SVGScriptElement.href.baseVal.
- Assign TrustedScriptURL to SVGScriptElement.href.baseVal.
- Assign string to non-attached SVGScriptElement.href via setAttribute.
- Assign TrustedScriptURL to non-attached SVGScriptElement.href via setAttribute.
- Assign string to attached SVGScriptElement.href via setAttribute.
- Assign TrustedScriptURL to attached SVGScriptElement.href via setAttribute.
- Assign string to SVGScriptElement.className.baseVal.
- Assign TrustedScriptURL to SVGScriptElement.className.baseVal.
- Assign string to SVGUseElement.href.baseVal.
- Assign TrustedScriptURL to SVGUseElement.href.baseVal.
- Setup default policy
- Assign string to SVGScriptElement.href.baseVal w/ default policy.
- Assign string to non-attached SVGScriptElement.href via setAttribute w/ default policy.
- Assign string to attached SVGScriptElement.href via setAttribute w/ default policy.
- Assign string to SVGScriptElement.className.baseVal w/ default policy.
- Assign TrustedScriptURL to SVGScriptElement.className.baseVal w/ default policy.
- Assign string to SVGUseElement.href.baseVal w/ default policy.
- Assign TrustedScriptURL to SVGUseElement.href.baseVal w/ default policy.
trusted-types-tojson.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- toJSON
trusted-types-wildcard-with-trailing-characters.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A trusted-types wildcard with trailing characters ('*X') is an invalid expression and must not enable the wildcard, so createPolicy() is blocked.
tt-block-eval.html 2 / 2 passingChrome 2 / 20 failedClean
/trusted-types/tt-block-eval.html?default OK 1 / 1
1 passing subtest
- eval blocks if the default policy rejects a value.
/trusted-types/tt-block-eval.html?trusted-types-eval OK 1 / 1
1 passing subtest
- eval blocks if the default policy rejects a value.