diff options
Diffstat (limited to 'testing/web-platform/meta/trusted-types')
85 files changed, 1118 insertions, 0 deletions
diff --git a/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.html.ini b/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.html.ini new file mode 100644 index 0000000000..c9ed6cf1f4 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.html.ini @@ -0,0 +1,3 @@ +[DOMParser-parseFromString.html] + [document.innerText assigned via policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.html.ini b/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.html.ini new file mode 100644 index 0000000000..445661dd99 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.html.ini @@ -0,0 +1,7 @@ +[DOMWindowTimers-setTimeout-setInterval.html] + expected: ERROR + [window.setTimeout assigned via policy (successful Script transformation).] + expected: FAIL + + [window.setInterval assigned via policy (successful Script transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Document-write.html.ini b/testing/web-platform/meta/trusted-types/Document-write.html.ini new file mode 100644 index 0000000000..b8d9410eda --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Document-write.html.ini @@ -0,0 +1,3 @@ +[Document-write.html] + [document.write with html assigned via policy (successful transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.html.ini b/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.html.ini new file mode 100644 index 0000000000..773ff76694 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.html.ini @@ -0,0 +1,3 @@ +[Element-insertAdjacentHTML.html] + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.html.ini b/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.html.ini new file mode 100644 index 0000000000..e19ca38bac --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.html.ini @@ -0,0 +1,3 @@ +[Element-insertAdjacentText.html] + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini b/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini new file mode 100644 index 0000000000..f92ced2339 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-outerHTML.html.ini @@ -0,0 +1,3 @@ +[Element-outerHTML.html] + [outerHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini new file mode 100644 index 0000000000..3324b89f0e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-setAttribute.html.ini @@ -0,0 +1,12 @@ +[Element-setAttribute.html] + [embed.src assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [script.src assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [iframe.srcdoc assigned via policy (successful HTML transformation)] + expected: FAIL + + [script.src assigned via policy (successful script transformation)] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Element-setAttributeNS.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttributeNS.html.ini new file mode 100644 index 0000000000..3910ee0756 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-setAttributeNS.html.ini @@ -0,0 +1,9 @@ +[Element-setAttributeNS.html] + [Element.setAttributeNS assigned via policy (successful HTML transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful Script transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful ScriptURL transformation)] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.html.ini b/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.html.ini new file mode 100644 index 0000000000..88787de100 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.html.ini @@ -0,0 +1,2 @@ +[GlobalEventHandlers-onclick.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/HTMLElement-generic.html.ini b/testing/web-platform/meta/trusted-types/HTMLElement-generic.html.ini new file mode 100644 index 0000000000..852f2b7b4f --- /dev/null +++ b/testing/web-platform/meta/trusted-types/HTMLElement-generic.html.ini @@ -0,0 +1,2 @@ +[HTMLElement-generic.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.html.ini b/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.html.ini new file mode 100644 index 0000000000..2a3909a155 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.html.ini @@ -0,0 +1,4 @@ +[HTMLScriptElement-internal-slot.html] + expected: ERROR + [Test TT application when manipulating <script> elements during loading.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/Node-multiple-arguments.html.ini b/testing/web-platform/meta/trusted-types/Node-multiple-arguments.html.ini new file mode 100644 index 0000000000..ff6fbc4011 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Node-multiple-arguments.html.ini @@ -0,0 +1,2 @@ +[Node-multiple-arguments.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini new file mode 100644 index 0000000000..b4a4624016 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.html.ini @@ -0,0 +1,3 @@ +[Range-createContextualFragment.html] + [range.createContextualFragment assigned via policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.html.ini b/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.html.ini new file mode 100644 index 0000000000..921bd62b00 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.html.ini @@ -0,0 +1,2 @@ +[TrustedType-AttributeNodes.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.html.ini new file mode 100644 index 0000000000..7eab020afe --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.html.ini @@ -0,0 +1,3 @@ +[TrustedTypePolicy-CSP-wildcard.html] + [CSP supports wildcards.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.html.ini new file mode 100644 index 0000000000..0e1933a376 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.html.ini @@ -0,0 +1,10 @@ +[TrustedTypePolicy-createXXX.html] + expected: ERROR + [calling undefined callbacks throws] + expected: FAIL + + [Attributes without type constraints will work as before.] + expected: FAIL + + [trustedTypes.createPolicy(.., null) creates empty policy.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html.ini new file mode 100644 index 0000000000..7453be794f --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html.ini @@ -0,0 +1,12 @@ +[TrustedTypePolicyFactory-blocking.tentative.html] + [Block Trusted Type policy creation by event listener.] + expected: FAIL + + [Trusted Type policy creation.] + expected: FAIL + + [Block only default Trusted Type policy creation.] + expected: FAIL + + [Policy creation called before addEventListener function will not reached the listener.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.html.ini new file mode 100644 index 0000000000..e13d9d52a8 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.html.ini @@ -0,0 +1,18 @@ +[TrustedTypePolicyFactory-constants.html] + [trustedTypes.emptyHTML returns the intended value.] + expected: FAIL + + [trustedTypes.emptyHTML cannot be redefined.] + expected: FAIL + + [trustedTypes.emptyHTML cannot be redefined via defineProperty.] + expected: FAIL + + [trustedTypes.emptyScript returns the intended value.] + expected: FAIL + + [trustedTypes.emptyScript cannot be redefined.] + expected: FAIL + + [trustedTypes.emptyScript cannot be redefined via defineProperty.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html.ini new file mode 100644 index 0000000000..fdf37506a6 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html.ini @@ -0,0 +1,84 @@ +[TrustedTypePolicyFactory-createPolicy-createXYZTests.html] + [html = identity function] + expected: FAIL + + [html = null] + expected: FAIL + + [html = string + global string] + expected: FAIL + + [html = identity function, global string changed] + expected: FAIL + + [html = callback that throws] + expected: FAIL + + [html = this bound to an object] + expected: FAIL + + [html = this without bind] + expected: FAIL + + [html - calling undefined callback throws] + expected: FAIL + + [createHTML defined - calling undefined callbacks throws] + expected: FAIL + + [script = identity function] + expected: FAIL + + [script = null] + expected: FAIL + + [script = string + global string] + expected: FAIL + + [script = identity function, global string changed] + expected: FAIL + + [script = callback that throws] + expected: FAIL + + [script = this bound to an object] + expected: FAIL + + [script = this without bind] + expected: FAIL + + [script - calling undefined callback throws] + expected: FAIL + + [createScript defined - calling undefined callbacks throws] + expected: FAIL + + [script_url = identity function] + expected: FAIL + + [script_url = null] + expected: FAIL + + [script_url = string + global string] + expected: FAIL + + [script_url = identity function, global string changed] + expected: FAIL + + [script_url = callback that throws] + expected: FAIL + + [script_url = this bound to an object] + expected: FAIL + + [script_url = this without bind] + expected: FAIL + + [script_url - calling undefined callback throws] + expected: FAIL + + [createScriptURL defined - calling undefined callbacks throws] + expected: FAIL + + [Arbitrary number of arguments] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html.ini new file mode 100644 index 0000000000..221b8ef745 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html.ini @@ -0,0 +1,9 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html] + [Can create policy with name 'SomeName'] + expected: FAIL + + [Can create a second policy with name 'SomeName'] + expected: FAIL + + [Can create policy with name 'default'] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html.ini new file mode 100644 index 0000000000..2016576af0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html.ini @@ -0,0 +1,3 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html] + [Wildcard given - policy creation works] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html.ini new file mode 100644 index 0000000000..abab2553d4 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html.ini @@ -0,0 +1,6 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests.html] + [Allowed-name policy creation works.] + expected: FAIL + + [Another allowed-name policy creation works.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html.ini new file mode 100644 index 0000000000..1119bbdf45 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html.ini @@ -0,0 +1,9 @@ +[TrustedTypePolicyFactory-createPolicy-nameTests.html] + [policy.name = name] + expected: FAIL + + [duplicate policy name attempt throws] + expected: FAIL + + [Error messages for duplicates and unlisted policies should be different] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.html.ini new file mode 100644 index 0000000000..7a02d1ae00 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.html.ini @@ -0,0 +1,3 @@ +[TrustedTypePolicyFactory-createPolicy-unenforced.html] + [Duplicate policy names should be tolerated (unless in enforcing mode)] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html.ini new file mode 100644 index 0000000000..913c9e12c0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html.ini @@ -0,0 +1,9 @@ +[TrustedTypePolicyFactory-defaultPolicy.html] + [defaultPolicy with no default created is not an error] + expected: FAIL + + [defaultPolicy returns the correct default policy] + expected: FAIL + + [defaultPolicy is a read-only property] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.html.ini new file mode 100644 index 0000000000..538b1d0518 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.html.ini @@ -0,0 +1,63 @@ +[TrustedTypePolicyFactory-getAttributeType-namespace.html] + [0: getAttributeType with full namespace info.] + expected: FAIL + + [0: getAttributeType with element namespace and empty attribute namespace] + expected: FAIL + + [0: getAttributeType without namespaces.] + expected: FAIL + + [0: getAttributeType with undefined and empty namespace.] + expected: FAIL + + [0: getAttributeType with empty and undefined namespace.] + expected: FAIL + + [0: getAttributeType with empty namespaces.] + expected: FAIL + + [0: getAttributeType with element namespace and empty attribute namespace.] + expected: FAIL + + [1: getAttributeType with full namespace info.] + expected: FAIL + + [1: getAttributeType with element namespace and empty attribute namespace] + expected: FAIL + + [1: getAttributeType without namespaces.] + expected: FAIL + + [1: getAttributeType with undefined and empty namespace.] + expected: FAIL + + [1: getAttributeType with empty and undefined namespace.] + expected: FAIL + + [1: getAttributeType with empty namespaces.] + expected: FAIL + + [1: getAttributeType with element namespace and empty attribute namespace.] + expected: FAIL + + [2: getAttributeType with full namespace info.] + expected: FAIL + + [2: getAttributeType with element namespace and empty attribute namespace] + expected: FAIL + + [2: getAttributeType without namespaces.] + expected: FAIL + + [2: getAttributeType with undefined and empty namespace.] + expected: FAIL + + [2: getAttributeType with empty and undefined namespace.] + expected: FAIL + + [2: getAttributeType with empty namespaces.] + expected: FAIL + + [2: getAttributeType with element namespace and empty attribute namespace.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini new file mode 100644 index 0000000000..95961f3d92 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.html.ini @@ -0,0 +1,72 @@ +[TrustedTypePolicyFactory-getPropertyType.html] + [sanity check trustedTypes.getPropertyType for the HTML script element.] + expected: FAIL + + [sanity check trustedTypes.getAttributeType.] + expected: FAIL + + [sanity check trustedTypes.getTypeMapping] + expected: FAIL + + [getPropertyType tests adapted from w3c/trusted-types polyfill] + expected: FAIL + + [getAttributeType tests adapted from w3c/trusted-types polyfill] + expected: FAIL + + [getTypeMapping tests adapted from w3c/trusted-types polyfill] + expected: FAIL + + [object[codeBase\] is defined] + expected: FAIL + + [object.codeBase is maybe defined] + expected: FAIL + + [OBJECT[codeBase\] is defined] + expected: FAIL + + [OBJECT.codeBase is maybe defined] + expected: FAIL + + [oBjEcT[codeBase\] is defined] + expected: FAIL + + [oBjEcT.codeBase is maybe defined] + expected: FAIL + + [object[CODEBASE\] is defined] + expected: FAIL + + [object.CODEBASE is maybe defined] + expected: FAIL + + [OBJECT[CODEBASE\] is defined] + expected: FAIL + + [OBJECT.CODEBASE is maybe defined] + expected: FAIL + + [oBjEcT[CODEBASE\] is defined] + expected: FAIL + + [oBjEcT.CODEBASE is maybe defined] + expected: FAIL + + [object[codebase\] is defined] + expected: FAIL + + [object.codebase is maybe defined] + expected: FAIL + + [OBJECT[codebase\] is defined] + expected: FAIL + + [OBJECT.codebase is maybe defined] + expected: FAIL + + [oBjEcT[codebase\] is defined] + expected: FAIL + + [oBjEcT.codebase is maybe defined] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.html.ini new file mode 100644 index 0000000000..411c238f40 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.html.ini @@ -0,0 +1,12 @@ +[TrustedTypePolicyFactory-isXXX.html] + [TrustedTypePolicyFactory.isHTML requires the object to be created via policy.] + expected: FAIL + + [TrustedTypePolicyFactory.isScript requires the object to be created via policy.] + expected: FAIL + + [TrustedTypePolicyFactory.isScriptURL requires the object to be created via policy.] + expected: FAIL + + [TrustedTypePolicyFactory.isXXX should accept anything without throwing.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini new file mode 100644 index 0000000000..850dd1dbc3 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.html.ini @@ -0,0 +1,2 @@ +[TrustedTypePolicyFactory-metadata.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/Window-TrustedTypes.html.ini b/testing/web-platform/meta/trusted-types/Window-TrustedTypes.html.ini new file mode 100644 index 0000000000..5a59380e92 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Window-TrustedTypes.html.ini @@ -0,0 +1,6 @@ +[Window-TrustedTypes.html] + [factory = window.trustedTypes] + expected: FAIL + + [factory construction fails] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/WorkerGlobalScope-eval.html.ini b/testing/web-platform/meta/trusted-types/WorkerGlobalScope-eval.html.ini new file mode 100644 index 0000000000..f845c629fb --- /dev/null +++ b/testing/web-platform/meta/trusted-types/WorkerGlobalScope-eval.html.ini @@ -0,0 +1,2 @@ +[WorkerGlobalScope-eval.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/WorkerGlobalScope-importScripts.html.ini b/testing/web-platform/meta/trusted-types/WorkerGlobalScope-importScripts.html.ini new file mode 100644 index 0000000000..f9de11fb09 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/WorkerGlobalScope-importScripts.html.ini @@ -0,0 +1,2 @@ +[WorkerGlobalScope-importScripts.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/__dir__.ini b/testing/web-platform/meta/trusted-types/__dir__.ini new file mode 100644 index 0000000000..2ef043b928 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/__dir__.ini @@ -0,0 +1 @@ +implementation-status: backlog diff --git a/testing/web-platform/meta/trusted-types/block-Document-execCommand.html.ini b/testing/web-platform/meta/trusted-types/block-Document-execCommand.html.ini new file mode 100644 index 0000000000..1541d39bdb --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-Document-execCommand.html.ini @@ -0,0 +1,2 @@ +[block-Document-execCommand.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.html.ini b/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.html.ini new file mode 100644 index 0000000000..707ddb74b1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.html.ini @@ -0,0 +1,2 @@ +[block-Node-multiple-arguments.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html.ini new file mode 100644 index 0000000000..f0abfcfb58 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html.ini @@ -0,0 +1,12 @@ +[block-string-assignment-to-DOMParser-parseFromString.html] + [document.innerText assigned via policy (successful HTML transformation).] + expected: FAIL + + [`document.innerText = string` throws.] + expected: FAIL + + ['document.innerText = null' throws] + expected: FAIL + + ['document.innerText = string' assigned via default policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html.ini new file mode 100644 index 0000000000..23c57970b4 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html.ini @@ -0,0 +1,19 @@ +[block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html] + expected: ERROR + [window.setTimeout assigned via policy (successful Script transformation).] + expected: FAIL + + [`window.setTimeout(string)` throws.] + expected: FAIL + + [`window.setTimeout(null)` throws.] + expected: FAIL + + [window.setInterval assigned via policy (successful Script transformation).] + expected: FAIL + + [`window.setInterval(string)` throws.] + expected: FAIL + + [`window.setInterval(null)` throws.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html.ini new file mode 100644 index 0000000000..6ce23bf8b7 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html.ini @@ -0,0 +1,15 @@ +[block-string-assignment-to-Document-parseHTMLUnsafe.html] + [Document.parseHTMLUnsafe assigned via policy (successful HTML transformation).] + expected: FAIL + + [`Document.parseHTMLUnsafe(string)` throws.] + expected: FAIL + + ['Document.parseHTMLUnsafe(null)' throws] + expected: FAIL + + ['Document.parseHTMLUnsafe(string)' assigned via default policy (successful HTML transformation).] + expected: FAIL + + ['Document.parseHTMLUnsafe(null)' assigned via default policy does not throw] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.html.ini new file mode 100644 index 0000000000..e68c26ba21 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.html.ini @@ -0,0 +1,2 @@ +[block-string-assignment-to-Document-write.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html.ini new file mode 100644 index 0000000000..0d6cbef400 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html.ini @@ -0,0 +1,15 @@ +[block-string-assignment-to-Element-insertAdjacentHTML.html] + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + + [`insertAdjacentHTML(string)` throws.] + expected: FAIL + + [`insertAdjacentHTML(null)` throws.] + expected: FAIL + + [`insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL + + [`insertAdjacentHTML(null)` assigned via default policy does not throw.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.html.ini new file mode 100644 index 0000000000..1f66b8113c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.html.ini @@ -0,0 +1,15 @@ +[block-string-assignment-to-Element-outerHTML.html] + [outerHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + + [`outerHTML = string` throws.] + expected: FAIL + + [`outerHTML = null` throws.] + expected: FAIL + + [`outerHTML = string` assigned via default policy (successful HTML transformation).] + expected: FAIL + + [`outerHTML = null` assigned via default policy does not throw] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.html.ini new file mode 100644 index 0000000000..61f4142826 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.html.ini @@ -0,0 +1,2 @@ +[block-string-assignment-to-Element-setAttribute.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.html.ini new file mode 100644 index 0000000000..d46225051d --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.html.ini @@ -0,0 +1,10 @@ +[block-string-assignment-to-Element-setAttributeNS.html] + expected: ERROR + [Element.setAttributeNS assigned via policy (successful HTML transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful Script transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful ScriptURL transformation)] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html.ini new file mode 100644 index 0000000000..d17d804b02 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html.ini @@ -0,0 +1,15 @@ +[block-string-assignment-to-Element-setHTMLUnsafe.html] + [element.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).] + expected: FAIL + + [`element.setHTMLUnsafe(string)` throws.] + expected: FAIL + + [`element.setHTMLUnsafe(null)` throws.] + expected: FAIL + + [`element.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL + + [`element.setHTMLUnsafe(string)` assigned via default policy does not throw] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini new file mode 100644 index 0000000000..321aefbf62 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.html.ini @@ -0,0 +1,19 @@ +[block-string-assignment-to-HTMLElement-generic.html] + expected: ERROR + [embed.src accepts only TrustedScriptURL] + expected: FAIL + + [object.codeBase accepts only TrustedScriptURL] + expected: FAIL + + [object.data accepts only TrustedScriptURL] + expected: FAIL + + [script.src accepts only TrustedScriptURL] + expected: FAIL + + [div.innerHTML accepts only TrustedHTML] + expected: FAIL + + [iframe.srcdoc accepts only TrustedHTML] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.html.ini new file mode 100644 index 0000000000..33e1091e28 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.html.ini @@ -0,0 +1,12 @@ +[block-string-assignment-to-Range-createContextualFragment.html] + [range.createContextualFragment assigned via policy (successful HTML transformation).] + expected: FAIL + + [`range.createContextualFragment(string)` throws.] + expected: FAIL + + [`range.createContextualFragment(null)` throws.] + expected: FAIL + + [`range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html.ini new file mode 100644 index 0000000000..6e29a8ce12 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html.ini @@ -0,0 +1,12 @@ +[block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html] + [shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).] + expected: FAIL + + [`shadowRoot.setHTMLUnsafe(string)` throws.] + expected: FAIL + + [`shadowRoot.setHTMLUnsafe(null)` throws.] + expected: FAIL + + [`shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini new file mode 100644 index 0000000000..26021290bb --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.html.ini @@ -0,0 +1,36 @@ +[block-string-assignment-to-attribute-via-attribute-node.html] + [Set embed.src via textContent] + expected: FAIL + + [Set embed.src via nodeValue] + expected: FAIL + + [Set object.data via textContent] + expected: FAIL + + [Set object.data via nodeValue] + expected: FAIL + + [Set object.codebase via textContent] + expected: FAIL + + [Set object.codebase via nodeValue] + expected: FAIL + + [Set script.src via textContent] + expected: FAIL + + [Set script.src via nodeValue] + expected: FAIL + + [Set iframe.srcdoc via textContent] + expected: FAIL + + [Set iframe.srcdoc via nodeValue] + expected: FAIL + + [Set div.onclick via textContent] + expected: FAIL + + [Set div.onclick via nodeValue] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/block-text-node-insertion-into-script-element.html.ini b/testing/web-platform/meta/trusted-types/block-text-node-insertion-into-script-element.html.ini new file mode 100644 index 0000000000..51f171620c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-text-node-insertion-into-script-element.html.ini @@ -0,0 +1,2 @@ +[block-text-node-insertion-into-script-element.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/csp-block-eval.html.ini b/testing/web-platform/meta/trusted-types/csp-block-eval.html.ini new file mode 100644 index 0000000000..dc1c2df55c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/csp-block-eval.html.ini @@ -0,0 +1,2 @@ +[csp-block-eval.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.html.ini b/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.html.ini new file mode 100644 index 0000000000..04879ad59f --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.html.ini @@ -0,0 +1,2 @@ +[default-policy-callback-arguments.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/default-policy-report-only.html.ini b/testing/web-platform/meta/trusted-types/default-policy-report-only.html.ini new file mode 100644 index 0000000000..fa53222384 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy-report-only.html.ini @@ -0,0 +1,4 @@ +[default-policy-report-only.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/trusted-types/default-policy.html.ini b/testing/web-platform/meta/trusted-types/default-policy.html.ini new file mode 100644 index 0000000000..dbbb580f9b --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy.html.ini @@ -0,0 +1,13 @@ +[default-policy.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT + + [script.src no default policy] + expected: FAIL + + [div.innerHTML no default policy] + expected: FAIL + + [script.text no default policy] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.html.ini b/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.html.ini new file mode 100644 index 0000000000..01399ef75d --- /dev/null +++ b/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.html.ini @@ -0,0 +1,4 @@ +[empty-default-policy-report-only.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/trusted-types/empty-default-policy.html.ini b/testing/web-platform/meta/trusted-types/empty-default-policy.html.ini new file mode 100644 index 0000000000..429b3003e0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/empty-default-policy.html.ini @@ -0,0 +1,4 @@ +[empty-default-policy.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/trusted-types/eval-csp-no-tt.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-no-tt.html.ini new file mode 100644 index 0000000000..e708403073 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-no-tt.html.ini @@ -0,0 +1,2 @@ +[eval-csp-no-tt.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.html.ini new file mode 100644 index 0000000000..c26b91cb28 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.html.ini @@ -0,0 +1,2 @@ +[eval-csp-tt-default-policy.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.html.ini new file mode 100644 index 0000000000..eda2a8631d --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.html.ini @@ -0,0 +1,2 @@ +[eval-csp-tt-no-default-policy.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-function-constructor.html.ini b/testing/web-platform/meta/trusted-types/eval-function-constructor.html.ini new file mode 100644 index 0000000000..03bbef7f1c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-function-constructor.html.ini @@ -0,0 +1,2 @@ +[eval-function-constructor.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.html.ini b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.html.ini new file mode 100644 index 0000000000..e30acda0c0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.html.ini @@ -0,0 +1,2 @@ +[eval-no-csp-no-tt-default-policy.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.html.ini b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.html.ini new file mode 100644 index 0000000000..a5232ea0f0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.html.ini @@ -0,0 +1,2 @@ +[eval-no-csp-no-tt.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.html.ini b/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.html.ini new file mode 100644 index 0000000000..43e96b93d3 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.html.ini @@ -0,0 +1,2 @@ +[eval-with-permissive-csp.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.html.ini b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.html.ini new file mode 100644 index 0000000000..e614df7be1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.html.ini @@ -0,0 +1,2 @@ +[no-require-trusted-types-for-report-only.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.html.ini b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.html.ini new file mode 100644 index 0000000000..b6334160b5 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.html.ini @@ -0,0 +1,2 @@ +[no-require-trusted-types-for.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.html.ini b/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.html.ini new file mode 100644 index 0000000000..8d13db3003 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.html.ini @@ -0,0 +1,13 @@ +[require-trusted-types-for-report-only.html] + expected: TIMEOUT + [Require trusted types for 'script' block create HTML.] + expected: TIMEOUT + + [Require trusted types for 'script' block create script.] + expected: NOTRUN + + [Require trusted types for 'script' block create script URL.] + expected: NOTRUN + + [Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.] + expected: NOTRUN diff --git a/testing/web-platform/meta/trusted-types/require-trusted-types-for.html.ini b/testing/web-platform/meta/trusted-types/require-trusted-types-for.html.ini new file mode 100644 index 0000000000..93a64bdfcb --- /dev/null +++ b/testing/web-platform/meta/trusted-types/require-trusted-types-for.html.ini @@ -0,0 +1,12 @@ +[require-trusted-types-for.html] + [Require trusted types for 'script' block create HTML.] + expected: FAIL + + [Require trusted types for 'script' block create script.] + expected: FAIL + + [Require trusted types for 'script' block create script URL.] + expected: FAIL + + [Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.html.ini new file mode 100644 index 0000000000..99cd6a7477 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.html.ini @@ -0,0 +1,39 @@ +[trusted-types-createHTMLDocument.html] + [Trusted Type assignment is blocked. (document)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (document)] + expected: FAIL + + [Trusted Type assignment is blocked. (createHTMLDocument)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (createHTMLDocument)] + expected: FAIL + + [Trusted Type assignment is blocked. (DOMParser)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (DOMParser)] + expected: FAIL + + [Trusted Type assignment is blocked. (XHR)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (XHR)] + expected: FAIL + + [Install default policy.] + expected: FAIL + + [Default policy applies. (document)] + expected: FAIL + + [Default policy applies. (createHTMLDocument)] + expected: FAIL + + [Default policy applies. (DOMParser)] + expected: FAIL + + [Default policy applies. (XHR)] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.html.ini new file mode 100644 index 0000000000..267c69eb07 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.html.ini @@ -0,0 +1,3 @@ +[trusted-types-duplicate-names-list-report-only.html] + [TrustedTypePolicyFactory and policy list in CSP.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.html.ini new file mode 100644 index 0000000000..d9a935f258 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.html.ini @@ -0,0 +1,3 @@ +[trusted-types-duplicate-names-list.html] + [TrustedTypePolicyFactory and policy list in CSP.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.html.ini new file mode 100644 index 0000000000..cd9d535f94 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.html.ini @@ -0,0 +1,6 @@ +[trusted-types-duplicate-names-without-enforcement.html] + [createPolicy - duplicate policies are allowed when Trusted Types are not enforced.] + expected: FAIL + + [createPolicy - duplicate "default" policy is never allowed.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names.html.ini new file mode 100644 index 0000000000..b69452d374 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names.html.ini @@ -0,0 +1,3 @@ +[trusted-types-duplicate-names.html] + [policy - duplicate names] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html.ini new file mode 100644 index 0000000000..d5723d802e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting-no-unsafe-eval.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.html.ini new file mode 100644 index 0000000000..984ce3ff46 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting-report-only.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.html.ini new file mode 100644 index 0000000000..74b6e62f29 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini new file mode 100644 index 0000000000..a1e80abaab --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.html.ini @@ -0,0 +1,315 @@ +[trusted-types-event-handlers.html] + [Event handler onclick should be blocked.] + expected: FAIL + + [Event handler onchange should be blocked.] + expected: FAIL + + [Event handler onfocus should be blocked.] + expected: FAIL + + [Event handler oNclick should be blocked.] + expected: FAIL + + [Event handler OnClIcK should be blocked.] + expected: FAIL + + [Event handler div.onabort should be blocked.] + expected: FAIL + + [Event handler div.onblur should be blocked.] + expected: FAIL + + [Event handler div.onfocus should be blocked.] + expected: FAIL + + [Event handler div.oncancel should be blocked.] + expected: FAIL + + [Event handler div.onauxclick should be blocked.] + expected: FAIL + + [Event handler div.onbeforeinput should be blocked.] + expected: FAIL + + [Event handler div.onbeforetoggle should be blocked.] + expected: FAIL + + [Event handler div.oncanplay should be blocked.] + expected: FAIL + + [Event handler div.oncanplaythrough should be blocked.] + expected: FAIL + + [Event handler div.onchange should be blocked.] + expected: FAIL + + [Event handler div.onclick should be blocked.] + expected: FAIL + + [Event handler div.onclose should be blocked.] + expected: FAIL + + [Event handler div.oncontextmenu should be blocked.] + expected: FAIL + + [Event handler div.oncopy should be blocked.] + expected: FAIL + + [Event handler div.oncuechange should be blocked.] + expected: FAIL + + [Event handler div.oncut should be blocked.] + expected: FAIL + + [Event handler div.ondblclick should be blocked.] + expected: FAIL + + [Event handler div.ondrag should be blocked.] + expected: FAIL + + [Event handler div.ondragend should be blocked.] + expected: FAIL + + [Event handler div.ondragenter should be blocked.] + expected: FAIL + + [Event handler div.ondragleave should be blocked.] + expected: FAIL + + [Event handler div.ondragover should be blocked.] + expected: FAIL + + [Event handler div.ondragstart should be blocked.] + expected: FAIL + + [Event handler div.ondrop should be blocked.] + expected: FAIL + + [Event handler div.ondurationchange should be blocked.] + expected: FAIL + + [Event handler div.onemptied should be blocked.] + expected: FAIL + + [Event handler div.onended should be blocked.] + expected: FAIL + + [Event handler div.onformdata should be blocked.] + expected: FAIL + + [Event handler div.oninput should be blocked.] + expected: FAIL + + [Event handler div.oninvalid should be blocked.] + expected: FAIL + + [Event handler div.onkeydown should be blocked.] + expected: FAIL + + [Event handler div.onkeypress should be blocked.] + expected: FAIL + + [Event handler div.onkeyup should be blocked.] + expected: FAIL + + [Event handler div.onload should be blocked.] + expected: FAIL + + [Event handler div.onloadeddata should be blocked.] + expected: FAIL + + [Event handler div.onloadedmetadata should be blocked.] + expected: FAIL + + [Event handler div.onloadstart should be blocked.] + expected: FAIL + + [Event handler div.onmousedown should be blocked.] + expected: FAIL + + [Event handler div.onmouseenter should be blocked.] + expected: FAIL + + [Event handler div.onmouseleave should be blocked.] + expected: FAIL + + [Event handler div.onmousemove should be blocked.] + expected: FAIL + + [Event handler div.onmouseout should be blocked.] + expected: FAIL + + [Event handler div.onmouseover should be blocked.] + expected: FAIL + + [Event handler div.onmouseup should be blocked.] + expected: FAIL + + [Event handler div.onwheel should be blocked.] + expected: FAIL + + [Event handler div.onpaste should be blocked.] + expected: FAIL + + [Event handler div.onpause should be blocked.] + expected: FAIL + + [Event handler div.onplay should be blocked.] + expected: FAIL + + [Event handler div.onplaying should be blocked.] + expected: FAIL + + [Event handler div.onprogress should be blocked.] + expected: FAIL + + [Event handler div.onratechange should be blocked.] + expected: FAIL + + [Event handler div.onreset should be blocked.] + expected: FAIL + + [Event handler div.onresize should be blocked.] + expected: FAIL + + [Event handler div.onscroll should be blocked.] + expected: FAIL + + [Event handler div.onscrollend should be blocked.] + expected: FAIL + + [Event handler div.onsecuritypolicyviolation should be blocked.] + expected: FAIL + + [Event handler div.onseeked should be blocked.] + expected: FAIL + + [Event handler div.onseeking should be blocked.] + expected: FAIL + + [Event handler div.onselect should be blocked.] + expected: FAIL + + [Event handler div.onslotchange should be blocked.] + expected: FAIL + + [Event handler div.onstalled should be blocked.] + expected: FAIL + + [Event handler div.onsubmit should be blocked.] + expected: FAIL + + [Event handler div.onsuspend should be blocked.] + expected: FAIL + + [Event handler div.ontimeupdate should be blocked.] + expected: FAIL + + [Event handler div.onvolumechange should be blocked.] + expected: FAIL + + [Event handler div.onwaiting should be blocked.] + expected: FAIL + + [Event handler div.onselectstart should be blocked.] + expected: FAIL + + [Event handler div.onselectionchange should be blocked.] + expected: FAIL + + [Event handler div.ontoggle should be blocked.] + expected: FAIL + + [Event handler div.onpointercancel should be blocked.] + expected: FAIL + + [Event handler div.onpointerdown should be blocked.] + expected: FAIL + + [Event handler div.onpointerup should be blocked.] + expected: FAIL + + [Event handler div.onpointermove should be blocked.] + expected: FAIL + + [Event handler div.onpointerout should be blocked.] + expected: FAIL + + [Event handler div.onpointerover should be blocked.] + expected: FAIL + + [Event handler div.onpointerenter should be blocked.] + expected: FAIL + + [Event handler div.onpointerleave should be blocked.] + expected: FAIL + + [Event handler div.ongotpointercapture should be blocked.] + expected: FAIL + + [Event handler div.onlostpointercapture should be blocked.] + expected: FAIL + + [Event handler div.onmozfullscreenchange should be blocked.] + expected: FAIL + + [Event handler div.onmozfullscreenerror should be blocked.] + expected: FAIL + + [Event handler div.onanimationcancel should be blocked.] + expected: FAIL + + [Event handler div.onanimationend should be blocked.] + expected: FAIL + + [Event handler div.onanimationiteration should be blocked.] + expected: FAIL + + [Event handler div.onanimationstart should be blocked.] + expected: FAIL + + [Event handler div.ontransitioncancel should be blocked.] + expected: FAIL + + [Event handler div.ontransitionend should be blocked.] + expected: FAIL + + [Event handler div.ontransitionrun should be blocked.] + expected: FAIL + + [Event handler div.ontransitionstart should be blocked.] + expected: FAIL + + [Event handler div.onwebkitanimationend should be blocked.] + expected: FAIL + + [Event handler div.onwebkitanimationiteration should be blocked.] + expected: FAIL + + [Event handler div.onwebkitanimationstart should be blocked.] + expected: FAIL + + [Event handler div.onwebkittransitionend should be blocked.] + expected: FAIL + + [Event handler div.onerror should be blocked.] + expected: FAIL + + [Event handler div.onfullscreenchange should be blocked.] + expected: FAIL + + [Event handler div.onfullscreenerror should be blocked.] + expected: FAIL + + [Event handler div.ontouchend should be blocked.] + expected: FAIL + + [Event handler div.ontouchstart should be blocked.] + expected: FAIL + + [Event handler div.ontouchcancel should be blocked.] + expected: FAIL + + [Event handler div.ontouchmove should be blocked.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-from-literal.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-from-literal.html.ini new file mode 100644 index 0000000000..07bb611835 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-from-literal.html.ini @@ -0,0 +1,2 @@ +[trusted-types-from-literal.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-navigation.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-navigation.html.ini new file mode 100644 index 0000000000..1d0ce6ac77 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-navigation.html.ini @@ -0,0 +1,25 @@ +[trusted-types-navigation.html] + expected: TIMEOUT + [Navigate a window with javascript:-urls in enforcing mode.] + expected: TIMEOUT + + [Navigate a window with javascript:-urls w/ default policy in enforcing mode.] + expected: NOTRUN + + [Navigate a window with javascript:-urls in report-only mode.] + expected: NOTRUN + + [Navigate a window with javascript:-urls w/ default policy in report-only mode.] + expected: NOTRUN + + [Navigate a frame with javascript:-urls in enforcing mode.] + expected: NOTRUN + + [Navigate a frame with javascript:-urls w/ default policy in enforcing mode.] + expected: NOTRUN + + [Navigate a frame with javascript:-urls in report-only mode.] + expected: NOTRUN + + [Navigate a frame with javascript:-urls w/ default policy in report-only mode.] + expected: NOTRUN diff --git a/testing/web-platform/meta/trusted-types/trusted-types-report-only.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-report-only.html.ini new file mode 100644 index 0000000000..6b5275b144 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-report-only.html.ini @@ -0,0 +1,2 @@ +[trusted-types-report-only.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-reporting-check-report.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-reporting-check-report.html.ini new file mode 100644 index 0000000000..63bcd553d8 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-reporting-check-report.html.ini @@ -0,0 +1,2 @@ +[trusted-types-reporting-check-report.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-reporting.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-reporting.html.ini new file mode 100644 index 0000000000..19b8662006 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-reporting.html.ini @@ -0,0 +1,55 @@ +[trusted-types-reporting.html] + expected: TIMEOUT + [Trusted Type violation report: creating a forbidden policy.] + expected: TIMEOUT + + [Trusted Type violation report: creating a report-only-forbidden policy.] + expected: NOTRUN + + [Trusted Type violation report: creating a forbidden-but-not-reported policy.] + expected: NOTRUN + + [Trusted Type violation report: assign string to script url] + expected: NOTRUN + + [Trusted Type violation report: assign string to html] + expected: NOTRUN + + [Trusted Type violation report: assign trusted script to script; no report] + expected: NOTRUN + + [Trusted Type violation report: assign trusted HTML to html; no report] + expected: NOTRUN + + [Trusted Type violation report: sample for innerHTML assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for text assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for script.src assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for script innerText assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement href assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement href assignment by setAttribute] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement text assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for eval] + expected: NOTRUN + + [Trusted Type violation report: large values should be handled sanely.] + expected: NOTRUN + + [Trusted Type violation report: sample for custom element assignment] + expected: NOTRUN + + [Trusted Type violation report: Worker constructor] + expected: NOTRUN diff --git a/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.html.ini new file mode 100644 index 0000000000..3506bf05b2 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.html.ini @@ -0,0 +1,2 @@ +[trusted-types-source-file-path.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-svg-script.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-svg-script.html.ini new file mode 100644 index 0000000000..7e215f5845 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-svg-script.html.ini @@ -0,0 +1,2 @@ +[trusted-types-svg-script.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-tojson.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-tojson.html.ini new file mode 100644 index 0000000000..6b0c06cc14 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-tojson.html.ini @@ -0,0 +1,3 @@ +[trusted-types-tojson.html] + [toJSON] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/tt-block-eval.html.ini b/testing/web-platform/meta/trusted-types/tt-block-eval.html.ini new file mode 100644 index 0000000000..339f7c5aac --- /dev/null +++ b/testing/web-platform/meta/trusted-types/tt-block-eval.html.ini @@ -0,0 +1,2 @@ +[tt-block-eval.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/worker-constructor.https.html.ini b/testing/web-platform/meta/trusted-types/worker-constructor.https.html.ini new file mode 100644 index 0000000000..7118e834ad --- /dev/null +++ b/testing/web-platform/meta/trusted-types/worker-constructor.https.html.ini @@ -0,0 +1,2 @@ +[worker-constructor.https.html] + expected: ERROR |