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 here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
DOMParser-parseFromString-regression.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Regression test for TT changes to parseFromString.
DOMParser-parseFromString.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. document.innerText assigned via policy (successful HTML transformation).
  2. document.innerText = null.
DedicatedWorker-block-eval-function-constructor.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Blocked eval in DedicatedWorkerGlobalScope.
  2. Blocked indirect eval in DedicatedWorkerGlobalScope.
  3. Blocked Function constructor in DedicatedWorkerGlobalScope.
  4. Blocked AsyncFunction constructor in DedicatedWorkerGlobalScope.
  5. Blocked GeneratorFunction constructor in DedicatedWorkerGlobalScope.
  6. Blocked AsyncGeneratorFunction constructor in DedicatedWorkerGlobalScope.
DedicatedWorker-constructor-from-DedicatedWorker.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Creating a Worker from a string should throw (dedicated worker scope)
  2. Creating a Worker from a TrustedScriptURL should not throw (dedicated worker scope)
  3. Creating a Worker from a string with a default policy should not throw (dedicated worker scope)
DedicatedWorker-constructor-from-SharedWorker.html3 / 3 passingChrome 0 / 30 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Creating a Worker from a string should throw (shared worker scope)
  2. Creating a Worker from a TrustedScriptURL should not throw (shared worker scope)
  3. Creating a Worker from a string with a default policy should not throw (shared worker scope)
DedicatedWorker-constructor.https.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Create Worker via ScriptTestUrl
  2. Block Worker creation via string
  3. Create Worker via string with default policy.
DedicatedWorker-eval.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. eval(string) in dedicated worker
  2. indirect eval(string) in dedicated worker
  3. eval(TrustedScript) in dedicated worker
  4. indirect eval(TrustedScript) in dedicated worker
  5. eval(string) with default policy in dedicated worker
  6. indirect eval(string) with default policy in dedicated worker
  7. eval(string) with default policy mutation in dedicated worker
  8. indirect eval(string) with default policy mutation in dedicated worker
DedicatedWorker-importScripts.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. importScripts with TrustedScriptURL works in dedicated worker
  2. importScripts with untrusted URLs throws in dedicated worker
  3. null is not a trusted script URL throws in dedicated worker
  4. importScripts with two URLs, both trusted, in dedicated worker
  5. importScripts with two URLs, both strings, in dedicated worker
  6. importScripts with two URLs, one trusted, in dedicated worker
  7. importScripts with untrusted URLs and default policy works in dedicated worker
  8. importScripts with one trusted and one untrusted URLs and default policy works in dedicated worker
DedicatedWorker-setTimeout-setInterval.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. DedicatedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
  2. DedicatedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
  3. DedicatedWorkerGlobalScope.setTimeout assigned via default policy (successful Script transformation).
  4. DedicatedWorkerGlobalScope.setInterval assigned via default policy (successful Script transformation).
  5. DedicatedWorkerGlobalScope.setTimeout assigned with a function handler shouldn't go through default policy.
  6. DedicatedWorkerGlobalScope.setInterval assigned with a function handler shouldn't go through default policy.
Document-execCommand.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Document.execCommand("insertHTML") works as usual.
  2. Document.execCommand("paste") works as usual.
Document-parseHTMLUnsafe-respects-current-globals-CSP.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. The helper frame's Document.parseHTMLUnsafe() does not enforce Trusted Types when called from this document.
  2. This document's Document.parseHTMLUnsafe() enforces Trusted Types when called from the helper frame.
Document-write-appending-line-feed.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. document.write() with TrustedHTML arguments only.
  2. document.write() with String arguments only.
  3. document.write() with TrustedHTML for all but one argument.
  4. document.writeln() with TrustedHTML arguments only.
  5. document.writeln() with String arguments only.
  6. document.writeln() with TrustedHTML for all but one argument.
Document-write.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. document.write with html assigned via policy (successful transformation).
  2. document.writeln with html assigned via policy (successful transformation).
  3. document.write(TrustedHTML, TrustedHTML)
  4. document.writeln(TrustedHTML, TrustedHTML)
  5. document.write(TrustedHTML, String)
  6. document.writeln(TrustedHTML, String)
  7. document.write(String, String)
  8. document.writeln(String, String)
Element-insertAdjacentHTML.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. insertAdjacentHTML with html assigned via policy (successful HTML transformation).
Element-outerHTML.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. outerHTML with html assigned via policy (successful HTML transformation).
Element-setAttribute-respects-Elements-node-documents-globals-CSP-after-adoption-from-TT-realm.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. 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
  2. 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
  3. 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
  4. 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.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=iframe; Parent=div; Attribute=srcdoc
  2. setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=div; Attribute=src
  3. setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=svg; Attribute=href
  4. setAttribute and setAttributeNode respect the element's node document's global's CSP; Element=script; Parent=svg; Attribute=xlink:href
Element-setAttribute.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. script.src assigned via policy (successful ScriptURL transformation)
  2. iframe.srcdoc assigned via policy (successful HTML transformation)
  3. script.src assigned via policy (successful script transformation)
  4. a.rel accepts strings
  5. a.rel accepts null
Element-setAttributeNS.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Element.setAttributeNS assigned via policy (successful HTML transformation)
  2. Element.setAttributeNS assigned via policy (successful Script transformation)
  3. Element.setAttributeNS assigned via policy (successful ScriptURL transformation)
  4. Element.setAttributeNS accepts a URL on <svg:image xlink:href/>
Element-toggleAttribute.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. TT should not interfere with toggleAttribute on an event handler
  2. TT should not interfere with toggleAttribute on an iframe srcdoc
GlobalEventHandlers-onclick.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. a.setAttribute('onclick') sets a trusted script.
  2. a.setAttribute('onclick') sets an unsuitable trusted type.
  3. a.setAttribute('click') sets a test string.
HTMLElement-generic.html72 / 72 passingChrome 72 / 720 failedClean
Standing
Clean runner status OK
Chrome
Clean 72 / 72 WPT subtests passing runner status OK
72 passing subtests
  1. TT disabled: script.src = TrustedScript on a connected element
  2. TT disabled: script.src = TrustedScript on a non-connected element
  3. TT disabled: script.src = String on a connected element
  4. TT disabled: script.src = String on a non-connected element
  5. TT disabled: div.innerHTML = TrustedHTML on a connected element
  6. TT disabled: div.innerHTML = TrustedHTML on a non-connected element
  7. TT disabled: div.innerHTML = String on a connected element
  8. TT disabled: div.innerHTML = String on a non-connected element
  9. TT disabled: iframe.srcdoc = TrustedHTML on a connected element
  10. TT disabled: iframe.srcdoc = TrustedHTML on a non-connected element
  11. TT disabled: iframe.srcdoc = String on a connected element
  12. TT disabled: iframe.srcdoc = String on a non-connected element
  13. TT disabled: script.text = TrustedScript on a connected element
  14. TT disabled: script.text = TrustedScript on a non-connected element
  15. TT disabled: script.text = String on a connected element
  16. TT disabled: script.text = String on a non-connected element
  17. TT disabled: script.innerText = TrustedScript on a connected element
  18. TT disabled: script.innerText = TrustedScript on a non-connected element
  19. TT disabled: script.innerText = String on a connected element
  20. TT disabled: script.innerText = String on a non-connected element
  21. TT disabled: script.textContent = TrustedScript on a connected element
  22. TT disabled: script.textContent = TrustedScript on a non-connected element
  23. TT disabled: script.textContent = String on a connected element
  24. TT disabled: script.textContent = String on a non-connected element
  25. TT enabled: script.src = TrustedScript on a connected element
  26. TT enabled: script.src = TrustedScript on a non-connected element
  27. TT enabled: script.src = String on a connected element
  28. TT enabled: script.src = String on a non-connected element
  29. TT enabled: div.innerHTML = TrustedHTML on a connected element
  30. TT enabled: div.innerHTML = TrustedHTML on a non-connected element
  31. TT enabled: div.innerHTML = String on a connected element
  32. TT enabled: div.innerHTML = String on a non-connected element
  33. TT enabled: iframe.srcdoc = TrustedHTML on a connected element
  34. TT enabled: iframe.srcdoc = TrustedHTML on a non-connected element
  35. TT enabled: iframe.srcdoc = String on a connected element
  36. TT enabled: iframe.srcdoc = String on a non-connected element
  37. TT enabled: script.text = TrustedScript on a connected element
  38. TT enabled: script.text = TrustedScript on a non-connected element
  39. TT enabled: script.text = String on a connected element
  40. TT enabled: script.text = String on a non-connected element
  41. TT enabled: script.innerText = TrustedScript on a connected element
  42. TT enabled: script.innerText = TrustedScript on a non-connected element
  43. TT enabled: script.innerText = String on a connected element
  44. TT enabled: script.innerText = String on a non-connected element
  45. TT enabled: script.textContent = TrustedScript on a connected element
  46. TT enabled: script.textContent = TrustedScript on a non-connected element
  47. TT enabled: script.textContent = String on a connected element
  48. TT enabled: script.textContent = String on a non-connected element
  49. TT enabled: script.src = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
  50. TT enabled: script.src = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
  51. TT enabled: script.src = String on a connected element after removing the "require-trusted-types-for 'script' directive
  52. TT enabled: script.src = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
  53. TT enabled: div.innerHTML = TrustedHTML on a connected element after removing the "require-trusted-types-for 'script' directive
  54. TT enabled: div.innerHTML = TrustedHTML on a non-connected element after removing the "require-trusted-types-for 'script' directive
  55. TT enabled: div.innerHTML = String on a connected element after removing the "require-trusted-types-for 'script' directive
  56. TT enabled: div.innerHTML = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
  57. TT enabled: iframe.srcdoc = TrustedHTML on a connected element after removing the "require-trusted-types-for 'script' directive
  58. TT enabled: iframe.srcdoc = TrustedHTML on a non-connected element after removing the "require-trusted-types-for 'script' directive
  59. TT enabled: iframe.srcdoc = String on a connected element after removing the "require-trusted-types-for 'script' directive
  60. TT enabled: iframe.srcdoc = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
  61. TT enabled: script.text = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
  62. TT enabled: script.text = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
  63. TT enabled: script.text = String on a connected element after removing the "require-trusted-types-for 'script' directive
  64. TT enabled: script.text = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
  65. TT enabled: script.innerText = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
  66. TT enabled: script.innerText = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
  67. TT enabled: script.innerText = String on a connected element after removing the "require-trusted-types-for 'script' directive
  68. TT enabled: script.innerText = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
  69. TT enabled: script.textContent = TrustedScript on a connected element after removing the "require-trusted-types-for 'script' directive
  70. TT enabled: script.textContent = TrustedScript on a non-connected element after removing the "require-trusted-types-for 'script' directive
  71. TT enabled: script.textContent = String on a connected element after removing the "require-trusted-types-for 'script' directive
  72. TT enabled: script.textContent = String on a non-connected element after removing the "require-trusted-types-for 'script' directive
HTMLScriptElement-internal-slot.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Test TT application when manipulating <script> elements during loading.
  2. Script set via .textContent executes on a connected HTMLScriptElement.
  3. Script set via .textContent executes on an unconnected HTMLScriptElement.
  4. Script set via .innerText executes on a connected HTMLScriptElement.
  5. Script set via .innerText executes on an unconnected HTMLScriptElement.
  6. Setting .src to a plain string should throw an exception and not modify the script state, on an unconnected script element.
  7. Setting .src to a TrustedScriptURL should work and should execute the referenced script instead of the script body, on an unconnected script element.
  8. Setting .src to a plain string should throw an exception and not modify the script state, on a connected script element.
  9. 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.html90 / 90 passingChrome 90 / 900 failedClean
Standing
Clean runner status OK
Chrome
Clean 90 / 90 WPT subtests passing runner status OK
90 passing subtests
  1. replaceWith('createScript';) on <div> should pass
  2. after('createScript';) on <div> should pass
  3. before('createScript';) on <div> should pass
  4. append('createScript';) on <div> should pass
  5. prepend('createScript';) on <div> should pass
  6. replaceWith('createScript #1';,'#2;') on <div> should pass
  7. after('createScript #1';,'#2;') on <div> should pass
  8. before('createScript #1';,'#2;') on <div> should pass
  9. append('createScript #1';,'#2;') on <div> should pass
  10. prepend('createScript #1';,'#2;') on <div> should pass
  11. replaceWith('plain text';) on <div> should pass
  12. after('plain text';) on <div> should pass
  13. before('plain text';) on <div> should pass
  14. append('plain text';) on <div> should pass
  15. prepend('plain text';) on <div> should pass
  16. replaceWith('plain text #1';,'plain text #2';) on <div> should pass
  17. after('plain text #1';,'plain text #2';) on <div> should pass
  18. before('plain text #1';,'plain text #2';) on <div> should pass
  19. append('plain text #1';,'plain text #2';) on <div> should pass
  20. prepend('plain text #1';,'plain text #2';) on <div> should pass
  21. replaceWith([object Text]) on <div> should pass
  22. after([object Text]) on <div> should pass
  23. before([object Text]) on <div> should pass
  24. append([object Text]) on <div> should pass
  25. prepend([object Text]) on <div> should pass
  26. replaceWith([object Text],[object Text]) on <div> should pass
  27. after([object Text],[object Text]) on <div> should pass
  28. before([object Text],[object Text]) on <div> should pass
  29. append([object Text],[object Text]) on <div> should pass
  30. prepend([object Text],[object Text]) on <div> should pass
  31. replaceWith('mixed';,[object Text]) on <div> should pass
  32. after('mixed';,[object Text]) on <div> should pass
  33. before('mixed';,[object Text]) on <div> should pass
  34. append('mixed';,[object Text]) on <div> should pass
  35. prepend('mixed';,[object Text]) on <div> should pass
  36. replaceWith('mixed';,'script';) on <div> should pass
  37. after('mixed';,'script';) on <div> should pass
  38. before('mixed';,'script';) on <div> should pass
  39. append('mixed';,'script';) on <div> should pass
  40. prepend('mixed';,'script';) on <div> should pass
  41. replaceWith([object Text],'script';) on <div> should pass
  42. after([object Text],'script';) on <div> should pass
  43. before([object Text],'script';) on <div> should pass
  44. append([object Text],'script';) on <div> should pass
  45. prepend([object Text],'script';) on <div> should pass
  46. replaceWith('createScript';) on <script> should pass
  47. after('createScript';) on <script> should pass
  48. before('createScript';) on <script> should pass
  49. append('createScript';) on <script> should pass
  50. prepend('createScript';) on <script> should pass
  51. replaceWith('createScript #1';,'#2;') on <script> should pass
  52. after('createScript #1';,'#2;') on <script> should pass
  53. before('createScript #1';,'#2;') on <script> should pass
  54. append('createScript #1';,'#2;') on <script> should pass
  55. prepend('createScript #1';,'#2;') on <script> should pass
  56. replaceWith('plain text';) on <script> should pass
  57. after('plain text';) on <script> should pass
  58. before('plain text';) on <script> should pass
  59. append('plain text';) on <script> should pass
  60. prepend('plain text';) on <script> should pass
  61. replaceWith('plain text #1';,'plain text #2';) on <script> should pass
  62. after('plain text #1';,'plain text #2';) on <script> should pass
  63. before('plain text #1';,'plain text #2';) on <script> should pass
  64. append('plain text #1';,'plain text #2';) on <script> should pass
  65. prepend('plain text #1';,'plain text #2';) on <script> should pass
  66. replaceWith([object Text]) on <script> should pass
  67. after([object Text]) on <script> should pass
  68. before([object Text]) on <script> should pass
  69. append([object Text]) on <script> should pass
  70. prepend([object Text]) on <script> should pass
  71. replaceWith([object Text],[object Text]) on <script> should pass
  72. after([object Text],[object Text]) on <script> should pass
  73. before([object Text],[object Text]) on <script> should pass
  74. append([object Text],[object Text]) on <script> should pass
  75. prepend([object Text],[object Text]) on <script> should pass
  76. replaceWith('mixed';,[object Text]) on <script> should pass
  77. after('mixed';,[object Text]) on <script> should pass
  78. before('mixed';,[object Text]) on <script> should pass
  79. append('mixed';,[object Text]) on <script> should pass
  80. prepend('mixed';,[object Text]) on <script> should pass
  81. replaceWith('mixed';,'script';) on <script> should pass
  82. after('mixed';,'script';) on <script> should pass
  83. before('mixed';,'script';) on <script> should pass
  84. append('mixed';,'script';) on <script> should pass
  85. prepend('mixed';,'script';) on <script> should pass
  86. replaceWith([object Text],'script';) on <script> should pass
  87. after([object Text],'script';) on <script> should pass
  88. before([object Text],'script';) on <script> should pass
  89. append([object Text],'script';) on <script> should pass
  90. prepend([object Text],'script';) on <script> should pass
Node-multiple-arguments.html90 / 90 passingChrome 90 / 900 failedClean
Standing
Clean runner status OK
Chrome
Clean 90 / 90 WPT subtests passing runner status OK
90 passing subtests
  1. replaceWith('createScript';) on <div> should pass
  2. after('createScript';) on <div> should pass
  3. before('createScript';) on <div> should pass
  4. append('createScript';) on <div> should pass
  5. prepend('createScript';) on <div> should pass
  6. replaceWith('createScript #1';,'#2;') on <div> should pass
  7. after('createScript #1';,'#2;') on <div> should pass
  8. before('createScript #1';,'#2;') on <div> should pass
  9. append('createScript #1';,'#2;') on <div> should pass
  10. prepend('createScript #1';,'#2;') on <div> should pass
  11. replaceWith('plain text';) on <div> should pass
  12. after('plain text';) on <div> should pass
  13. before('plain text';) on <div> should pass
  14. append('plain text';) on <div> should pass
  15. prepend('plain text';) on <div> should pass
  16. replaceWith('plain text #1';,'plain text #2';) on <div> should pass
  17. after('plain text #1';,'plain text #2';) on <div> should pass
  18. before('plain text #1';,'plain text #2';) on <div> should pass
  19. append('plain text #1';,'plain text #2';) on <div> should pass
  20. prepend('plain text #1';,'plain text #2';) on <div> should pass
  21. replaceWith([object Text]) on <div> should pass
  22. after([object Text]) on <div> should pass
  23. before([object Text]) on <div> should pass
  24. append([object Text]) on <div> should pass
  25. prepend([object Text]) on <div> should pass
  26. replaceWith([object Text],[object Text]) on <div> should pass
  27. after([object Text],[object Text]) on <div> should pass
  28. before([object Text],[object Text]) on <div> should pass
  29. append([object Text],[object Text]) on <div> should pass
  30. prepend([object Text],[object Text]) on <div> should pass
  31. replaceWith('mixed';,[object Text]) on <div> should pass
  32. after('mixed';,[object Text]) on <div> should pass
  33. before('mixed';,[object Text]) on <div> should pass
  34. append('mixed';,[object Text]) on <div> should pass
  35. prepend('mixed';,[object Text]) on <div> should pass
  36. replaceWith('mixed';,'script';) on <div> should pass
  37. after('mixed';,'script';) on <div> should pass
  38. before('mixed';,'script';) on <div> should pass
  39. append('mixed';,'script';) on <div> should pass
  40. prepend('mixed';,'script';) on <div> should pass
  41. replaceWith([object Text],'script';) on <div> should pass
  42. after([object Text],'script';) on <div> should pass
  43. before([object Text],'script';) on <div> should pass
  44. append([object Text],'script';) on <div> should pass
  45. prepend([object Text],'script';) on <div> should pass
  46. replaceWith('createScript';) on <script> should pass
  47. after('createScript';) on <script> should pass
  48. before('createScript';) on <script> should pass
  49. append('createScript';) on <script> should pass
  50. prepend('createScript';) on <script> should pass
  51. replaceWith('createScript #1';,'#2;') on <script> should pass
  52. after('createScript #1';,'#2;') on <script> should pass
  53. before('createScript #1';,'#2;') on <script> should pass
  54. append('createScript #1';,'#2;') on <script> should pass
  55. prepend('createScript #1';,'#2;') on <script> should pass
  56. replaceWith('plain text';) on <script> should pass
  57. after('plain text';) on <script> should pass
  58. before('plain text';) on <script> should pass
  59. append('plain text';) on <script> should pass
  60. prepend('plain text';) on <script> should pass
  61. replaceWith('plain text #1';,'plain text #2';) on <script> should pass
  62. after('plain text #1';,'plain text #2';) on <script> should pass
  63. before('plain text #1';,'plain text #2';) on <script> should pass
  64. append('plain text #1';,'plain text #2';) on <script> should pass
  65. prepend('plain text #1';,'plain text #2';) on <script> should pass
  66. replaceWith([object Text]) on <script> should pass
  67. after([object Text]) on <script> should pass
  68. before([object Text]) on <script> should pass
  69. append([object Text]) on <script> should pass
  70. prepend([object Text]) on <script> should pass
  71. replaceWith([object Text],[object Text]) on <script> should pass
  72. after([object Text],[object Text]) on <script> should pass
  73. before([object Text],[object Text]) on <script> should pass
  74. append([object Text],[object Text]) on <script> should pass
  75. prepend([object Text],[object Text]) on <script> should pass
  76. replaceWith('mixed';,[object Text]) on <script> should pass
  77. after('mixed';,[object Text]) on <script> should pass
  78. before('mixed';,[object Text]) on <script> should pass
  79. append('mixed';,[object Text]) on <script> should pass
  80. prepend('mixed';,[object Text]) on <script> should pass
  81. replaceWith('mixed';,'script';) on <script> should pass
  82. after('mixed';,'script';) on <script> should pass
  83. before('mixed';,'script';) on <script> should pass
  84. append('mixed';,'script';) on <script> should pass
  85. prepend('mixed';,'script';) on <script> should pass
  86. replaceWith([object Text],'script';) on <script> should pass
  87. after([object Text],'script';) on <script> should pass
  88. before([object Text],'script';) on <script> should pass
  89. append([object Text],'script';) on <script> should pass
  90. prepend([object Text],'script';) on <script> should pass
Range-createContextualFragment.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. range.createContextualFragment assigned via policy (successful HTML transformation).
SVGScriptElement-internal-slot.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test TT application when manipulating <script> elements during loading.
ServiceWorker-block-eval-function-constructor.https.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Blocked eval in ServiceWorkerGlobalScope.
  2. Blocked indirect eval in ServiceWorkerGlobalScope.
  3. Blocked Function constructor in ServiceWorkerGlobalScope.
  4. Blocked AsyncFunction constructor in ServiceWorkerGlobalScope.
  5. Blocked GeneratorFunction constructor in ServiceWorkerGlobalScope.
  6. Blocked AsyncGeneratorFunction constructor in ServiceWorkerGlobalScope.
ServiceWorker-eval.https.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. eval(string) in service worker
  2. indirect eval(string) in service worker
  3. eval(TrustedScript) in service worker
  4. indirect eval(TrustedScript) in service worker
  5. eval(string) with default policy in service worker
  6. indirect eval(string) with default policy in service worker
  7. eval(string) with default policy mutation in service worker
  8. indirect eval(string) with default policy mutation in service worker
ServiceWorker-importScripts.https.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. importScripts with TrustedScriptURL works in service worker
  2. importScripts with untrusted URLs throws in service worker
  3. null is not a trusted script URL throws in service worker
  4. importScripts with two URLs, both trusted, in service worker
  5. importScripts with two URLs, both strings, in service worker
  6. importScripts with two URLs, one trusted, in service worker
  7. importScripts with untrusted URLs and default policy works in service worker
  8. importScripts with one trusted and one untrusted URLs and default policy works in service worker
ServiceWorkerContainer-register-from-DedicatedWorker.https.html4 / 4 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
4 passing subtests
  1. WorkerNavigator exposed in dedicated worker
  2. register() with TrustedScriptURL works in dedicated worker
  3. register() fails with plain string in dedicated worker
  4. register() fails with plain string in dedicated worker with a default policy
ServiceWorkerContainer-register-from-ServiceWorker.https.html4 / 4 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
4 passing subtests
  1. WorkerNavigator exposed in service worker
  2. register() with TrustedScriptURL works in service worker
  3. register() fails with plain string in service worker
  4. register() fails with plain string in service worker with a default policy
ServiceWorkerContainer-register-from-SharedWorker.https.html4 / 4 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
4 passing subtests
  1. WorkerNavigator exposed in shared worker
  2. register() with TrustedScriptURL works in shared worker
  3. register() fails with plain string in shared worker
  4. register() fails with plain string in shared worker with a default policy
ServiceWorkerContainer-register.https.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Create ServiceWorker via ScriptTestUrl
  2. Block ServiceWorker creation via String
  3. Create ServiceWorker via string with default policy.
SharedWorker-block-eval-function-constructor.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Blocked eval in SharedWorkerGlobalScope.
  2. Blocked indirect eval in SharedWorkerGlobalScope.
  3. Blocked Function constructor in SharedWorkerGlobalScope.
  4. Blocked AsyncFunction constructor in SharedWorkerGlobalScope.
  5. Blocked GeneratorFunction constructor in SharedWorkerGlobalScope.
  6. Blocked AsyncGeneratorFunction constructor in SharedWorkerGlobalScope.
SharedWorker-constructor.https.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Create SharedWorker via ScriptTestUrl
  2. Block SharedWorker creation via string
  3. Create SharedWorker via string with default policy.
SharedWorker-eval.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. eval(string) in shared worker
  2. indirect eval(string) in shared worker
  3. eval(TrustedScript) in shared worker
  4. indirect eval(TrustedScript) in shared worker
  5. eval(string) with default policy in shared worker
  6. indirect eval(string) with default policy in shared worker
  7. eval(string) with default policy mutation in shared worker
  8. indirect eval(string) with default policy mutation in shared worker
SharedWorker-importScripts.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. importScripts with TrustedScriptURL works in shared worker
  2. importScripts with untrusted URLs throws in shared worker
  3. null is not a trusted script URL throws in shared worker
  4. importScripts with two URLs, both trusted, in shared worker
  5. importScripts with two URLs, both strings, in shared worker
  6. importScripts with two URLs, one trusted, in shared worker
  7. importScripts with untrusted URLs and default policy works in shared worker
  8. importScripts with one trusted and one untrusted URLs and default policy works in shared worker
SharedWorker-setTimeout-setInterval.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. SharedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
  2. SharedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
  3. SharedWorkerGlobalScope.setTimeout assigned via default policy (successful Script transformation).
  4. SharedWorkerGlobalScope.setInterval assigned via default policy (successful Script transformation).
  5. SharedWorkerGlobalScope.setTimeout assigned with a function handler shouldn't go through default policy.
  6. SharedWorkerGlobalScope.setInterval assigned with a function handler shouldn't go through default policy.
TrustedType-AttributeNodes.html33 / 33 passingChrome 33 / 330 failedClean
Standing
Clean runner status OK
Chrome
Clean 33 / 33 WPT subtests passing runner status OK
33 passing subtests
  1. Set attribute via attribute node on div.src.
  2. Set attribute via attributenode.value on div.src.
  3. Set attribute via NamedNodeMap.setNamedItem on div.src.
  4. Set attribute via attribute node on div.srcdoc.
  5. Set attribute via attributenode.value on div.srcdoc.
  6. Set attribute via NamedNodeMap.setNamedItem on div.srcdoc.
  7. Set attribute via attributenode.value on div.onclick.
  8. Set attribute via NamedNodeMap.setNamedItem on div.onclick.
  9. Set attribute via attribute node on div.bla.
  10. Set attribute via attributenode.value on div.bla.
  11. Set attribute via NamedNodeMap.setNamedItem on div.bla.
  12. Set attribute via attribute node on script.src.
  13. Set attribute via attributenode.value on script.src.
  14. Set attribute via NamedNodeMap.setNamedItem on script.src.
  15. Set attribute via attribute node on script.srcdoc.
  16. Set attribute via attributenode.value on script.srcdoc.
  17. Set attribute via NamedNodeMap.setNamedItem on script.srcdoc.
  18. Set attribute via attributenode.value on script.onclick.
  19. Set attribute via NamedNodeMap.setNamedItem on script.onclick.
  20. Set attribute via attribute node on script.bla.
  21. Set attribute via attributenode.value on script.bla.
  22. Set attribute via NamedNodeMap.setNamedItem on script.bla.
  23. Set attribute via attribute node on iframe.src.
  24. Set attribute via attributenode.value on iframe.src.
  25. Set attribute via NamedNodeMap.setNamedItem on iframe.src.
  26. Set attribute via attribute node on iframe.srcdoc.
  27. Set attribute via attributenode.value on iframe.srcdoc.
  28. Set attribute via NamedNodeMap.setNamedItem on iframe.srcdoc.
  29. Set attribute via attributenode.value on iframe.onclick.
  30. Set attribute via NamedNodeMap.setNamedItem on iframe.onclick.
  31. Set attribute via attribute node on iframe.bla.
  32. Set attribute via attributenode.value on iframe.bla.
  33. Set attribute via NamedNodeMap.setNamedItem on iframe.bla.
TrustedTypePolicy-CSP-no-name.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. No name list given - policy creation fails.
TrustedTypePolicy-CSP-wildcard.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSP supports wildcards.
TrustedTypePolicy-createXXX.html29 / 29 passingChrome 29 / 290 failedClean
Standing
Clean runner status OK
Chrome
Clean 29 / 29 WPT subtests passing runner status OK
29 passing subtests
  1. calling undefined callbacks throws
  2. Attributes without type constraints will work as before.
  3. trustedTypes.createPolicy(.., null) creates empty policy.
  4. TestPolicyTrustedHTML0 (TrustedHTML: s => s)
  5. TestPolicyTrustedHTML1 (TrustedHTML: s => null)
  6. TestPolicyTrustedHTML2 (TrustedHTML: s => "well, " + s)
  7. TestPolicyTrustedHTML3 (TrustedHTML: s => { throw new Error() })
  8. TestPolicyTrustedHTML4 (TrustedHTML: callback_to_capture_this(s) { return String(this); })
  9. TestPolicyTrustedHTML5 (TrustedHTML: s => { aGlobalVarForSideEffectTesting = s; return s })
  10. TestPolicyTrustedHTML6 (TrustedHTML: s => aGlobalVarForSideEffectTesting + s)
  11. TestPolicyTrustedHTML7 (TrustedHTML: function () { [native code] })
  12. TestPolicyTrustedHTML8 (TrustedHTML: s => aGlobalFunction(s))
  13. TestPolicyTrustedScript0 (TrustedScript: s => s)
  14. TestPolicyTrustedScript1 (TrustedScript: s => null)
  15. TestPolicyTrustedScript2 (TrustedScript: s => "well, " + s)
  16. TestPolicyTrustedScript3 (TrustedScript: s => { throw new Error() })
  17. TestPolicyTrustedScript4 (TrustedScript: callback_to_capture_this(s) { return String(this); })
  18. TestPolicyTrustedScript5 (TrustedScript: s => { aGlobalVarForSideEffectTesting = s; return s })
  19. TestPolicyTrustedScript6 (TrustedScript: s => aGlobalVarForSideEffectTesting + s)
  20. TestPolicyTrustedScript7 (TrustedScript: function () { [native code] })
  21. TestPolicyTrustedScript8 (TrustedScript: s => aGlobalFunction(s))
  22. TestPolicyTrustedScriptURL0 (TrustedScriptURL: s => s)
  23. TestPolicyTrustedScriptURL1 (TrustedScriptURL: s => null)
  24. TestPolicyTrustedScriptURL2 (TrustedScriptURL: s => s + "#duck")
  25. TestPolicyTrustedScriptURL3 (TrustedScriptURL: s => { throw new Error() })
  26. TestPolicyTrustedScriptURL4 (TrustedScriptURL: callback_to_capture_this(s) { return String(this); })
  27. TestPolicyTrustedScriptURL5 (TrustedScriptURL: s => s + "#" + aGlobalVarForSideEffectTesting)
  28. TestPolicyTrustedScriptURL6 (TrustedScriptURL: function () { [native code] })
  29. TestPolicyTrustedScriptURL7 (TrustedScriptURL: s => anotherGlobalFunction(s))
TrustedTypePolicyFactory-constants.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. trustedTypes.emptyHTML returns the intended value.
  2. trustedTypes.emptyHTML cannot be redefined.
  3. trustedTypes.emptyHTML cannot be redefined via defineProperty.
  4. trustedTypes.emptyScript returns the intended value.
  5. trustedTypes.emptyScript cannot be redefined.
  6. trustedTypes.emptyScript cannot be redefined via defineProperty.
TrustedTypePolicyFactory-createPolicy-createXYZTests.html28 / 28 passingChrome 28 / 280 failedClean
Standing
Clean runner status OK
Chrome
Clean 28 / 28 WPT subtests passing runner status OK
28 passing subtests
  1. html = identity function
  2. html = null
  3. html = string + global string
  4. html = identity function, global string changed
  5. html = callback that throws
  6. html = this bound to an object
  7. html = this without bind
  8. html - calling undefined callback throws
  9. createHTML defined - calling undefined callbacks throws
  10. script = identity function
  11. script = null
  12. script = string + global string
  13. script = identity function, global string changed
  14. script = callback that throws
  15. script = this bound to an object
  16. script = this without bind
  17. script - calling undefined callback throws
  18. createScript defined - calling undefined callbacks throws
  19. script_url = identity function
  20. script_url = null
  21. script_url = string + global string
  22. script_url = identity function, global string changed
  23. script_url = callback that throws
  24. script_url = this bound to an object
  25. script_url = this without bind
  26. script_url - calling undefined callback throws
  27. createScriptURL defined - calling undefined callbacks throws
  28. Arbitrary number of arguments
TrustedTypePolicyFactory-createPolicy-cspTests-case.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Can create policy with name 'SomeName'
  2. Can create a second policy with name 'SomeName'
TrustedTypePolicyFactory-createPolicy-cspTests-case2.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Cannot create a policy when CSP lists 'none'
TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. No name list given - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-none-name.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Can create policy with name 'SomeName'
  2. Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-none.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Cannot create policy with name 'SomeName' - policy creation throws
  2. Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Can create policy with name 'SomeName'
  2. Can create a second policy with name 'SomeName'
  3. Can create policy with name 'default'
TrustedTypePolicyFactory-createPolicy-cspTests-none.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Cannot create policy with name 'SomeName' - policy creation throws
  2. Cannot create policy with name 'default' - policy creation throws
TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Wildcard given - policy creation works
TrustedTypePolicyFactory-createPolicy-cspTests.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Allowed-name policy creation works.
  2. Another allowed-name policy creation works.
  3. Non-allowed name policy creation throws.
  4. Duplicate name policy creation throws.
TrustedTypePolicyFactory-createPolicy-non-tt-policy-name.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Creating an empty policy name works.
  2. Creating policy names made of a single ASCII character works.
  3. Creating policy names made of multiple ASCII characters works.
  4. Creating policy names containing a non-ASCII BMP character works.
  5. Creating policy names containing a non-BMP character works.
TrustedTypePolicyFactory-createPolicy-unenforced.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Duplicate policy names should be tolerated (unless in enforcing mode)
TrustedTypePolicyFactory-defaultPolicy.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. defaultPolicy with no default created is not an error
  2. defaultPolicy returns the correct default policy
  3. defaultPolicy is a read-only property
TrustedTypePolicyFactory-getAttributeType-namespace.html21 / 21 passingChrome 21 / 210 failedClean
Standing
Clean runner status OK
Chrome
Clean 21 / 21 WPT subtests passing runner status OK
21 passing subtests
  1. 0: getAttributeType with full namespace info.
  2. 0: getAttributeType with element namespace and empty attribute namespace
  3. 0: getAttributeType without namespaces.
  4. 0: getAttributeType with undefined and empty namespace.
  5. 0: getAttributeType with empty and undefined namespace.
  6. 0: getAttributeType with empty namespaces.
  7. 0: getAttributeType with element namespace and empty attribute namespace.
  8. 1: getAttributeType with full namespace info.
  9. 1: getAttributeType with element namespace and empty attribute namespace
  10. 1: getAttributeType without namespaces.
  11. 1: getAttributeType with undefined and empty namespace.
  12. 1: getAttributeType with empty and undefined namespace.
  13. 1: getAttributeType with empty namespaces.
  14. 1: getAttributeType with element namespace and empty attribute namespace.
  15. 2: getAttributeType with full namespace info.
  16. 2: getAttributeType with element namespace and empty attribute namespace
  17. 2: getAttributeType without namespaces.
  18. 2: getAttributeType with undefined and empty namespace.
  19. 2: getAttributeType with empty and undefined namespace.
  20. 2: getAttributeType with empty namespaces.
  21. 2: getAttributeType with element namespace and empty attribute namespace.
TrustedTypePolicyFactory-getAttributeType-svg.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. trustedTypes.getAttributeType html script[href]
  2. trustedTypes.getAttributeType svg script[href]
  3. trustedTypes.getAttributeType svg script[href] xlink href
  4. trustedTypes.getAttributeType svg script[href] other href
TrustedTypePolicyFactory-getAttributeType.html23 / 23 passingChrome 23 / 230 failedClean
Standing
Clean runner status OK
Chrome
Clean 23 / 23 WPT subtests passing runner status OK
23 passing subtests
  1. getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "null") == "TrustedScript"
  2. getAttributeType( "g", "ondblclick", "http://www.w3.org/2000/svg", "null") == "TrustedScript"
  3. getAttributeType( "mrow", "onmousedown", "http://www.w3.org/1998/Math/MathML", "null") == "TrustedScript"
  4. getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "TrustedHTML"
  5. getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "null") == "TrustedScriptURL"
  6. getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "null") == "TrustedScriptURL"
  7. getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "http://www.w3.org/1999/xlink") == "TrustedScriptURL"
  8. getAttributeType( "foo", "onmouseup", "https://example.com/namespace", "null") == "null"
  9. getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
  10. getAttributeType( "DIV", "ondoesnotexist", "http://www.w3.org/1999/xhtml", "null") == "null"
  11. getAttributeType( "DIV", "data-onclick", "http://www.w3.org/1999/xhtml", "null") == "null"
  12. getAttributeType( "DIV", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"
  13. getAttributeType( "iframe", "srcdoc", "https://example.com/namespace", "null") == "null"
  14. getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
  15. getAttributeType( "IFRAME", "data-srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"
  16. getAttributeType( "DIV", "src", "http://www.w3.org/1999/xhtml", "null") == "null"
  17. getAttributeType( "script", "src", "https://example.com/namespace", "null") == "null"
  18. getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"
  19. getAttributeType( "SCRIPT", "data-src", "http://www.w3.org/1999/xhtml", "null") == "null"
  20. getAttributeType( "g", "href", "http://www.w3.org/2000/svg", "null") == "null"
  21. getAttributeType( "SCRIPT", "href", "http://www.w3.org/1999/xhtml", "null") == "null"
  22. getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "https://example.com/namespace") == "null"
  23. getAttributeType( "script", "src", "http://www.w3.org/2000/svg", "null") == "null"
TrustedTypePolicyFactory-isXXX.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. TrustedTypePolicyFactory.isHTML requires the object to be created via policy.
  2. TrustedTypePolicyFactory.isScript requires the object to be created via policy.
  3. TrustedTypePolicyFactory.isScriptURL requires the object to be created via policy.
  4. TrustedTypePolicyFactory.isXXX should accept anything without throwing.
Window-TrustedTypes.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. factory = window.trustedTypes
  2. factory construction fails
Window-block-eval-function-constructor.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Blocked eval in Window.
  2. Blocked indirect eval in Window.
  3. Blocked Function constructor in Window.
  4. Blocked AsyncFunction constructor in Window.
  5. Blocked GeneratorFunction constructor in Window.
  6. Blocked AsyncGeneratorFunction constructor in Window.
Window-setTimeout-setInterval-default-policy-before-csp.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. setTimeout() runs the default policy and then blocks the rewritten string handler
  2. setInterval() runs the default policy and then blocks the rewritten string handler
Window-setTimeout-setInterval.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Window.setTimeout assigned via policy (successful Script transformation).
  2. Window.setInterval assigned via policy (successful Script transformation).
  3. Window.setTimeout assigned via default policy (successful Script transformation).
  4. Window.setInterval assigned via default policy (successful Script transformation).
  5. Window.setTimeout assigned with a function handler shouldn't go through default policy.
  6. Window.setInterval assigned with a function handler shouldn't go through default policy.
block-Document-execCommand.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Document.execCommand("insertHTML") throws.
  2. Document.execCommand("insertHTML") works with a TrustedHTML argument.
  3. Document.execCommand("paste") works as usual."
  4. Document.execCommand("paste") works with a TrustedHTML argument.
  5. Document.execCommand("insertHTML") works as usual with a default policy.
  6. Document.execCommand("paste") works as usual with a default policy.
block-string-assignment-to-DOMParser-parseFromString.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. document.innerText assigned via policy (successful HTML transformation).
  2. `document.innerText = string` throws.
  3. 'document.innerText = null' throws
  4. 'document.innerText = string' assigned via default policy (successful HTML transformation).
  5. 'document.innerText = null' assigned via default policy does not throw
block-string-assignment-to-DedicatedWorker-setTimeout-setInterval.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. DedicatedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
  2. `DedicatedWorkerGlobalScope.setTimeout(string)` throws.
  3. `DedicatedWorkerGlobalScope.setTimeout(null)` throws.
  4. DedicatedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
  5. `DedicatedWorkerGlobalScope.setInterval(string)` throws.
  6. `DedicatedWorkerGlobalScope.setInterval(null)` throws.
  7. `DedicatedWorkerGlobalScope.setTimeout(string)`, `DedicatedWorkerGlobalScope.setInterval(string)` via default policy (successful Script transformation).
  8. `DedicatedWorkerGlobalScope.setTimeout(null)`, `DedicatedWorkerGlobalScope.setInterval(null)` via default policy (successful Script transformation).
  9. DedicatedWorkerGlobalScope.setTimeout and DedicatedWorkerGlobalScope.setInterval pass the correct sink to the default policy
block-string-assignment-to-Document-parseHTMLUnsafe.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Document.parseHTMLUnsafe assigned via policy (successful HTML transformation).
  2. `Document.parseHTMLUnsafe(string)` throws.
  3. 'Document.parseHTMLUnsafe(null)' throws
  4. 'Document.parseHTMLUnsafe(string)' assigned via default policy (successful HTML transformation).
  5. 'Document.parseHTMLUnsafe(null)' assigned via default policy does not throw
block-string-assignment-to-Document-write.html20 / 20 passingChrome 20 / 200 failedClean
Standing
Clean runner status OK
Chrome
Clean 20 / 20 WPT subtests passing runner status OK
20 passing subtests
  1. document.write with html assigned via policy (successful URL transformation).
  2. document.write with multiple trusted arguments.
  3. document.writeln with html assigned via policy (successful URL transformation).
  4. document.writeln with multiple trusted arguments.
  5. `document.write(string)` throws
  6. `document.write(string, string)` throws
  7. `document.write(string, TrustedHTML)` throws
  8. `document.writeln(string)` throws
  9. `document.writeln(string, string)` throws
  10. `document.writeln(string, TrustedHTML)` throws
  11. `document.write(null)` throws
  12. `document.writeln(null)` throws
  13. `document.write(string)` observes default policy
  14. `document.write(string, string)` observes default policy
  15. `document.write(string, TrustedHTML)` observes default policy
  16. `document.write` passes the correct sink string to the default policy
  17. `document.writeln(string)` observes default policy
  18. `document.writeln(string, string)` observes default policy
  19. `document.writeln(string, TrustedHTML)` observes default policy
  20. `document.writeln` passes the correct sink string to the default policy
block-string-assignment-to-Element-insertAdjacentHTML.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. insertAdjacentHTML with html assigned via policy (successful HTML transformation).
  2. insertAdjacentHTML(TrustedHTML) throws SyntaxError DOMException when position invalid.
  3. `insertAdjacentHTML(string)` throws.
  4. `insertAdjacentHTML(string)` still throws TypeError when position invalid.
  5. `insertAdjacentHTML(null)` throws.
  6. `insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).
  7. `insertAdjacentHTML(null)` assigned via default policy does not throw.
block-string-assignment-to-Element-outerHTML.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. outerHTML with html assigned via policy (successful HTML transformation).
  2. `outerHTML = TrustedHTML` throws NoModificationAllowedError when parent is a document.
  3. `outerHTML = string` throws.
  4. `outerHTML = string` throws TypeError even when parent is a document.
  5. `outerHTML = null` throws.
  6. `outerHTML = string` assigned via default policy (successful HTML transformation).
  7. `outerHTML = null` assigned via default policy does not throw
block-string-assignment-to-Element-setAttribute.html14 / 14 passingChrome 14 / 140 failedClean
Standing
Clean runner status OK
Chrome
Clean 14 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. script.src accepts only TrustedScriptURL
  2. iframe.srcdoc accepts only TrustedHTML
  3. div.onclick accepts only TrustedScript
  4. `Script.prototype.setAttribute.SrC = string` throws.
  5. script.src accepts string and null after default policy was created.
  6. script.src's mutationobservers receive the default policy's value.
  7. iframe.srcdoc's mutationobservers receive the default policy's value.
  8. div.onclick's mutationobservers receive the default policy's value.
  9. iframe.srcdoc accepts string and null after default policy was created.
  10. div.onclick accepts string and null after default policy was created.
  11. a.rel accepts a Trusted Type
  12. a.rel accepts strings
  13. a.rel accepts null
  14. `script.src = setAttributeNode(embed.src)` with string works.
block-string-assignment-to-Element-setAttributeNS.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. Element.setAttributeNS assigned via policy (successful HTML transformation)
  2. Element.setAttributeNS assigned via policy (successful Script transformation)
  3. Element.setAttributeNS assigned via policy (successful ScriptURL transformation)
  4. Element.setAttributeNS accepts untrusted string for non-specced accessor
  5. Element.setAttributeNS accepts null for non-specced accessor
  6. Assigning TrustedScriptURL to <svg:script xlink:href=...> works
  7. Blocking non-TrustedScriptURL assignment to <svg:script xlink:href=...> works
  8. Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "SRCDOC" (ns=null) for "iframe" element (ns=http://www.w3.org/1999/xhtml).
  9. Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "SRC" (ns=null) for "script" element (ns=http://www.w3.org/1999/xhtml).
  10. Check `setAttributeNS` allows setting non-trusted string for non-lowercase attribute "HREF" (ns=null) for "script" element (ns=http://www.w3.org/2000/svg).
  11. 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.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. element.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).
  2. `element.setHTMLUnsafe(string)` throws.
  3. `element.setHTMLUnsafe(null)` throws.
  4. `element.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).
  5. `element.setHTMLUnsafe(string)` assigned via default policy does not throw
block-string-assignment-to-HTMLElement-generic.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. script.src accepts only TrustedScriptURL
  2. div.innerHTML accepts only TrustedHTML
  3. iframe.srcdoc accepts only TrustedHTML
  4. script.src accepts string and null after default policy was created
  5. div.innerHTML accepts string and null after default policy was created
  6. iframe.srcdoc accepts string and null after default policy was created
  7. script.text accepts only TrustedScript
  8. script.innerText accepts only TrustedScript
  9. script.textContent accepts only TrustedScript
block-string-assignment-to-HTMLIFrameElement-srcdoc.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. iframe.srcdoc assigned via policy (successful HTML transformation).
  2. `iframe.srcdoc = string` throws.
  3. `iframe.srcdoc = null` throws.
  4. `iframe.srcdoc = string` assigned via default policy (successful HTML transformation).
  5. `iframe.srcdoc = null` assigned via default policy does not throw
block-string-assignment-to-Range-createContextualFragment.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. range.createContextualFragment assigned via policy (successful HTML transformation).
  2. `range.createContextualFragment(string)` throws.
  3. `range.createContextualFragment(null)` throws.
  4. `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).
  5. `range.createContextualFragment(null)` assigned via default policy does not throw.
block-string-assignment-to-ShadowRoot-innerHTML.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. shadowRoot.innerHTML = html assigned via policy (successful HTML transformation).
  2. `shadowRoot.innerHTML = string` throws.
  3. `shadowRoot.innerHTML = null` throws.
  4. `shadowRoot.innerHTML = string` assigned via default policy (successful HTML transformation).
  5. `shadowRoot.innerHTML = string` assigned via default policy does not throw
block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).
  2. `shadowRoot.setHTMLUnsafe(string)` throws.
  3. `shadowRoot.setHTMLUnsafe(null)` throws.
  4. `shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).
  5. `shadowRoot.setHTMLUnsafe(string)` assigned via default policy does not throw
block-string-assignment-to-SharedWorker-setTimeout-setInterval.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. SharedWorkerGlobalScope.setTimeout assigned via policy (successful Script transformation).
  2. `SharedWorkerGlobalScope.setTimeout(string)` throws.
  3. `SharedWorkerGlobalScope.setTimeout(null)` throws.
  4. SharedWorkerGlobalScope.setInterval assigned via policy (successful Script transformation).
  5. `SharedWorkerGlobalScope.setInterval(string)` throws.
  6. `SharedWorkerGlobalScope.setInterval(null)` throws.
  7. `SharedWorkerGlobalScope.setTimeout(string)`, `SharedWorkerGlobalScope.setInterval(string)` via default policy (successful Script transformation).
  8. `SharedWorkerGlobalScope.setTimeout(null)`, `SharedWorkerGlobalScope.setInterval(null)` via default policy (successful Script transformation).
  9. SharedWorkerGlobalScope.setTimeout and SharedWorkerGlobalScope.setInterval pass the correct sink to the default policy
block-string-assignment-to-Window-setTimeout-setInterval.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Window.setTimeout assigned via policy (successful Script transformation).
  2. `Window.setTimeout(string)` throws.
  3. `Window.setTimeout(null)` throws.
  4. Window.setInterval assigned via policy (successful Script transformation).
  5. `Window.setInterval(string)` throws.
  6. `Window.setInterval(null)` throws.
  7. `Window.setTimeout(string)`, `Window.setInterval(string)` via default policy (successful Script transformation).
  8. `Window.setTimeout(null)`, `Window.setInterval(null)` via default policy (successful Script transformation).
  9. Window.setTimeout and Window.setInterval pass the correct sink to the default policy
block-string-assignment-to-attribute-via-attribute-node.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. Sanity check: Setting non-TT attributes still works.
  2. Set script.src via textContent
  3. Set script.src via nodeValue
  4. Set iframe.srcdoc via textContent
  5. Set iframe.srcdoc via nodeValue
  6. Set div.onclick via textContent
  7. Set div.onclick via nodeValue
block-string-assignment-to-text-and-url-sinks.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. Setting HTMLDivElement.innerHTML to a plain string
  2. Setting HTMLScriptElement.innerHTML to a plain string
  3. Setting SVGScriptElement.innerHTML to a plain string
  4. Setting HTMLDivElement.innerText to a plain string
  5. Setting HTMLScriptElement.innerText to a plain string
  6. Setting SVGScriptElement.innerText to a plain string
  7. Setting HTMLDivElement.textContent to a plain string
  8. Setting HTMLScriptElement.textContent to a plain string
  9. Setting SVGScriptElement.textContent to a plain string
  10. Setting HTMLScriptElement.text to a plain string
  11. Setting HTMLScriptElement.src to a plain string
block-text-node-insertion-into-script-element.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Regression test: Bypass via insertAdjacentText, initial comment.
  2. Regression test: Bypass via insertAdjacentText, textContent.
  3. Regression test: Bypass via appendChild into off-document script element.
  4. Regression test: Bypass via appendChild into live script element.
  5. Spot tests around script + innerHTML interaction.
  6. Prep for subsequent tests: Create default policy.
  7. Test that default policy applies.
  8. Test that default policy applies to module script.
  9. Test a failing default policy.
  10. Spot tests around script + innerHTML interaction with default policy.
block-text-node-insertion-into-svg-script-element.html8 / 9 passingChrome 9 / 91 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
  1. 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
  1. Regression test: Bypass via insertAdjacentText, textContent. svg:script
  2. Regression test: Bypass via appendChild into off-document script element. svg:script
  3. Regression test: Bypass via appendChild into live script element. svg:script
  4. Spot tests around script + innerHTML interaction.
  5. Prep for subsequent tests: Create default policy.
  6. Test that default policy applies. svg:script
  7. Test a failing default policy. svg:script
  8. Spot tests around script + innerHTML interaction with default policy.
csp-block-eval.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. eval with plain string throws (both block).
  2. eval with TrustedScript throws (script-src blocks).
default-policy-callback-arguments.html5 / 5 passingChrome 4 / 50 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Test callback arguments, case Element innerHTML
  2. Test callback arguments, case HTMLScriptElement textContent
  3. Test callback arguments, case HTMLScriptElement src
  4. Test callback arguments, case eval
  5. Test callback arguments, case Function
default-policy-report-only.html19 / 19 passingChrome 19 / 190 failedClean
Standing
Clean runner status OK
Chrome
Clean 19 / 19 WPT subtests passing runner status OK
19 passing subtests
  1. Count SecurityPolicyViolation events.
  2. script.src no default policy
  3. div.innerHTML no default policy
  4. script.text no default policy
  5. script.src default
  6. script.src null
  7. script.src throw
  8. script.src undefined
  9. script.src typeerror
  10. div.innerHTML default
  11. div.innerHTML null
  12. div.innerHTML throw
  13. div.innerHTML undefined
  14. div.innerHTML typeerror
  15. script.text default
  16. script.text null
  17. script.text throw
  18. script.text undefined
  19. script.text typeerror
default-policy.html19 / 19 passingChrome 19 / 190 failedClean
Standing
Clean runner status OK
Chrome
Clean 19 / 19 WPT subtests passing runner status OK
19 passing subtests
  1. Count SecurityPolicyViolation events.
  2. script.src no default policy
  3. div.innerHTML no default policy
  4. script.text no default policy
  5. script.src default
  6. script.src null
  7. script.src throw
  8. script.src undefined
  9. script.src typeerror
  10. div.innerHTML default
  11. div.innerHTML null
  12. div.innerHTML throw
  13. div.innerHTML undefined
  14. div.innerHTML typeerror
  15. script.text default
  16. script.text null
  17. script.text throw
  18. script.text undefined
  19. script.text typeerror
empty-default-policy-report-only.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Count SecurityPolicyViolation events.
  2. script.src default
  3. div.innerHTML default
  4. script.text default
empty-default-policy.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Count SecurityPolicyViolation events.
  2. script.src default
  3. div.innerHTML default
  4. script.text default
eval-csp-no-tt.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string works.
  4. indirect eval of string works.
  5. eval of !TrustedScript and !string works.
  6. Function constructor of TrustedScript works.
  7. Function constructor of string works.
eval-csp-tt-default-policy-mutate.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK

/trusted-types/eval-csp-tt-default-policy-mutate.html?default OK 6 / 6

6 passing subtests
  1. eval of string where default policy mutates value throws.
  2. indirect eval of string where default policy mutates value throws.
  3. Function constructor with string where default policy mutates value throws.
  4. AsyncFunction constructor with string where default policy mutates value throws.
  5. GeneratorFunction constructor with string where default policy mutates value throws.
  6. 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
  1. eval of string where default policy mutates value throws.
  2. indirect eval of string where default policy mutates value throws.
  3. Function constructor with string where default policy mutates value throws.
  4. AsyncFunction constructor with string where default policy mutates value throws.
  5. GeneratorFunction constructor with string where default policy mutates value throws.
  6. AsyncGeneratorFunction constructor with string where default policy mutates value throws.
eval-csp-tt-default-policy.html48 / 48 passingChrome 48 / 480 failedClean
Standing
Clean runner status OK
Chrome
Clean 48 / 48 WPT subtests passing runner status OK

/trusted-types/eval-csp-tt-default-policy.html?default OK 24 / 24

24 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string works.
  4. eval of !TrustedScript and !string works.
  5. Function constructor of TrustedScript works.
  6. Function constructor of string works.
  7. Function constructor of all TrustedScripts works.
  8. Function constructor of all strings works.
  9. Function constructor of string and TrustedScript works.
  10. Async Function constructor of TrustedScript works.
  11. AsyncFunction constructor of string works.
  12. AsyncFunction constructor of all TrustedScripts works.
  13. AsyncFunction constructor of all strings works.
  14. AsyncFunction constructor of string and TrustedScript works.
  15. GeneratorFunction constructor of TrustedScript works.
  16. GeneratorFunction constructor of string works.
  17. GeneratorFunction constructor of all TrustedScripts works.
  18. GeneratorFunction constructor of all strings works.
  19. GeneratorFunction constructor of string and TrustedScript works.
  20. AsyncGeneratorFunction constructor of TrustedScript works.
  21. AsyncGeneratorFunction constructor of string works.
  22. AsyncGeneratorFunction constructor of all TrustedScripts works.
  23. AsyncGeneratorFunction constructor of all strings works.
  24. AsyncGeneratorFunction constructor of string and TrustedScript works.

/trusted-types/eval-csp-tt-default-policy.html?trusted-types-eval OK 24 / 24

24 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string works.
  4. eval of !TrustedScript and !string works.
  5. Function constructor of TrustedScript works.
  6. Function constructor of string works.
  7. Function constructor of all TrustedScripts works.
  8. Function constructor of all strings works.
  9. Function constructor of string and TrustedScript works.
  10. Async Function constructor of TrustedScript works.
  11. AsyncFunction constructor of string works.
  12. AsyncFunction constructor of all TrustedScripts works.
  13. AsyncFunction constructor of all strings works.
  14. AsyncFunction constructor of string and TrustedScript works.
  15. GeneratorFunction constructor of TrustedScript works.
  16. GeneratorFunction constructor of string works.
  17. GeneratorFunction constructor of all TrustedScripts works.
  18. GeneratorFunction constructor of all strings works.
  19. GeneratorFunction constructor of string and TrustedScript works.
  20. AsyncGeneratorFunction constructor of TrustedScript works.
  21. AsyncGeneratorFunction constructor of string works.
  22. AsyncGeneratorFunction constructor of all TrustedScripts works.
  23. AsyncGeneratorFunction constructor of all strings works.
  24. AsyncGeneratorFunction constructor of string and TrustedScript works.
eval-csp-tt-no-default-policy.html26 / 26 passingChrome 22 / 260 failedClean
Standing
Clean runner status OK
Chrome
With failures 22 / 26 WPT subtests passing runner status OK

/trusted-types/eval-csp-tt-no-default-policy.html?default OK 13 / 13

13 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string fails.
  4. indirect eval of string fails.
  5. eval of !TrustedScript and !string works.
  6. Function constructor of TrustedScript works.
  7. Function constructor of string fails.
  8. Function constructor of all TrustedScripts works.
  9. Function constructor of all strings fails.
  10. Function constructor of string and TrustedScript fails.
  11. AsyncFunction constructor of string fails.
  12. GeneratorFunction constructor of string fails.
  13. AsyncGeneratorFunction constructor of string fails.

/trusted-types/eval-csp-tt-no-default-policy.html?trusted-types-eval OK 13 / 13

13 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string fails.
  4. indirect eval of string fails.
  5. eval of !TrustedScript and !string works.
  6. Function constructor of TrustedScript works.
  7. Function constructor of string fails.
  8. Function constructor of all TrustedScripts works.
  9. Function constructor of all strings fails.
  10. Function constructor of string and TrustedScript fails.
  11. AsyncFunction constructor of string fails.
  12. GeneratorFunction constructor of string fails.
  13. AsyncGeneratorFunction constructor of string fails.
eval-function-constructor-untrusted-arguments-and-applying-default-policy.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. plain string at index 0 (default policy modifying the function text).
  2. plain string at index 1 (default policy modifying the function text).
  3. plain string at index 2 (default policy modifying the function text).
  4. plain string at index 3 (default policy modifying the function text).
  5. plain string at index 0 (default policy leaving the function text unchanged).
  6. plain string at index 1 (default policy leaving the function text unchanged).
  7. plain string at index 2 (default policy leaving the function text unchanged).
  8. plain string at index 3 (default policy leaving the function text unchanged).
  9. TrustedScript with forged toString() at index 0 (default policy not invoked).
  10. TrustedScript with forged toString() at index 1 (default policy not invoked).
  11. TrustedScript with forged toString() at index 2 (default policy not invoked).
  12. TrustedScript with forged toString() at index 3 (default policy not invoked).
eval-function-constructor-untrusted-arguments-and-default-policy-throwing.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. EvalError thrown if the callback of the default policy throws an error (eval).
  2. EvalError thrown if the callback of the default policy throws an error (new Function).
eval-function-constructor.html65 / 65 passingChrome 60 / 650 failedClean
Standing
Clean runner status OK
Chrome
With failures 60 / 65 WPT subtests passing runner status OK
65 passing subtests
  1. Function constructor with mixed plain and trusted strings, mask #0
  2. AsyncFunction constructor with mixed plain and trusted strings, mask #0
  3. GeneratorFunction constructor with mixed plain and trusted strings, mask #0
  4. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #0
  5. Function constructor with mixed plain and trusted strings, mask #1
  6. AsyncFunction constructor with mixed plain and trusted strings, mask #1
  7. GeneratorFunction constructor with mixed plain and trusted strings, mask #1
  8. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #1
  9. Function constructor with mixed plain and trusted strings, mask #2
  10. AsyncFunction constructor with mixed plain and trusted strings, mask #2
  11. GeneratorFunction constructor with mixed plain and trusted strings, mask #2
  12. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #2
  13. Function constructor with mixed plain and trusted strings, mask #3
  14. AsyncFunction constructor with mixed plain and trusted strings, mask #3
  15. GeneratorFunction constructor with mixed plain and trusted strings, mask #3
  16. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #3
  17. Function constructor with mixed plain and trusted strings, mask #4
  18. AsyncFunction constructor with mixed plain and trusted strings, mask #4
  19. GeneratorFunction constructor with mixed plain and trusted strings, mask #4
  20. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #4
  21. Function constructor with mixed plain and trusted strings, mask #5
  22. AsyncFunction constructor with mixed plain and trusted strings, mask #5
  23. GeneratorFunction constructor with mixed plain and trusted strings, mask #5
  24. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #5
  25. Function constructor with mixed plain and trusted strings, mask #6
  26. AsyncFunction constructor with mixed plain and trusted strings, mask #6
  27. GeneratorFunction constructor with mixed plain and trusted strings, mask #6
  28. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #6
  29. Function constructor with mixed plain and trusted strings, mask #7
  30. AsyncFunction constructor with mixed plain and trusted strings, mask #7
  31. GeneratorFunction constructor with mixed plain and trusted strings, mask #7
  32. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #7
  33. Function constructor with mixed plain and trusted strings, mask #8
  34. AsyncFunction constructor with mixed plain and trusted strings, mask #8
  35. GeneratorFunction constructor with mixed plain and trusted strings, mask #8
  36. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #8
  37. Function constructor with mixed plain and trusted strings, mask #9
  38. AsyncFunction constructor with mixed plain and trusted strings, mask #9
  39. GeneratorFunction constructor with mixed plain and trusted strings, mask #9
  40. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #9
  41. Function constructor with mixed plain and trusted strings, mask #10
  42. AsyncFunction constructor with mixed plain and trusted strings, mask #10
  43. GeneratorFunction constructor with mixed plain and trusted strings, mask #10
  44. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #10
  45. Function constructor with mixed plain and trusted strings, mask #11
  46. AsyncFunction constructor with mixed plain and trusted strings, mask #11
  47. GeneratorFunction constructor with mixed plain and trusted strings, mask #11
  48. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #11
  49. Function constructor with mixed plain and trusted strings, mask #12
  50. AsyncFunction constructor with mixed plain and trusted strings, mask #12
  51. GeneratorFunction constructor with mixed plain and trusted strings, mask #12
  52. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #12
  53. Function constructor with mixed plain and trusted strings, mask #13
  54. AsyncFunction constructor with mixed plain and trusted strings, mask #13
  55. GeneratorFunction constructor with mixed plain and trusted strings, mask #13
  56. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #13
  57. Function constructor with mixed plain and trusted strings, mask #14
  58. AsyncFunction constructor with mixed plain and trusted strings, mask #14
  59. GeneratorFunction constructor with mixed plain and trusted strings, mask #14
  60. AsyncGeneratorFunction constructor with mixed plain and trusted strings, mask #14
  61. Function constructor with mixed plain and trusted strings, mask #15
  62. Function constructor with trusted strings, and a forged toString() for the one at index 0
  63. Function constructor with trusted strings, and a forged toString() for the one at index 1
  64. Function constructor with trusted strings, and a forged toString() for the one at index 2
  65. Function constructor with trusted strings, and a forged toString() for the one at index 3
eval-no-csp-no-tt-default-policy.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string works and does not call a default policy.
  4. indirect eval of string works and does not call a default policy.
  5. eval of !TrustedScript and !string works.
  6. Function constructor of TrustedScript works.
  7. Function constructor of string works and does not call a default policy.
eval-no-csp-no-tt.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. eval of TrustedScript works.
  2. indirect eval of TrustedScript works.
  3. eval of string works.
  4. indirect eval of string works.
  5. eval of !TrustedScript and !string works.
  6. Function constructor of TrustedScript works.
  7. Function constructor of all TrustedScripts works.
  8. Function constructor of string works.
  9. Function constructor of all strings works.
  10. Function constructor of string and TrustedScript works.
eval-with-non-trusted-script-object.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Function constructor of stringified object and TrustedScript fails.
eval-with-permissive-csp.html9 / 9 passingChrome 8 / 90 failedClean
Standing
Clean runner status OK
Chrome
With failures 8 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. eval with plain string with Trusted Types and permissive CSP throws (no type).
  2. indirect eval with plain string with Trusted Types and permissive CSP throws (no type).
  3. Function constructor with plain string with Trusted Types and permissive CSP throws (no type).
  4. eval with TrustedScript and permissive CSP works.
  5. indirect eval with TrustedScript and permissive CSP works.
  6. new Function with TrustedScript and permissive CSP works.
  7. eval with plain string with Trusted Types and permissive CSP works with default policy.
  8. indirect eval with plain string with Trusted Types and permissive CSP works with default policy.
  9. new Function with plain string default policy and permissive CSP works with default policy.
get-trusted-types-compliant-attribute-value.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Test sink for div.setAttributeNS(null, onclick)
  2. Test sink for iframe.setAttributeNS(null, srcdoc)
  3. Test sink for script.setAttributeNS(null, src)
  4. Test sink for script.setAttributeNS(null, href)
  5. Test sink for script.setAttributeNS(http://www.w3.org/1999/xlink, href)
idlharness.window.js109 / 109 passingChrome 109 / 1090 failedClean
Standing
Clean runner status OK
Chrome
Clean 109 / 109 WPT subtests passing runner status OK
109 passing subtests
  1. idl_test setup
  2. idl_test validation
  3. Partial interface mixin WindowOrWorkerGlobalScope: original interface mixin defined
  4. Partial interface mixin WindowOrWorkerGlobalScope: member names are unique
  5. Partial interface Window: member names are unique
  6. Window includes GlobalEventHandlers: member names are unique
  7. Window includes WindowEventHandlers: member names are unique
  8. Window includes WindowOrWorkerGlobalScope: member names are unique
  9. WorkerGlobalScope includes WindowOrWorkerGlobalScope: member names are unique
  10. Window includes AnimationFrameProvider: member names are unique
  11. Window includes WindowSessionStorage: member names are unique
  12. Window includes WindowLocalStorage: member names are unique
  13. TrustedHTML interface: existence and properties of interface object
  14. TrustedHTML interface object length
  15. TrustedHTML interface object name
  16. TrustedHTML interface: existence and properties of interface prototype object
  17. TrustedHTML interface: existence and properties of interface prototype object's "constructor" property
  18. TrustedHTML interface: existence and properties of interface prototype object's @@unscopables property
  19. TrustedHTML interface: stringifier
  20. TrustedHTML interface: operation toJSON()
  21. TrustedHTML must be primary interface of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
  22. Stringification of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
  23. TrustedHTML interface: window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string") must inherit property "toJSON()" with the proper type
  24. TrustedHTML interface: toJSON operation on window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")
  25. TrustedScript interface: existence and properties of interface object
  26. TrustedScript interface object length
  27. TrustedScript interface object name
  28. TrustedScript interface: existence and properties of interface prototype object
  29. TrustedScript interface: existence and properties of interface prototype object's "constructor" property
  30. TrustedScript interface: existence and properties of interface prototype object's @@unscopables property
  31. TrustedScript interface: stringifier
  32. TrustedScript interface: operation toJSON()
  33. TrustedScript must be primary interface of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
  34. Stringification of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
  35. TrustedScript interface: window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string") must inherit property "toJSON()" with the proper type
  36. TrustedScript interface: toJSON operation on window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")
  37. TrustedScriptURL interface: existence and properties of interface object
  38. TrustedScriptURL interface object length
  39. TrustedScriptURL interface object name
  40. TrustedScriptURL interface: existence and properties of interface prototype object
  41. TrustedScriptURL interface: existence and properties of interface prototype object's "constructor" property
  42. TrustedScriptURL interface: existence and properties of interface prototype object's @@unscopables property
  43. TrustedScriptURL interface: stringifier
  44. TrustedScriptURL interface: operation toJSON()
  45. TrustedScriptURL must be primary interface of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
  46. Stringification of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
  47. TrustedScriptURL interface: window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string") must inherit property "toJSON()" with the proper type
  48. TrustedScriptURL interface: toJSON operation on window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")
  49. TrustedHTMLParserOptions interface: existence and properties of interface object
  50. TrustedHTMLParserOptions interface object length
  51. TrustedHTMLParserOptions interface object name
  52. TrustedHTMLParserOptions interface: existence and properties of interface prototype object
  53. TrustedHTMLParserOptions interface: existence and properties of interface prototype object's "constructor" property
  54. TrustedHTMLParserOptions interface: existence and properties of interface prototype object's @@unscopables property
  55. TrustedTypePolicyFactory interface: existence and properties of interface object
  56. TrustedTypePolicyFactory interface object length
  57. TrustedTypePolicyFactory interface object name
  58. TrustedTypePolicyFactory interface: existence and properties of interface prototype object
  59. TrustedTypePolicyFactory interface: existence and properties of interface prototype object's "constructor" property
  60. TrustedTypePolicyFactory interface: existence and properties of interface prototype object's @@unscopables property
  61. TrustedTypePolicyFactory interface: operation createPolicy(DOMString, optional TrustedTypePolicyOptions)
  62. TrustedTypePolicyFactory interface: operation isHTML(any)
  63. TrustedTypePolicyFactory interface: operation isScript(any)
  64. TrustedTypePolicyFactory interface: operation isScriptURL(any)
  65. TrustedTypePolicyFactory interface: attribute emptyHTML
  66. TrustedTypePolicyFactory interface: attribute emptyScript
  67. TrustedTypePolicyFactory interface: operation getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?)
  68. TrustedTypePolicyFactory interface: operation getPropertyType(DOMString, DOMString, optional DOMString?)
  69. TrustedTypePolicyFactory interface: attribute defaultPolicy
  70. TrustedTypePolicyFactory must be primary interface of window.trustedTypes
  71. Stringification of window.trustedTypes
  72. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "createPolicy(DOMString, optional TrustedTypePolicyOptions)" with the proper type
  73. TrustedTypePolicyFactory interface: calling createPolicy(DOMString, optional TrustedTypePolicyOptions) on window.trustedTypes with too few arguments must throw TypeError
  74. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isHTML(any)" with the proper type
  75. TrustedTypePolicyFactory interface: calling isHTML(any) on window.trustedTypes with too few arguments must throw TypeError
  76. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScript(any)" with the proper type
  77. TrustedTypePolicyFactory interface: calling isScript(any) on window.trustedTypes with too few arguments must throw TypeError
  78. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScriptURL(any)" with the proper type
  79. TrustedTypePolicyFactory interface: calling isScriptURL(any) on window.trustedTypes with too few arguments must throw TypeError
  80. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyHTML" with the proper type
  81. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyScript" with the proper type
  82. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?)" with the proper type
  83. TrustedTypePolicyFactory interface: calling getAttributeType(DOMString, DOMString, optional DOMString?, optional DOMString?) on window.trustedTypes with too few arguments must throw TypeError
  84. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getPropertyType(DOMString, DOMString, optional DOMString?)" with the proper type
  85. TrustedTypePolicyFactory interface: calling getPropertyType(DOMString, DOMString, optional DOMString?) on window.trustedTypes with too few arguments must throw TypeError
  86. TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "defaultPolicy" with the proper type
  87. TrustedTypePolicy interface: existence and properties of interface object
  88. TrustedTypePolicy interface object length
  89. TrustedTypePolicy interface object name
  90. TrustedTypePolicy interface: existence and properties of interface prototype object
  91. TrustedTypePolicy interface: existence and properties of interface prototype object's "constructor" property
  92. TrustedTypePolicy interface: existence and properties of interface prototype object's @@unscopables property
  93. TrustedTypePolicy interface: attribute name
  94. TrustedTypePolicy interface: operation createHTML(DOMString, any...)
  95. TrustedTypePolicy interface: operation createScript(DOMString, any...)
  96. TrustedTypePolicy interface: operation createScriptURL(DOMString, any...)
  97. TrustedTypePolicy interface: operation createParserOptions(optional SetHTMLUnsafeOptions, any...)
  98. TrustedTypePolicy must be primary interface of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })
  99. Stringification of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })
  100. TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "name" with the proper type
  101. TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createHTML(DOMString, any...)" with the proper type
  102. TrustedTypePolicy interface: calling createHTML(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
  103. TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScript(DOMString, any...)" with the proper type
  104. TrustedTypePolicy interface: calling createScript(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
  105. TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScriptURL(DOMString, any...)" with the proper type
  106. TrustedTypePolicy interface: calling createScriptURL(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
  107. TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createParserOptions(optional SetHTMLUnsafeOptions, any...)" with the proper type
  108. TrustedTypePolicy interface: calling createParserOptions(optional SetHTMLUnsafeOptions, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError
  109. Window interface: attribute trustedTypes
inheriting-csp-for-local-schemes.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. require-trusted-types-for directive should be inherited in local srcdoc frames
  2. trusted-types directive should be inherited in local srcdoc frames
  3. require-trusted-types-for directive should be inherited in local data frames
  4. trusted-types directive should be inherited in local data frames
  5. require-trusted-types-for directive should be inherited in local blob frames
  6. trusted-types directive should be inherited in local blob frames
  7. require-trusted-types-for directive should be inherited in local about:blank frames
  8. trusted-types directive should be inherited in local about:blank frames
  9. require-trusted-types-for directive should not be inherited in local blank.html frames
  10. trusted-types directive should not be inherited in local blank.html frames
legacy-trusted-script-urls.html4 / 4 passingChrome 0 / 40 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. getPropertyType() with legacy TrustedScriptURLs properties return null.
  2. getAttributeType() with legacy TrustedScriptURLs attributes return null.
  3. Legacy TrustedScriptURLs properties accept arbitrary strings.
  4. Legacy TrustedScriptURLs attributes accept arbitrary strings.
legacy-trusted-scripts.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Legacy sinks for TrustedScript accept arbitrary strings.
modify-attributes-in-callback.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Ensure the right attributes are modified.
  2. Ensure the deleted attributes is modified.
  3. Ensure the right attributes are modified (setAttributeNS).
  4. Ensure the deleted attributes is modified (setAttributeNS).
  5. Ensure toggleAttribute results in an empty attribute.
  6. Ensure setAttribute results in right attribute value.
  7. Ensure setAttributeNS results in right attribute value.
  8. Ensure setAttributeNode throws InUseAttributeError when callback assigns attributes.
  9. Ensure setAttributeNodeNS throws InUseAttributeError when callback assigns attributes.
no-require-trusted-types-for-report-only.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. script.src without trusted types
  2. div.innerHTML without trusted types
  3. script.text without trusted types
  4. script.src with trusted types
  5. div.innerHTML with trusted types
  6. script.text with trusted types
  7. script.src empty default
  8. div.innerHTML empty default
  9. script.text empty default
no-require-trusted-types-for.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. script.src without trusted types
  2. div.innerHTML without trusted types
  3. script.text without trusted types
  4. script.src with trusted types
  5. div.innerHTML with trusted types
  6. script.text with trusted types
  7. script.src empty default
  8. div.innerHTML empty default
  9. script.text empty default
policy-without-return-value.sub.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. createHTML with a policy that returns undefined DOMParser
  2. createHTML with a policy that returns undefined iframe.srcdoc
  3. createScript with a policy that returns undefined <div onload>
  4. createScriptURL with a policy that returns undefined script.src
require-trusted-types-for-TypeError-belongs-to-the-global-object-realm.html2 / 2 passingChrome 1 / 20 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Setting innerHTML on a node inserted by the parser.
  2. Setting innerHTML on a node adopted from a subframe.
require-trusted-types-for-report-only.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Require trusted types for 'script' block create HTML.
  2. Require trusted types for 'script' block create script.
  3. Require trusted types for 'script' block create script URL.
  4. Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.
require-trusted-types-for.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Require trusted types for 'script' block create HTML.
  2. Require trusted types for 'script' block create script.
  3. Require trusted types for 'script' block create script URL.
  4. Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.
script-enforcement-001.html35 / 35 passingChrome 35 / 350 failedClean
Standing
Clean runner status OK
Chrome
Clean 35 / 35 WPT subtests passing runner status OK
35 passing subtests
  1. The HTMLScriptElement is initially trusted.
  2. Script source set via TrustedScript sink HTMLScriptElement.innerText keeps trustworthiness.
  3. Script source set via HTMLElement.innerText drops trustworthiness.
  4. Script source set via TrustedScript sink HTMLScriptElement.textContent keeps trustworthiness.
  5. Script source set Node.textContent drops trustworthiness.
  6. Script source set via TrustedScript sink HTMLScriptElement.text keeps trustworthiness.
  7. Script source set via TrustedHTML sink Element.innerHTML drops trustworthiness.
  8. Script source set via TrustedHTML sink Element.setHTMLUnsafe() drops trustworthiness.
  9. Script source cannot be set via Element.setHTML().
  10. Splitting script source via Text.splitText() keeps trustworthiness.
  11. Normalizing script source via Element.normalize() keeps trustworthiness.
  12. Script source set via Node.nodeValue drops trustworthiness.
  13. Setting script source via CharacterData.data drops trustworthiness.
  14. Setting script source via CharacterData.appendData() drops trustworthiness.
  15. Setting script source via CharacterData.insertData() drops trustworthiness.
  16. Setting script source via CharacterData.replaceData() drops trustworthiness.
  17. Setting script source via CharacterData.deleteData() drops trustworthiness.
  18. Setting script source via CharacterData.before() drops trustworthiness.
  19. Setting script source via CharacterData.after() drops trustworthiness.
  20. Setting script source via CharacterData.remove() drops trustworthiness.
  21. Setting script source via CharacterData.replaceWith() drops trustworthiness.
  22. Setting script source via Node.appendChild() drops trustworthiness.
  23. Setting script source via Node.insertBefore() drops trustworthiness.
  24. Setting script source via Node.replaceChild() drops trustworthiness.
  25. Setting script source via Node.removeChild() drops trustworthiness.
  26. Setting script source via Element.prepend() drops trustworthiness.
  27. Setting script source via Element.append() drops trustworthiness.
  28. Setting script source via Element.replaceChildren() drops trustworthiness.
  29. Setting script source via Element.moveBefore() drops trustworthiness.
  30. Setting script source via TrustedHTML sink Node.insertAdjacentHTML() drops trustworthiness.
  31. Setting script source via Node.insertAdjacentText() drops trustworthiness.
  32. Setting script source via Range.insertNode() drops trustworthiness.
  33. Setting script source via Range.deleteContents() drops trustworthiness.
  34. Cloning a script via Node.cloneNode() drops trustworthiness.
  35. Cloning a script via Range.cloneContents() drops trustworthiness.
script-enforcement-002.html33 / 33 passingChrome 33 / 330 failedClean
Standing
Clean runner status OK
Chrome
Clean 33 / 33 WPT subtests passing runner status OK
33 passing subtests
  1. Default policy's calls when setting script source via HTMLScriptElement.innerText.
  2. Verify when the default policy is called for script source via HTMLElement.innerText.
  3. Default policy's calls when setting script source via HTMLScriptElement.textContent.
  4. Verify when the default policy is called for script source set via Node.textContent.
  5. Default policy's calls when setting script source via HTMLScriptElement.text.
  6. Default policy's calls when setting script source via Element.innerHTML.
  7. Default policy's calls when setting script source via Element.setHTMLUnsafe().
  8. Default policy when splitting script source via Text.splitText().
  9. Default policy when normalizing script source via Element.normalize().
  10. Default policy's calls when setting script source via Node.nodeValue.
  11. Default policy's calls when setting script source via CharacterData.data.
  12. Default policy's calls when setting script source via CharacterData.appendData().
  13. Default policy's calls when setting script source via CharacterData.insertData().
  14. Default policy's calls when setting script source via CharacterData.replaceData().
  15. Default policy's calls when setting script source via CharacterData.deleteData().
  16. Default policy's calls when setting script source via CharacterData.before().
  17. Default policy's calls when setting script source via CharacterData.after().
  18. Default policy's calls when setting script source via CharacterData.remove().
  19. Default policy's calls when setting script source via CharacterData.replaceWith().
  20. Default policy's calls when setting script source via Node.appendChild().
  21. Default policy's calls when setting script source via Node.insertBefore().
  22. Default policy's calls when setting script source via Node.replaceChild().
  23. Default policy's calls when setting script source via Node.removeChild().
  24. Default policy's calls when setting script source via Element.prepend().
  25. Default policy's calls when setting script source via Element.append().
  26. Default policy's calls when setting script source via Element.replaceChildren().
  27. Default policy's calls when setting script source via Element.moveBefore().
  28. Default policy's calls when setting script source via Node.insertAdjacentText().
  29. Default policy's calls when setting script source via Node.insertAdjacentHTML().
  30. Default policy's calls when setting source via Range.insertNode().
  31. Default policy's calls when setting script source via Range.deleteContents().
  32. Default policy's calls when cloning a script via Node.cloneNode().
  33. Default policy's calls when cloning a script via Range.cloneContents().
script-enforcement-003.html33 / 33 passingChrome 33 / 330 failedClean
Standing
Clean runner status OK
Chrome
Clean 33 / 33 WPT subtests passing runner status OK
33 passing subtests
  1. The SVGScriptElement is initially trusted.
  2. Script source set via Element.textContent drops trustworthiness.
  3. Script source set via Node.textContent drops trustworthiness.
  4. Script source set via TrustedHTML sink Element.innerHTML drops trustworthiness.
  5. Script source set via TrustedHTML sink Element.outerHTML drops trustworthiness.
  6. Script source set via TrustedHTML sink Element.setHTMLUnsafe() drops trustworthiness.
  7. Script source cannot be set via Element.setHTML().
  8. Splitting script source via Text.splitText() keeps trustworthiness.
  9. Normalizing script source via Element.normalize() keeps trustworthiness.
  10. Script source set via Node.nodeValue drops trustworthiness.
  11. Setting script source via CharacterData.data drops trustworthiness.
  12. Setting script source via CharacterData.appendData() drops trustworthiness.
  13. Setting script source via CharacterData.insertData() drops trustworthiness.
  14. Setting script source via CharacterData.replaceData() drops trustworthiness.
  15. Setting script source via CharacterData.deleteData() drops trustworthiness.
  16. Setting script source via CharacterData.before() drops trustworthiness.
  17. Setting script source via CharacterData.after() drops trustworthiness.
  18. Setting script source via CharacterData.remove() drops trustworthiness.
  19. Setting script source via CharacterData.replaceWith() drops trustworthiness.
  20. Setting script source via Node.appendChild() drops trustworthiness.
  21. Setting script source via Node.insertBefore() drops trustworthiness.
  22. Setting script source via Node.replaceChild() drops trustworthiness.
  23. Setting script source via Node.removeChild() drops trustworthiness.
  24. Setting script source via Element.prepend() drops trustworthiness.
  25. Setting script source via Element.append() drops trustworthiness.
  26. Setting script source via Element.replaceChildren() drops trustworthiness.
  27. Setting script source via Element.moveBefore() drops trustworthiness.
  28. Setting script source via TrustedHTML sink Node.insertAdjacentHTML() drops trustworthiness.
  29. Setting script source via Node.insertAdjacentText() drops trustworthiness.
  30. Setting script source via Range.insertNode() drops trustworthiness.
  31. Setting script source via Range.deleteContents() drops trustworthiness.
  32. Cloning a script via Node.cloneNode() drops trustworthiness.
  33. Cloning a script via Range.cloneContents() drops trustworthiness.
script-enforcement-004.html31 / 31 passingChrome 31 / 310 failedClean
Standing
Clean runner status OK
Chrome
Clean 31 / 31 WPT subtests passing runner status OK
31 passing subtests
  1. Default policy's calls when setting script source via SVGScriptElement.textContent.
  2. Verify when the default policy is called for script set source via Node.textContent.
  3. Default policy's calls when setting script source via Element.innerHTML.
  4. Default policy's calls when setting script source via Element.outerHTML.
  5. Default policy's calls when setting script source via Element.setHTMLUnsafe().
  6. Default policy when splitting script source via Text.splitText().
  7. Default policy when normalizing script source via Element.normalize().
  8. Default policy's calls when setting script source via Node.nodeValue.
  9. Default policy's calls when setting script source via CharacterData.data.
  10. Default policy's calls when setting script source via CharacterData.appendData().
  11. Default policy's calls when setting script source via CharacterData.insertData().
  12. Default policy's calls when setting script source via CharacterData.replaceData().
  13. Default policy's calls when setting script source via CharacterData.deleteData().
  14. Default policy's calls when setting script source via CharacterData.before().
  15. Default policy's calls when setting script source via CharacterData.after().
  16. Default policy's calls when setting script source via CharacterData.remove().
  17. Default policy's calls when setting script source via CharacterData.replaceWith().
  18. Default policy's calls when setting script source via Node.appendChild().
  19. Default policy's calls when setting script source via Node.insertBefore().
  20. Default policy's calls when setting script source via Node.replaceChild().
  21. Default policy's calls when setting script source via Node.removeChild().
  22. Default policy's calls when setting script source via Element.prepend().
  23. Default policy's calls when setting script source via Element.append().
  24. Default policy's calls when setting script source via Element.replaceChildren().
  25. Default policy's calls when setting script source via Element.moveBefore().
  26. Default policy's calls when setting script source via Node.insertAdjacentText().
  27. Default policy's calls when setting script source via Node.insertAdjacentHTML().
  28. Default policy's calls when setting source via Range.insertNode().
  29. Default policy's calls when setting script source via Range.deleteContents().
  30. Default policy's calls when cloning a script via Node.cloneNode().
  31. Default policy's calls when cloning a script via Range.cloneContents().
script-enforcement-005.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Empty HTMLScriptElement is executed if the default policy makes it non-empty.
  2. Non-empty HTMLScriptElement is not executed if the default policy makes it empty.
  3. Empty SVGScriptElement is executed if the default policy makes it non-empty.
  4. Non-empty SVGScriptElement is not executed if the default policy makes it empty.
script-enforcement-006.html3 / 4 passingChrome 4 / 41 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
  1. 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
  1. Untrusted HTMLScriptElement with classic type uses the source text returned by the default policy.
  2. Untrusted HTMLScriptElement of importmap type uses the source text returned by the default policy.
  3. Untrusted HTMLScriptElement of module type uses the source text returned by the default policy.
script-enforcement-007.html2 / 4 passingChrome 4 / 42 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
  1. 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
  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
  1. Untrusted SVGScriptElement with classic type uses the source text returned by the default policy.
  2. Untrusted SVGScriptElement of importmap type uses the source text returned by the default policy.
script-enforcement-008.https.html4 / 5 passingChrome 5 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
  1. 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
  1. script-src CSP directive is properly set.
  2. Untrusted HTMLScriptElement with classic type uses the source text returned by the default policy for inline CSP check.
  3. Untrusted HTMLScriptElement of importmap type uses the source text returned by the default policy for inline CSP check.
  4. Untrusted HTMLScriptElement of module type uses the source text returned by the default policy for inline CSP check.
script-enforcement-009.https.html3 / 5 passingChrome 5 / 52 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
  1. 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
  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
  1. script-src CSP directive is properly set.
  2. Untrusted SVGScriptElement with classic type uses the source text returned by the default policy for inline CSP check.
  3. Untrusted SVGScriptElement of importmap type uses the source text returned by the default policy for inline CSP check.
script-enforcement-010.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Changing script's type from classic to module in the default policy works.
  2. Changing script's type from module to classic in the default policy works.
script-enforcement-011.html1 / 2 passingChrome 2 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
  1. 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
  1. Changing script's type from classic to module in the default policy works.
script-enforcement-012.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML script is untrusted even if its source was set before TrustedTypes got enabled.
script-enforcement-013.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. SVG script is untrusted even if source was set before TrustedTypes got enabled.
script-enforcement-014.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML script is untrusted even if meta tag for require-trusted-types-for is removed.
script-enforcement-015.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. SVG script is untrusted even if meta tag for require-trusted-types-for is removed.
script-enforcement-016.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML script with type=module is untrusted even if its source was set before TrustedTypes got enabled.
script-enforcement-017.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. SVG script with type=module is untrusted even if source was set before TrustedTypes got enabled.
set-attributes-no-require-trusted-types.html202 / 202 passingChrome 202 / 2020 failedClean
Standing
Clean runner status OK
Chrome
Clean 202 / 202 WPT subtests passing runner status OK
202 passing subtests
  1. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  2. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  3. Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  4. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  5. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  6. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  7. Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  8. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  9. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  10. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  11. Element.setAttribute works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  12. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  13. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  14. Element.setAttribute works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  15. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  16. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  17. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  18. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  19. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  20. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  21. Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  22. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  23. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  24. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  25. 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
  26. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  27. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  28. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  29. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  30. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  31. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  32. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  33. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  34. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  35. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  36. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  37. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  38. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  39. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  40. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  41. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  42. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  43. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  44. Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  45. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  46. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  47. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  48. 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
  49. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  50. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  51. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  52. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  53. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  54. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  55. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  56. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  57. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  58. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  59. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  60. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  61. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  62. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  63. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  64. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  65. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  66. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  67. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  68. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  69. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  70. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  71. 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
  72. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  73. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  74. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  75. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  76. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  77. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  78. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  79. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  80. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  81. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  82. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  83. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  84. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  85. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  86. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  87. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  88. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  89. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  90. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  91. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  92. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  93. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  94. 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
  95. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  96. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  97. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  98. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  99. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  100. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  101. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  102. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  103. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  104. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  105. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  106. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  107. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  108. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  109. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  110. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  111. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  112. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  113. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  114. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  115. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  116. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  117. 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
  118. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  119. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  120. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  121. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  122. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  123. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  124. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  125. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  126. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  127. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  128. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  129. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  130. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  131. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  132. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  133. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  134. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  135. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  136. Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  137. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  138. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  139. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  140. 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
  141. Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  142. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  143. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  144. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  145. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  146. Attr.value works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  147. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  148. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  149. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  150. Attr.value works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  151. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  152. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  153. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  154. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  155. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  156. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  157. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  158. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  159. Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  160. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  161. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  162. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  163. 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
  164. Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  165. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  166. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  167. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  168. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  169. Node.nodeValue works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  170. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  171. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  172. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  173. Node.nodeValue works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  174. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  175. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  176. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  177. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  178. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  179. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  180. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  181. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  182. Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  183. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  184. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  185. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  186. 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
  187. Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  188. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  189. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  190. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  191. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  192. Node.textContent works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  193. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  194. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  195. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  196. Node.textContent works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  197. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  198. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  199. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  200. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  201. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  202. 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.html264 / 264 passingChrome 264 / 2640 failedClean
Standing
Clean runner status OK
Chrome
Clean 264 / 264 WPT subtests passing runner status OK
264 passing subtests
  1. Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  2. Element.setAttribute applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  3. Element.setAttribute applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  4. Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  5. Element.setAttribute applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  6. Element.setAttribute applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  7. Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  8. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  9. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  10. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  11. Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  12. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  13. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  14. Element.setAttribute does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  15. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  16. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  17. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  18. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  19. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  20. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  21. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  22. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  23. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  24. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  25. Element.setAttributeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  26. Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  27. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  28. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  29. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  30. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  31. Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  32. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  33. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  34. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  35. Element.setAttributeNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  36. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  37. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  38. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  39. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  40. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  41. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  42. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  43. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  44. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  45. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  46. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  47. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  48. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  49. Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  50. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  51. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  52. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  53. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  54. Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  55. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  56. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  57. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  58. Element.setAttributeNode does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  59. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  60. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  61. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  62. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  63. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  64. Element.setAttributeNode does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  65. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  66. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  67. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  68. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  69. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  70. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  71. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  72. Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  73. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  74. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  75. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  76. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  77. Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  78. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  79. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  80. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  81. Element.setAttributeNodeNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  82. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  83. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  84. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  85. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  86. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  87. Element.setAttributeNodeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  88. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  89. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  90. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  91. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  92. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  93. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  94. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  95. NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  96. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  97. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  98. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  99. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  100. NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  101. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  102. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  103. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  104. NamedNodeMap.setNamedItem does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  105. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  106. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  107. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  108. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  109. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  110. NamedNodeMap.setNamedItem does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  111. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  112. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  113. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  114. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  115. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  116. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  117. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  118. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  119. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  120. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  121. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  122. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  123. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  124. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  125. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  126. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  127. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  128. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  129. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  130. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  131. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  132. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  133. NamedNodeMap.setNamedItemNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  134. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  135. Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  136. Attr.value applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  137. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  138. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  139. Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  140. Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  141. Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  142. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  143. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  144. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  145. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  146. Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  147. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  148. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  149. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  150. Attr.value does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  151. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  152. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  153. Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  154. Attr.value does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  155. Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  156. Attr.value does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  157. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  158. Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  159. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  160. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  161. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  162. Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  163. Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  164. Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  165. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  166. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  167. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  168. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  169. Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  170. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  171. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  172. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  173. Node.nodeValue does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  174. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  175. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  176. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  177. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  178. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  179. Node.nodeValue does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  180. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick
  181. Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick
  182. Node.textContent applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown
  183. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc
  184. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src
  185. Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href
  186. Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href
  187. Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup
  188. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick
  189. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist
  190. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick
  191. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc
  192. Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc
  193. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc
  194. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc
  195. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src
  196. Node.textContent does not apply default policy for elementNS=https://example.com/namespace, element=script, attrName=src
  197. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src
  198. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src
  199. Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href
  200. Node.textContent does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href
  201. Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href
  202. Node.textContent does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src
  203. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  204. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  205. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  206. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  207. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  208. Element.setAttribute does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  209. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  210. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  211. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  212. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  213. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  214. Element.setAttributeNS does not apply default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  215. 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.
  216. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  217. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  218. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  219. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  220. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  221. Element.setAttributeNode applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  222. 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.
  223. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  224. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  225. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  226. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  227. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  228. Element.setAttributeNodeNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  229. 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.
  230. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  231. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  232. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  233. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  234. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  235. NamedNodeMap.setNamedItem applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  236. 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.
  237. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  238. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  239. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  240. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  241. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  242. NamedNodeMap.setNamedItemNS applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  243. 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.
  244. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  245. Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  246. Attr.value applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  247. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  248. Attr.value applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  249. Attr.value applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  250. 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.
  251. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  252. Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  253. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  254. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  255. Node.nodeValue applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  256. Node.nodeValue applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  257. 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.
  258. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick and a TrustedScript input.
  259. Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick and a TrustedScript input.
  260. Node.textContent applies default policy for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown and a TrustedScript input.
  261. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc and a TrustedHTML input.
  262. Node.textContent applies default policy for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src and a TrustedScriptURL input.
  263. Node.textContent applies default policy for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href and a TrustedScriptURL input.
  264. 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.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. setAttributeNode runs Trusted Types check before inuse checks
  2. setAttributeNodeNS runs Trusted Types check before inuse checks
  3. setNamedItem runs Trusted Types check before inuse checks
  4. setNamedItemNS runs Trusted Types check before inuse checks
  5. setAttributeNode runs Trusted Types check before same attribute early return
  6. setAttributeNodeNS runs Trusted Types check before same attribute early return
  7. setNamedItem runs Trusted Types check before same attribute early return
  8. setNamedItemNS runs Trusted Types check before same attribute early return
set-attributes-require-trusted-types-no-default-policy.html264 / 264 passingChrome 264 / 2640 failedClean
Standing
Clean runner status OK
Chrome
Clean 264 / 264 WPT subtests passing runner status OK
264 passing subtests
  1. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  2. Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  3. Element.setAttribute throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  4. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  5. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  6. Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  7. Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  8. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  9. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  10. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  11. Element.setAttribute works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  12. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  13. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  14. Element.setAttribute works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  15. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  16. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  17. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  18. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  19. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  20. Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  21. Element.setAttributeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  22. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  23. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  24. Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  25. 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
  26. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  27. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  28. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  29. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  30. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  31. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  32. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  33. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  34. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  35. Element.setAttributeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  36. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  37. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  38. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  39. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  40. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  41. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  42. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  43. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  44. Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  45. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  46. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  47. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  48. 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
  49. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  50. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  51. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  52. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  53. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  54. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  55. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  56. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  57. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  58. Element.setAttributeNode works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  59. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  60. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  61. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  62. Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  63. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  64. Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  65. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  66. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  67. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  68. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  69. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  70. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  71. 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
  72. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  73. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  74. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  75. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  76. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  77. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  78. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  79. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  80. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  81. Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  82. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  83. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  84. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  85. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  86. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  87. Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  88. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  89. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  90. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  91. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  92. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  93. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  94. 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
  95. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  96. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  97. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  98. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  99. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  100. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  101. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  102. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  103. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  104. NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  105. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  106. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  107. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  108. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  109. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  110. NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  111. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  112. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  113. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  114. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  115. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  116. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  117. 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
  118. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  119. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  120. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  121. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  122. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  123. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  124. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  125. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  126. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  127. NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  128. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  129. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  130. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  131. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  132. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  133. NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  134. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  135. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  136. Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  137. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  138. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  139. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  140. 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
  141. Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  142. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  143. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  144. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  145. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  146. Attr.value works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  147. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  148. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  149. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  150. Attr.value works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  151. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  152. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  153. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  154. Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  155. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  156. Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  157. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  158. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  159. Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  160. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  161. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  162. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  163. 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
  164. Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  165. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  166. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  167. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  168. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  169. Node.nodeValue works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  170. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  171. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  172. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  173. Node.nodeValue works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  174. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  175. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  176. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  177. Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  178. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  179. Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  180. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  181. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  182. Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  183. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  184. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  185. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  186. 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
  187. Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup with a plain string
  188. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrNS=https://example.com/namespace, attrName=onclick with a plain string
  189. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=ondoesnotexist with a plain string
  190. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=data-onclick with a plain string
  191. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=srcdoc with a plain string
  192. Node.textContent works for elementNS=https://example.com/namespace, element=iframe, attrName=srcdoc with a plain string
  193. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrNS=https://example.com/namespace, attrName=srcdoc with a plain string
  194. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=data-srcdoc with a plain string
  195. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=src with a plain string
  196. Node.textContent works for elementNS=https://example.com/namespace, element=script, attrName=src with a plain string
  197. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrNS=https://example.com/namespace, attrName=src with a plain string
  198. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=data-src with a plain string
  199. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=href with a plain string
  200. Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=href with a plain string
  201. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=https://example.com/namespace, attrName=href with a plain string
  202. Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=src with a plain string
  203. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  204. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  205. Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  206. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  207. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  208. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  209. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  210. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  211. Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  212. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  213. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  214. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  215. 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.
  216. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  217. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  218. Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  219. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  220. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  221. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  222. 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.
  223. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  224. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  225. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  226. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  227. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  228. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  229. 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.
  230. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  231. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  232. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  233. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  234. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  235. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  236. 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.
  237. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  238. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  239. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  240. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  241. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  242. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  243. 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.
  244. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  245. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  246. Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  247. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  248. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  249. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  250. 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.
  251. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  252. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  253. Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  254. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  255. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  256. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  257. 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.
  258. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  259. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  260. Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  261. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  262. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  263. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  264. 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.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK

/trusted-types/setTimeout-setInterval-csp-tt-default-policy.html?default OK 8 / 8

8 passing subtests
  1. setTimeout of string accepted by the default policy runs.
  2. setInterval of string accepted by the default policy runs.
  3. setTimeout of string rejected by the default policy throws.
  4. setInterval of string rejected by the default policy throws.
  5. setTimeout of string where the default policy throws rethrows the exception.
  6. setInterval of string where the default policy throws rethrows the exception.
  7. setTimeout of string changed by the default policy runs the changed string.
  8. 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
  1. setTimeout of string accepted by the default policy runs.
  2. setInterval of string accepted by the default policy runs.
  3. setTimeout of string rejected by the default policy throws.
  4. setInterval of string rejected by the default policy throws.
  5. setTimeout of string where the default policy throws rethrows the exception.
  6. setInterval of string where the default policy throws rethrows the exception.
  7. setTimeout of string changed by the default policy runs the changed string.
  8. setInterval of string changed by the default policy runs the changed string.
setTimeout-setInterval-csp-tt-no-default-policy.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK

/trusted-types/setTimeout-setInterval-csp-tt-no-default-policy.html?default OK 4 / 4

4 passing subtests
  1. setTimeout of string throws.
  2. setInterval of string throws.
  3. setTimeout of TrustedScript runs.
  4. setInterval of TrustedScript runs.

/trusted-types/setTimeout-setInterval-csp-tt-no-default-policy.html?trusted-types-eval OK 4 / 4

4 passing subtests
  1. setTimeout of string throws.
  2. setInterval of string throws.
  3. setTimeout of TrustedScript runs.
  4. setInterval of TrustedScript runs.
should-sink-type-mismatch-violation-be-blocked-by-csp-001.html15 / 15 passingChrome 15 / 150 failedClean
Standing
Clean runner status OK
Chrome
Clean 15 / 15 WPT subtests passing runner status OK
15 passing subtests
  1. Multiple enforce require-trusted-types-for directives.
  2. Multiple report-only require-trusted-types-for directives.
  3. One violated report-only require-trusted-types-for directive followed by multiple enforce directives
  4. One violated enforce require-trusted-types-for directive followed by multiple report-only directives
  5. Mixing enforce and report-only require-trusted-types-for directives.
  6. directive "require-trusted-types-for 'invalid'%09'script'" (required-ascii-whitespace)
  7. directive "require-trusted-types-for 'invalid'%0A%20'script'" (required-ascii-whitespace)
  8. directive "require-trusted-types-for 'invalid'%0C'script'" (required-ascii-whitespace)
  9. directive "require-trusted-types-for 'invalid'%0D%20'script'" (required-ascii-whitespace)
  10. directive "require-trusted-types-for 'invalid'%20'script'" (required-ascii-whitespace)
  11. invalid directive "require-trusted-types-for 'script''script'" (no ascii-whitespace)
  12. directive "require-trusted-types-for 'script' 'invalid'" (unknown sink group)
  13. directive "require-trusted-types-for 'invalid' 'script'" (unknown sink group)
  14. directive "require-trusted-types-for 'invalid' 'script' 'also-invalid" (unknown sink group)
  15. 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.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Checking reported violations for setTimeout(';;;;;') from DedicatedWorker
  2. Location of required-trusted-types-for violations.
should-sink-type-mismatch-violation-be-blocked-by-csp-003.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Location of required-trusted-types-for violations.
should-trusted-type-policy-creation-be-blocked-by-csp-001.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. single enforce policy with directive "trusted-type tt-policy-name"
  2. single report-only policy with directive "trusted-type tt-policy-name"
  3. single enforce policy with directive "trusted-type *"
  4. single report-only policy with directive "trusted-type *"
  5. single enforce policy with directive "trusted-type 'none'"
  6. single report-only policy with directive "trusted-type 'none'"
  7. single enforce policy with directive "trusted-type 'allow-duplicates'"
  8. single report-only policy with directive "trusted-type 'allow-duplicates'"
  9. single enforce policy with directive "trusted-type tt-policy-name 'allow-duplicates'"
  10. single report-only policy with directive "trusted-type tt-policy-name 'allow-duplicates'"
  11. single enforce policy with directive "trusted-type * 'allow-duplicates'"
  12. single report-only policy with directive "trusted-type * 'allow-duplicates'"
  13. single enforce policy with directive "trusted-type 'none' 'allow-duplicates'"
  14. single report-only policy with directive "trusted-type 'none' 'allow-duplicates'"
  15. single enforce policy with directive "trusted-type 'none' tt-policy-name"
  16. single report-only policy with directive "trusted-type 'none' tt-policy-name"
  17. single enforce policy with directive "trusted-type 'none' *"
  18. single report-only policy with directive "trusted-type 'none' *"
  19. single enforce policy with directive "trusted-type tt-policy-name *"
  20. single report-only policy with directive "trusted-type tt-policy-name *"
  21. single enforce policy with directive "trusted-type tt-policy-name1 tt-policy-name2 tt-policy-name3"
  22. single report-only policy with directive "trusted-type tt-policy-name1 tt-policy-name2 tt-policy-name3"
  23. Single enforce policy with directive "trusted-type none"
  24. Single enforce policy with directive "trusted-type allow-duplicates"
should-trusted-type-policy-creation-be-blocked-by-csp-002.html21 / 21 passingChrome 21 / 210 failedClean
Standing
Clean runner status OK
Chrome
Clean 21 / 21 WPT subtests passing runner status OK
21 passing subtests
  1. valid tt-policy-name name "1"
  2. valid tt-policy-name name "abcdefghijklmnopqrstuvwxyz"
  3. valid tt-policy-name name "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  4. valid tt-policy-name name "0123456789"
  5. valid tt-policy-name name "policy-name"
  6. valid tt-policy-name name "policy=name"
  7. valid tt-policy-name name "policy_name"
  8. valid tt-policy-name name "policy/name"
  9. valid tt-policy-name name "policy@name"
  10. valid tt-policy-name name "policy.name"
  11. valid tt-policy-name name "policy%name"
  12. valid tt-policy-name name "policy#name"
  13. valid tt-policy-name name "6xY/2x=3Y..."
  14. invalid tt-policy-name name "policy name"
  15. invalid tt-policy-name name "policy*name"
  16. invalid tt-policy-name name "policy$name"
  17. invalid tt-policy-name name "policy?name"
  18. invalid tt-policy-name name "policy!name"
  19. non-ASCII trusted-types directives are discarded ("política")
  20. directive "trusted-type _TTP1_%09_TTP2_%0A%20_TTP3_%0C_TTP4_%0D_TTP5_%20_TTP6_" (required-ascii-whitespace)
  21. invalid directive "trusted-type _TTP" (no ascii whitespace)
should-trusted-type-policy-creation-be-blocked-by-csp-003.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Multiple non-violated enforce trusted-types directives.
  2. Multiple report-only trusted-types directives.
  3. One violated report-only trusted-types directive followed by multiple enforce directives.
  4. One violated enforce trusted-types directive followed by multiple report-only directives.
  5. Mixing enforce and report-only policies with trusted-types directives
  6. Mixing enforce and report-only policies with trusted-types directives (duplicate policy)
should-trusted-type-policy-creation-be-blocked-by-csp-004-worker.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. No violation/exception for allowed policy names (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
  2. Violation and exception for duplicate policy names (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
  3. Violation and exception for forbidden policy name (tt-policy-name-1 tt-policy-name-2 tt-policy-name-3).
  4. Violation and exception for policy name "tt-policy-name" ('none').
  5. Violation and exception for policy name "none" ('none').
  6. No violation/exception for allowed policy names (tt-policy-name 'none').
  7. Violation and exception for forbidden policy name (tt-policy-name 'none').
  8. No violation and exception for allowed policy names (tt-policy-name-1 * tt-policy-name-3).
  9. No violation/exception for allowed policy name (tt-policy-name 'allow-duplicates').
  10. No violation/exception for duplicate policy name (tt-policy-name 'allow-duplicates').
  11. Violation and exception for forbidden policy name 'duplicate' tt-policy-name 'allow-duplicates'.
  12. No violation/exception for allowed policy name ('allow-duplicates' tt-policy-name).
  13. No violation/exception for duplicate policy name ('allow-duplicates' tt-policy-name).
  14. Violation and exception for forbidden policy name 'duplicate' 'allow-duplicates' tt-policy-name.
  15. Exception and violations for CSP with multiple enforce and report-only policies.
  16. Location of trusted-types violations.
should-trusted-type-policy-creation-be-blocked-by-csp-005.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Location of trusted-types violations.
trusted-types-createHTMLDocument.html13 / 13 passingChrome 13 / 130 failedClean
Standing
Clean runner status OK
Chrome
Clean 13 / 13 WPT subtests passing runner status OK
13 passing subtests
  1. Trusted Type assignment is blocked. (document)
  2. Trusted Type instances created in the main doc can be used. (document)
  3. Trusted Type assignment is blocked. (createHTMLDocument)
  4. Trusted Type instances created in the main doc can be used. (createHTMLDocument)
  5. Trusted Type assignment is blocked. (DOMParser)
  6. Trusted Type instances created in the main doc can be used. (DOMParser)
  7. Trusted Type assignment is blocked. (XHR)
  8. Trusted Type instances created in the main doc can be used. (XHR)
  9. Install default policy.
  10. Default policy applies. (document)
  11. Default policy applies. (createHTMLDocument)
  12. Default policy applies. (DOMParser)
  13. Default policy applies. (XHR)
trusted-types-duplicate-names-list-report-only.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. TrustedTypePolicyFactory and policy list in CSP.
trusted-types-duplicate-names-list.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. TrustedTypePolicyFactory and policy list in CSP.
trusted-types-duplicate-names-without-enforcement.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. createPolicy - duplicate policies are allowed when Trusted Types are not enforced.
  2. createPolicy - duplicate "default" policy is never allowed.
trusted-types-duplicate-names.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. policy - duplicate names
trusted-types-eval-reporting-no-unsafe-eval.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Trusted Type violation report: evaluating a string violates both script-src and trusted-types.
  2. Trusted Type violation report: evaluating a Trusted Script violates script-src.
  3. Trusted Type violation report: script-src restrictions apply after the default policy runs.
trusted-types-eval-reporting-report-only.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Trusted Type violation report: evaluating a string.
  2. Trusted Type violation report: evaluating a Trusted Script.
  3. Trusted Type violation report: default policy runs in report-only mode.
trusted-types-event-handlers.html121 / 121 passingChrome 123 / 1230 failedClean
Standing
Clean runner status OK
Chrome
Clean 123 / 123 WPT subtests passing runner status OK
121 passing subtests
  1. Event handler onclick should be blocked.
  2. Event handler onchange should be blocked.
  3. Event handler onfocus should be blocked.
  4. Event handler oNclick should be blocked.
  5. Event handler OnClIcK should be blocked.
  6. Non-event handler one should not be blocked.
  7. Non-event handler oNe should not be blocked.
  8. Non-event handler onIcon should not be blocked.
  9. Non-event handler offIcon should not be blocked.
  10. Non-event handler blubb should not be blocked.
  11. Non-event handler div.align should not be blocked.
  12. Non-event handler div.title should not be blocked.
  13. Non-event handler div.inert should not be blocked.
  14. Non-event handler div.draggable should not be blocked.
  15. Event handler div.onabort should be blocked.
  16. Event handler div.onauxclick should be blocked.
  17. Event handler div.onbeforeinput should be blocked.
  18. Event handler div.onbeforematch should be blocked.
  19. Event handler div.onbeforetoggle should be blocked.
  20. Event handler div.onblur should be blocked.
  21. Event handler div.oncancel should be blocked.
  22. Event handler div.oncanplay should be blocked.
  23. Event handler div.oncanplaythrough should be blocked.
  24. Event handler div.onchange should be blocked.
  25. Event handler div.onclick should be blocked.
  26. Event handler div.onclose should be blocked.
  27. Event handler div.oncommand should be blocked.
  28. Event handler div.oncontextlost should be blocked.
  29. Event handler div.oncontextmenu should be blocked.
  30. Event handler div.oncontextrestored should be blocked.
  31. Event handler div.oncopy should be blocked.
  32. Event handler div.oncuechange should be blocked.
  33. Event handler div.oncut should be blocked.
  34. Event handler div.ondblclick should be blocked.
  35. Event handler div.ondrag should be blocked.
  36. Event handler div.ondragend should be blocked.
  37. Event handler div.ondragenter should be blocked.
  38. Event handler div.ondragleave should be blocked.
  39. Event handler div.ondragover should be blocked.
  40. Event handler div.ondragstart should be blocked.
  41. Event handler div.ondrop should be blocked.
  42. Event handler div.ondurationchange should be blocked.
  43. Event handler div.onemptied should be blocked.
  44. Event handler div.onended should be blocked.
  45. Event handler div.onerror should be blocked.
  46. Event handler div.onfocus should be blocked.
  47. Event handler div.onformdata should be blocked.
  48. Event handler div.oninput should be blocked.
  49. Event handler div.oninvalid should be blocked.
  50. Event handler div.onkeydown should be blocked.
  51. Event handler div.onkeypress should be blocked.
  52. Event handler div.onkeyup should be blocked.
  53. Event handler div.onload should be blocked.
  54. Event handler div.onloadeddata should be blocked.
  55. Event handler div.onloadedmetadata should be blocked.
  56. Event handler div.onloadstart should be blocked.
  57. Event handler div.onmousedown should be blocked.
  58. Event handler div.onmouseenter should be blocked.
  59. Event handler div.onmouseleave should be blocked.
  60. Event handler div.onmousemove should be blocked.
  61. Event handler div.onmouseout should be blocked.
  62. Event handler div.onmouseover should be blocked.
  63. Event handler div.onmouseup should be blocked.
  64. Event handler div.onpaste should be blocked.
  65. Event handler div.onpause should be blocked.
  66. Event handler div.onplay should be blocked.
  67. Event handler div.onplaying should be blocked.
  68. Event handler div.onprogress should be blocked.
  69. Event handler div.onratechange should be blocked.
  70. Event handler div.onreset should be blocked.
  71. Event handler div.onresize should be blocked.
  72. Event handler div.onscroll should be blocked.
  73. Event handler div.onscrollend should be blocked.
  74. Event handler div.onsecuritypolicyviolation should be blocked.
  75. Event handler div.onseeked should be blocked.
  76. Event handler div.onseeking should be blocked.
  77. Event handler div.onselect should be blocked.
  78. Event handler div.onslotchange should be blocked.
  79. Event handler div.onstalled should be blocked.
  80. Event handler div.onsubmit should be blocked.
  81. Event handler div.onsuspend should be blocked.
  82. Event handler div.ontimeupdate should be blocked.
  83. Event handler div.ontoggle should be blocked.
  84. Event handler div.onvolumechange should be blocked.
  85. Event handler div.onwaiting should be blocked.
  86. Event handler div.onwebkitanimationend should be blocked.
  87. Event handler div.onwebkitanimationiteration should be blocked.
  88. Event handler div.onwebkitanimationstart should be blocked.
  89. Event handler div.onwebkittransitionend should be blocked.
  90. Event handler div.onwheel should be blocked.
  91. Event handler div.onanimationstart should be blocked.
  92. Event handler div.onanimationiteration should be blocked.
  93. Event handler div.onanimationend should be blocked.
  94. Event handler div.onanimationcancel should be blocked.
  95. Event handler div.onsnapchanged should be blocked.
  96. Event handler div.onsnapchanging should be blocked.
  97. Event handler div.ontransitionrun should be blocked.
  98. Event handler div.ontransitionstart should be blocked.
  99. Event handler div.ontransitionend should be blocked.
  100. Event handler div.ontransitioncancel should be blocked.
  101. Event handler div.onfencedtreeclick should be blocked.
  102. Event handler div.oninstallresult should be blocked.
  103. Event handler div.onpointerover should be blocked.
  104. Event handler div.onpointerenter should be blocked.
  105. Event handler div.onpointerdown should be blocked.
  106. Event handler div.onpointermove should be blocked.
  107. Event handler div.onpointerup should be blocked.
  108. Event handler div.onpointercancel should be blocked.
  109. Event handler div.onpointerout should be blocked.
  110. Event handler div.onpointerleave should be blocked.
  111. Event handler div.ongotpointercapture should be blocked.
  112. Event handler div.onlostpointercapture should be blocked.
  113. Event handler div.onselectstart should be blocked.
  114. Event handler div.onselectionchange should be blocked.
  115. Event handler div.ontouchstart should be blocked.
  116. Event handler div.ontouchend should be blocked.
  117. Event handler div.ontouchmove should be blocked.
  118. Event handler div.ontouchcancel should be blocked.
  119. Event handler div.onbeforexrselect should be blocked.
  120. Event handler div.onfullscreenchange should be blocked.
  121. Event handler div.onfullscreenerror should be blocked.
trusted-types-navigation.html36 / 36 passingChrome 30 / 360 failedClean
Standing
Clean runner status OK
Chrome
With failures 30 / 36 WPT subtests passing runner status OK

/trusted-types/trusted-types-navigation.html?01-05 OK 5 / 5

5 passing subtests
  1. Navigate a window via anchor with javascript:-urls in enforcing mode.
  2. Navigate a window via anchor with javascript:-urls w/ default policy in enforcing mode.
  3. Navigate a window via anchor with javascript:-urls in report-only mode.
  4. Navigate a window via anchor with javascript:-urls w/ default policy in report-only mode.
  5. Navigate a frame via anchor with javascript:-urls in enforcing mode.

/trusted-types/trusted-types-navigation.html?06-10 OK 5 / 5

5 passing subtests
  1. Navigate a frame via anchor with javascript:-urls w/ default policy in enforcing mode.
  2. Navigate a frame via anchor with javascript:-urls in report-only mode.
  3. Navigate a frame via anchor with javascript:-urls w/ default policy in report-only mode.
  4. Navigate a window via anchor with javascript:-urls w/ a default policy throwing an exception in enforcing mode.
  5. Navigate a window via anchor with javascript:-urls w/ a default policy throwing an exception in report-only mode.

/trusted-types/trusted-types-navigation.html?11-15 OK 5 / 5

5 passing subtests
  1. Navigate a window via anchor with javascript:-urls w/ a default policy making the URL invalid in enforcing mode.
  2. Navigate a window via anchor with javascript:-urls w/ a default policy making the URL invalid in report-only mode.
  3. Navigate a window via area with javascript:-urls in enforcing mode.
  4. Navigate a window via area with javascript:-urls w/ default policy in enforcing mode.
  5. Navigate a window via area with javascript:-urls in report-only mode.

/trusted-types/trusted-types-navigation.html?16-20 OK 5 / 5

5 passing subtests
  1. Navigate a window via area with javascript:-urls w/ default policy in report-only mode.
  2. Navigate a frame via area with javascript:-urls in enforcing mode.
  3. Navigate a frame via area with javascript:-urls w/ default policy in enforcing mode.
  4. Navigate a frame via area with javascript:-urls in report-only mode.
  5. Navigate a frame via area with javascript:-urls w/ default policy in report-only mode.

/trusted-types/trusted-types-navigation.html?21-25 OK 5 / 5

5 passing subtests
  1. Navigate a window via area with javascript:-urls w/ a default policy throwing an exception in enforcing mode.
  2. Navigate a window via area with javascript:-urls w/ a default policy throwing an exception in report-only mode.
  3. Navigate a window via area with javascript:-urls w/ a default policy making the URL invalid in enforcing mode.
  4. Navigate a window via area with javascript:-urls w/ a default policy making the URL invalid in report-only mode.
  5. Navigate a window via form-submission with javascript:-urls in enforcing mode.

/trusted-types/trusted-types-navigation.html?26-30 OK 5 / 5

5 passing subtests
  1. Navigate a window via form-submission with javascript:-urls w/ default policy in enforcing mode.
  2. Navigate a window via form-submission with javascript:-urls in report-only mode.
  3. Navigate a window via form-submission with javascript:-urls w/ default policy in report-only mode.
  4. Navigate a frame via form-submission with javascript:-urls in enforcing mode.
  5. Navigate a frame via form-submission with javascript:-urls w/ default policy in enforcing mode.

/trusted-types/trusted-types-navigation.html?31-35 OK 5 / 5

5 passing subtests
  1. Navigate a frame via form-submission with javascript:-urls in report-only mode.
  2. Navigate a frame via form-submission with javascript:-urls w/ default policy in report-only mode.
  3. Navigate a window via form-submission with javascript:-urls w/ a default policy throwing an exception in enforcing mode.
  4. Navigate a window via form-submission with javascript:-urls w/ a default policy throwing an exception in report-only mode.
  5. Navigate a window via form-submission with javascript:-urls w/ a default policy making the URL invalid in enforcing mode.

/trusted-types/trusted-types-navigation.html?36-last OK 1 / 1

1 passing subtest
  1. Navigate a window via form-submission with javascript:-urls w/ a default policy making the URL invalid in report-only mode.
trusted-types-report-only.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Trusted Type violation report-only: assign string to script url
  2. Trusted Type violation report-only: assign string to html
  3. Trusted Type violation report-only: assign string to script.src
  4. Trusted Type violation report-only: assign string to script content
  5. Trusted Type violation report: check report contents
trusted-types-reporting-check-report-DedicatedWorker-create-policy.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Creating policy works for policy in the allowlist.
  2. Creating policy works for policy in the blocklist, since it's report-only.
  3. Test report-uri works with trusted-types violation.
  4. Test number of sent reports.
trusted-types-reporting-check-report-DedicatedWorker-sink-mismatch.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Passing a plain string to setTimeout works since it's report-only.
  2. Passing a TrustedScript to setTimeout works.
  3. Passing a plain string to eval throws.
  4. Test report-uri works with require-trusted-types-for violation.
  5. Test number of sent reports.
trusted-types-reporting-check-report-Window-create-policy.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Creating policy works for policy in the allowlist.
  2. Creating policy works for policy in the blocklist, since it's report-only.
  3. Test report-uri works with trusted-types violation.
  4. Test number of sent reports.
trusted-types-reporting-check-report-Window-sink-mismatch.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Passing a plain string to setTimeout works since it's report-only.
  2. Passing a TrustedScript to setTimeout works.
  3. Passing a plain string to eval throws.
  4. Test report-uri works with require-trusted-types-for violation.
  5. Test number of sent reports.
trusted-types-reporting-clipping-of-sample.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. Clipping of violation sample for createPolicy(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
  2. Clipping of violation sample for Element.innerHTML = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
  3. Clipping of violation sample for createPolicy(BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB)
  4. Clipping of violation sample for Element.innerHTML = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
  5. Clipping of violation sample for createPolicy(CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC)
  6. Clipping of violation sample for Element.innerHTML = "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
  7. Clipping of violation sample for createPolicy(ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ)
  8. Clipping of violation sample for Element.innerHTML = "ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ"
  9. Clipping of violation sample for createPolicy(ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ)
  10. Clipping of violation sample for Element.innerHTML = "ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ"
  11. Clipping of violation sample for createPolicy(℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉)
  12. Clipping of violation sample for Element.innerHTML = "℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉"
trusted-types-reporting-for-DOMParser-parseFromString.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-DedicatedWorker-DedicatedWorker-constructor.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for Worker constructor with TrustedScriptURL.
  2. Violation report for Worker constructor with plain string.
trusted-types-reporting-for-DedicatedWorker-ServiceWorkerContainer-register.https.html2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
  2. Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-DedicatedWorker-eval.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for eval with TrustedScript.
  2. Violation report for eval with plain string.
trusted-types-reporting-for-DedicatedWorker-function-constructor.html12 / 12 passingChrome 4 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No violation reported for Function with TrustedScript.
  2. No violation reported for Function with multiple TrustedScript args.
  3. Violation report for Function with plain string.
  4. No violation reported for AsyncFunction with TrustedScript.
  5. No violation reported for AsyncFunction with multiple TrustedScript args.
  6. Violation report for AsyncFunction with plain string.
  7. No violation reported for GeneratorFunction with TrustedScript.
  8. No violation reported for GeneratorFunction with multiple TrustedScript args.
  9. Violation report for GeneratorFunction with plain string.
  10. No violation reported for AsyncGeneratorFunction with TrustedScript.
  11. No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
  12. Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-DedicatedWorker-importScripts.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for importScripts with TrustedScriptURL.
  2. Violation report for importScripts with plain string.
trusted-types-reporting-for-DedicatedWorker-setTimeout-setInterval.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. No violation reported for setTimeout with TrustedScript.
  2. No violation reported for setInterval with TrustedScript.
  3. Violation report for setTimeout with plain string.
  4. Violation report for setInterval with plain string.
trusted-types-reporting-for-Document-execCommand.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. No violation reported for TrustedHTML.
  2. No violation reported (paste command).
  3. Violation report for plain string (insertHTML command).
trusted-types-reporting-for-Document-parseHTMLUnsafe.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-Document-write.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. No violation reported for write() with TrustedHTML arguments.
  2. Violation report for plain string for write() with at least one plain string argument.
  3. No violation reported for writeln() with TrustedHTML arguments.
  4. Violation report for plain string for writeln() with at least one plain string argument.
trusted-types-reporting-for-Element-innerHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-Element-insertAdjacentHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-Element-outerHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-Element-setAttribute.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. No violation reported for trusted types.
  2. Violation report for HTMLIFrameElement.setAttribute('srcdoc', plain_string)
  3. Violation report for HTMLIFrameElement.setAttributeNS(null, 'srcdoc', plain_string)
  4. Violation report for Element.setAttribute('onclick', plain_string)
  5. Violation report for Element.setAttributeNS(null, 'onclick', plain_string)
  6. Violation report for HTMLScriptElement.setAttribute('src', plain_string)
  7. Violation report for HTMLScriptElement.setAttributeNS(null, 'src', plain_string)
  8. Violation report for SVGScriptElement.setAttribute('href', plain_string)
  9. Violation report for SVGScriptElement.setAttributeNS(null, 'href', plain_string)
  10. Violation report for SVGScriptElement.setAttributeNS(http://www.w3.org/1999/xlink, 'href', plain_string)
trusted-types-reporting-for-Element-setHTMLUnsafe.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-HTMLIFrameElement-srcdoc.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-HTMLScriptElement-children-change.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. sink mismatch violation report when the script text is changed by manipulating its children.
  2. inline check violation report when the script text is changed by manipulating its children.
trusted-types-reporting-for-HTMLScriptElement-innerHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-HTMLScriptElement.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. No violation reported for trusted input (innerText).
  2. Violation report for plain string (innerText)
  3. No violation reported for trusted input (textContent).
  4. Violation report for plain string (textContent)
  5. No violation reported for trusted input (src).
  6. Violation report for plain string (src)
  7. No violation reported for trusted input (text).
  8. Violation report for plain string (text)
trusted-types-reporting-for-Range-createContextualFragment.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-SVGScriptElement-children-change.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. sink mismatch violation report when the script text is changed by manipulating its children.
  2. inline check violation report when the script text is changed by manipulating its children.
trusted-types-reporting-for-SVGScriptElement-innerHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-ServiceWorker-ServiceWorkerContainer-register.https.html2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
  2. Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-ServiceWorker-eval.https.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for eval with TrustedScript.
  2. Violation report for eval with plain string.
trusted-types-reporting-for-ServiceWorker-function-constructor.https.html12 / 12 passingChrome 4 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No violation reported for Function with TrustedScript.
  2. No violation reported for Function with multiple TrustedScript args.
  3. Violation report for Function with plain string.
  4. No violation reported for AsyncFunction with TrustedScript.
  5. No violation reported for AsyncFunction with multiple TrustedScript args.
  6. Violation report for AsyncFunction with plain string.
  7. No violation reported for GeneratorFunction with TrustedScript.
  8. No violation reported for GeneratorFunction with multiple TrustedScript args.
  9. Violation report for GeneratorFunction with plain string.
  10. No violation reported for AsyncGeneratorFunction with TrustedScript.
  11. No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
  12. Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-ServiceWorker-importScripts.https.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for importScripts with TrustedScriptURL.
  2. Violation report for importScripts with plain string.
trusted-types-reporting-for-ServiceWorker-setTimeout-setInterval.https.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. No violation reported for setTimeout with TrustedScript.
  2. No violation reported for setInterval with TrustedScript.
  3. Violation report for setTimeout with plain string.
  4. Violation report for setInterval with plain string.
trusted-types-reporting-for-ShadowRoot-innerHTML.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-ShadowRoot-setHTMLUnsafe.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for TrustedHTML.
  2. Violation report for plain string.
trusted-types-reporting-for-SharedWorker-DedicatedWorker-constructor.html2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for Worker constructor with TrustedScriptURL.
  2. Violation report for Worker constructor with plain string.
trusted-types-reporting-for-SharedWorker-ServiceWorkerContainer-register.https.html2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
  2. Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-SharedWorker-eval.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for eval with TrustedScript.
  2. Violation report for eval with plain string.
trusted-types-reporting-for-SharedWorker-function-constructor.html12 / 12 passingChrome 4 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No violation reported for Function with TrustedScript.
  2. No violation reported for Function with multiple TrustedScript args.
  3. Violation report for Function with plain string.
  4. No violation reported for AsyncFunction with TrustedScript.
  5. No violation reported for AsyncFunction with multiple TrustedScript args.
  6. Violation report for AsyncFunction with plain string.
  7. No violation reported for GeneratorFunction with TrustedScript.
  8. No violation reported for GeneratorFunction with multiple TrustedScript args.
  9. Violation report for GeneratorFunction with plain string.
  10. No violation reported for AsyncGeneratorFunction with TrustedScript.
  11. No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
  12. Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-SharedWorker-importScripts.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for importScripts with TrustedScriptURL.
  2. Violation report for importScripts with plain string.
trusted-types-reporting-for-SharedWorker-setTimeout-setInterval.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. No violation reported for setTimeout with TrustedScript.
  2. No violation reported for setInterval with TrustedScript.
  3. Violation report for setTimeout with plain string.
  4. Violation report for setInterval with plain string.
trusted-types-reporting-for-Window-DedicatedWorker-constructor.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for Worker constructor with TrustedScriptURL.
  2. Violation report for Worker constructor with plain string.
trusted-types-reporting-for-Window-ServiceWorkerContainer-register.https.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for ServiceWorkerContainer register with TrustedScriptURL.
  2. Violation report for ServiceWorkerContainer register with plain string.
trusted-types-reporting-for-Window-SharedWorker-constructor.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for SharedWorker constructor with TrustedScriptURL.
  2. Violation report for SharedWorker constructor with plain string.
trusted-types-reporting-for-Window-eval.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. No violation reported for eval with TrustedScript.
  2. Violation report for eval with plain string.
trusted-types-reporting-for-Window-function-constructor.html12 / 12 passingChrome 4 / 120 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No violation reported for Function with TrustedScript.
  2. No violation reported for Function with multiple TrustedScript args.
  3. Violation report for Function with plain string.
  4. No violation reported for AsyncFunction with TrustedScript.
  5. No violation reported for AsyncFunction with multiple TrustedScript args.
  6. Violation report for AsyncFunction with plain string.
  7. No violation reported for GeneratorFunction with TrustedScript.
  8. No violation reported for GeneratorFunction with multiple TrustedScript args.
  9. Violation report for GeneratorFunction with plain string.
  10. No violation reported for AsyncGeneratorFunction with TrustedScript.
  11. No violation reported for AsyncGeneratorFunction with multiple TrustedScript args.
  12. Violation report for AsyncGeneratorFunction with plain string.
trusted-types-reporting-for-Window-setTimeout-setInterval.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. No violation reported for setTimeout with TrustedScript.
  2. No violation reported for setInterval with TrustedScript.
  3. Violation report for setTimeout with plain string.
  4. Violation report for setInterval with plain string.
trusted-types-reporting.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Trusted Type violation report: creating a forbidden policy.
  2. Trusted Type violation report: creating a report-only-forbidden policy.
  3. Trusted Type violation report: creating a forbidden-but-not-reported policy.
  4. Trusted Type violation report: sample for SVGScriptElement href assignment
  5. Trusted Type violation report: sample for SVGScriptElement href assignment by setAttribute
  6. Trusted Type violation report: sample for eval
  7. Trusted Type violation report: sample for custom element assignment
  8. Trusted Type violation report: Worker constructor
trusted-types-sandbox-allow-scripts.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. window.trustedTypes.createPolicy() in a sandboxed page with allow-scripts.
  2. Default Trusted Types policy in a sandboxed page with allow-scripts.
trusted-types-sandbox-no-allow-scripts.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Trusted Types CSP directives don't affect the behavior of sandboxed page without allow-scripts.
trusted-types-secondary-document.html97 / 97 passingChrome 96 / 970 failedClean
Standing
Clean runner status OK
Chrome
With failures 96 / 97 WPT subtests passing runner status OK
97 passing subtests
  1. HTMLElement innerHTML throws with a plain string
  2. HTMLElement setHTMLUnsafe throws with a plain string
  3. ShadowRoot innerHTML throws with a plain string
  4. ShadowRoot setHTMLUnsafe throws with a plain string
  5. HTMLIFrameElement srcdoc throws with a plain string
  6. HTMLScriptElement textContent throws with a plain string
  7. HTMLScriptElement innerText throws with a plain string
  8. HTMLScriptElement text throws with a plain string
  9. Element insertAdjacentHTML throws with a plain string
  10. Document execCommand throws with a plain string
  11. Range createContextualFragment throws with a plain string
  12. HTMLElement innerHTML works with a TrustedHTML
  13. HTMLElement setHTMLUnsafe works with a TrustedHTML
  14. ShadowRoot innerHTML works with a TrustedHTML
  15. ShadowRoot setHTMLUnsafe works with a TrustedHTML
  16. HTMLIFrameElement srcdoc works with a TrustedHTML
  17. HTMLScriptElement textContent works with a TrustedScript
  18. HTMLScriptElement innerText works with a TrustedScript
  19. HTMLScriptElement text works with a TrustedScript
  20. Element insertAdjacentHTML works with a TrustedHTML
  21. Document execCommand works with a TrustedHTML
  22. Trusted Type assignment required for Range createContextualFragment
  23. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  24. Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  25. Element.setAttribute throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  26. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  27. Element.setAttribute throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  28. Element.setAttribute throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  29. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  30. Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  31. Element.setAttributeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  32. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  33. Element.setAttributeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  34. Element.setAttributeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  35. 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
  36. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  37. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  38. Element.setAttributeNode throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  39. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  40. Element.setAttributeNode throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  41. Element.setAttributeNode throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  42. 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
  43. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  44. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  45. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  46. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  47. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  48. Element.setAttributeNodeNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  49. 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
  50. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  51. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  52. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  53. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  54. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  55. NamedNodeMap.setNamedItem throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  56. 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
  57. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  58. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  59. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  60. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  61. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  62. NamedNodeMap.setNamedItemNS throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  63. 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
  64. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  65. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  66. Attr.value throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  67. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  68. Attr.value throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  69. Attr.value throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  70. 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
  71. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  72. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  73. Node.nodeValue throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  74. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  75. Node.nodeValue throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  76. Node.nodeValue throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  77. 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
  78. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a plain string
  79. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a plain string
  80. Node.textContent throws for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a plain string
  81. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a plain string
  82. Node.textContent throws for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a plain string
  83. Node.textContent throws for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a plain string
  84. 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
  85. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  86. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  87. Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  88. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  89. Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  90. Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  91. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick with a TrustedScript input.
  92. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick with a TrustedScript input.
  93. Element.setAttributeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown with a TrustedScript input.
  94. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc with a TrustedHTML input.
  95. Element.setAttributeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src with a TrustedScriptURL input.
  96. Element.setAttributeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href with a TrustedScriptURL input.
  97. 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.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. same-document script
  2. same-origin script
  3. cross-origin script
trusted-types-svg-script-set-href.html18 / 18 passingChrome 18 / 180 failedClean
Standing
Clean runner status OK
Chrome
Clean 18 / 18 WPT subtests passing runner status OK
18 passing subtests
  1. Assign string to SVGScriptElement.href.baseVal.
  2. Assign TrustedScriptURL to SVGScriptElement.href.baseVal.
  3. Assign string to non-attached SVGScriptElement.href via setAttribute.
  4. Assign TrustedScriptURL to non-attached SVGScriptElement.href via setAttribute.
  5. Assign string to attached SVGScriptElement.href via setAttribute.
  6. Assign TrustedScriptURL to attached SVGScriptElement.href via setAttribute.
  7. Assign string to SVGScriptElement.className.baseVal.
  8. Assign TrustedScriptURL to SVGScriptElement.className.baseVal.
  9. Assign string to SVGUseElement.href.baseVal.
  10. Assign TrustedScriptURL to SVGUseElement.href.baseVal.
  11. Setup default policy
  12. Assign string to SVGScriptElement.href.baseVal w/ default policy.
  13. Assign string to non-attached SVGScriptElement.href via setAttribute w/ default policy.
  14. Assign string to attached SVGScriptElement.href via setAttribute w/ default policy.
  15. Assign string to SVGScriptElement.className.baseVal w/ default policy.
  16. Assign TrustedScriptURL to SVGScriptElement.className.baseVal w/ default policy.
  17. Assign string to SVGUseElement.href.baseVal w/ default policy.
  18. Assign TrustedScriptURL to SVGUseElement.href.baseVal w/ default policy.
trusted-types-tojson.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. toJSON
trusted-types-wildcard-with-trailing-characters.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. 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.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK

/trusted-types/tt-block-eval.html?default OK 1 / 1

1 passing subtest
  1. eval blocks if the default policy rejects a value.

/trusted-types/tt-block-eval.html?trusted-types-eval OK 1 / 1

1 passing subtest
  1. eval blocks if the default policy rejects a value.

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.