diff options
Diffstat (limited to 'testing/web-platform/meta/trusted-types')
83 files changed, 1408 insertions, 0 deletions
diff --git a/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.tentative.html.ini b/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.tentative.html.ini new file mode 100644 index 0000000000..708e74b7c1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/DOMParser-parseFromString.tentative.html.ini @@ -0,0 +1,4 @@ +[DOMParser-parseFromString.tentative.html] + [document.innerText assigned via policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html.ini b/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html.ini new file mode 100644 index 0000000000..e19130e101 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html.ini @@ -0,0 +1,8 @@ +[DOMWindowTimers-setTimeout-setInterval.tentative.html] + expected: ERROR + [window.setInterval assigned via policy (successful Script transformation).] + expected: FAIL + + [window.setTimeout assigned via policy (successful Script transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Document-write.tentative.html.ini b/testing/web-platform/meta/trusted-types/Document-write.tentative.html.ini new file mode 100644 index 0000000000..ec1e825c2b --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Document-write.tentative.html.ini @@ -0,0 +1,4 @@ +[Document-write.tentative.html] + [document.write with html assigned via policy (successful transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.tentative.html.ini b/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.tentative.html.ini new file mode 100644 index 0000000000..0c79fdfbc1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-insertAdjacentHTML.tentative.html.ini @@ -0,0 +1,4 @@ +[Element-insertAdjacentHTML.tentative.html] + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.tentative.html.ini b/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.tentative.html.ini new file mode 100644 index 0000000000..cc6c35f43c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-insertAdjacentText.tentative.html.ini @@ -0,0 +1,4 @@ +[Element-insertAdjacentText.tentative.html] + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Element-outerHTML.tentative.html.ini b/testing/web-platform/meta/trusted-types/Element-outerHTML.tentative.html.ini new file mode 100644 index 0000000000..4d003c7e08 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-outerHTML.tentative.html.ini @@ -0,0 +1,4 @@ +[Element-outerHTML.tentative.html] + [outerHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Element-setAttribute.tentative.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttribute.tentative.html.ini new file mode 100644 index 0000000000..ced2ddb9b8 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-setAttribute.tentative.html.ini @@ -0,0 +1,13 @@ +[Element-setAttribute.tentative.html] + [script.src assigned via policy (successful script transformation)] + expected: FAIL + + [script.src assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [embed.src assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [iframe.srcdoc assigned via policy (successful HTML transformation)] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/Element-setAttributeNS.tentative.html.ini b/testing/web-platform/meta/trusted-types/Element-setAttributeNS.tentative.html.ini new file mode 100644 index 0000000000..5f689ba2a4 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Element-setAttributeNS.tentative.html.ini @@ -0,0 +1,10 @@ +[Element-setAttributeNS.tentative.html] + [Element.setAttributeNS assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful HTML transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful Script transformation)] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.tentative.html.ini b/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.tentative.html.ini new file mode 100644 index 0000000000..e519a9aa0a --- /dev/null +++ b/testing/web-platform/meta/trusted-types/GlobalEventHandlers-onclick.tentative.html.ini @@ -0,0 +1,2 @@ +[GlobalEventHandlers-onclick.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/HTMLElement-generic.tentative.html.ini b/testing/web-platform/meta/trusted-types/HTMLElement-generic.tentative.html.ini new file mode 100644 index 0000000000..bb36461aaf --- /dev/null +++ b/testing/web-platform/meta/trusted-types/HTMLElement-generic.tentative.html.ini @@ -0,0 +1,2 @@ +[HTMLElement-generic.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.tentative.html.ini b/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.tentative.html.ini new file mode 100644 index 0000000000..82ee2355be --- /dev/null +++ b/testing/web-platform/meta/trusted-types/HTMLScriptElement-internal-slot.tentative.html.ini @@ -0,0 +1,4 @@ +[HTMLScriptElement-internal-slot.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/Node-multiple-arguments.tentative.html.ini new file mode 100644 index 0000000000..36697030be --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Node-multiple-arguments.tentative.html.ini @@ -0,0 +1,2 @@ +[Node-multiple-arguments.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/Range-createContextualFragment.tentative.html.ini b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.tentative.html.ini new file mode 100644 index 0000000000..67baf8f513 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Range-createContextualFragment.tentative.html.ini @@ -0,0 +1,4 @@ +[Range-createContextualFragment.tentative.html] + [range.createContextualFragment assigned via policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.tentative.html.ini new file mode 100644 index 0000000000..eba667a010 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedType-AttributeNodes.tentative.html.ini @@ -0,0 +1,2 @@ +[TrustedType-AttributeNodes.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html.ini new file mode 100644 index 0000000000..e6c0fadf56 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html.ini @@ -0,0 +1,4 @@ +[TrustedTypePolicy-CSP-wildcard.tentative.html] + [CSP supports wildcards.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.tentative.html.ini new file mode 100644 index 0000000000..9cdc52236e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicy-createXXX.tentative.html.ini @@ -0,0 +1,11 @@ +[TrustedTypePolicy-createXXX.tentative.html] + expected: ERROR + [Attributes without type constraints will work as before.] + expected: FAIL + + [calling undefined callbacks throws] + expected: FAIL + + [trustedTypes.createPolicy(.., null) creates empty policy.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.html.ini new file mode 100644 index 0000000000..2c3f333228 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-blocking.html.ini @@ -0,0 +1,13 @@ +[TrustedTypePolicyFactory-blocking.html] + [Block only default Trusted Type policy creation.] + expected: FAIL + + [Policy creation called before addEventListener function will not reached the listener.] + expected: FAIL + + [Block Trusted Type policy creation by event listener.] + expected: FAIL + + [Trusted Type policy creation.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.tentative.html.ini new file mode 100644 index 0000000000..731883f5ba --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-constants.tentative.html.ini @@ -0,0 +1,19 @@ +[TrustedTypePolicyFactory-constants.tentative.html] + [trustedTypes.emptyHTML cannot be redefined via defineProperty.] + expected: FAIL + + [trustedTypes.emptyHTML returns the intended value.] + expected: FAIL + + [trustedTypes.emptyScript cannot be redefined.] + expected: FAIL + + [trustedTypes.emptyHTML cannot be redefined.] + expected: FAIL + + [trustedTypes.emptyScript cannot be redefined via defineProperty.] + expected: FAIL + + [trustedTypes.emptyScript returns the intended value.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html.ini new file mode 100644 index 0000000000..70114bbd89 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html.ini @@ -0,0 +1,85 @@ +[TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html] + [script = identity function] + expected: FAIL + + [script_url - calling undefined callback throws] + expected: FAIL + + [html = callback that throws] + expected: FAIL + + [script_url = identity function] + expected: FAIL + + [script = identity function, global string changed] + expected: FAIL + + [createScript defined - calling undefined callbacks throws] + expected: FAIL + + [script = this without bind] + expected: FAIL + + [html = this bound to an object] + expected: FAIL + + [script_url = identity function, global string changed] + expected: FAIL + + [script_url = this bound to an object] + expected: FAIL + + [createScriptURL defined - calling undefined callbacks throws] + expected: FAIL + + [Arbitrary number of arguments] + expected: FAIL + + [html = identity function, global string changed] + expected: FAIL + + [script - calling undefined callback throws] + expected: FAIL + + [createHTML defined - calling undefined callbacks throws] + expected: FAIL + + [html = string + global string] + expected: FAIL + + [script = this bound to an object] + expected: FAIL + + [html = identity function] + expected: FAIL + + [script = callback that throws] + expected: FAIL + + [script_url = this without bind] + expected: FAIL + + [script_url = callback that throws] + expected: FAIL + + [html = this without bind] + expected: FAIL + + [script_url = string + global string] + expected: FAIL + + [script = null] + expected: FAIL + + [script_url = null] + expected: FAIL + + [html = null] + expected: FAIL + + [script = string + global string] + expected: FAIL + + [html - calling undefined callback throws] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.tentative.html.ini new file mode 100644 index 0000000000..71d9a6f3e1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.tentative.html.ini @@ -0,0 +1,10 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html.ini new file mode 100644 index 0000000000..3cda7062a0 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html.ini @@ -0,0 +1,4 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html] + [Wildcard given - policy creation works] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html.ini new file mode 100644 index 0000000000..0d99e74fe6 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html.ini @@ -0,0 +1,7 @@ +[TrustedTypePolicyFactory-createPolicy-cspTests.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html.ini new file mode 100644 index 0000000000..451907fc2d --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html.ini @@ -0,0 +1,10 @@ +[TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html] + [policy.name = name] + expected: FAIL + + [Error messages for duplicates and unlisted policies should be different] + expected: FAIL + + [duplicate policy name attempt throws] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html.ini new file mode 100644 index 0000000000..926eb060fa --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html.ini @@ -0,0 +1,4 @@ +[TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html] + [Duplicate policy names should be tolerated (unless in enforcing mode)] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html.ini new file mode 100644 index 0000000000..e10df99aa2 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html.ini @@ -0,0 +1,10 @@ +[TrustedTypePolicyFactory-defaultPolicy.tentative.html] + [defaultPolicy is a read-only property] + expected: FAIL + + [defaultPolicy returns the correct default policy] + expected: FAIL + + [defaultPolicy with no default created is not an error] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.tentative.html.ini new file mode 100644 index 0000000000..d1ae90b53a --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.tentative.html.ini @@ -0,0 +1,63 @@ +[TrustedTypePolicyFactory-getAttributeType-namespace.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini new file mode 100644 index 0000000000..9452ffd705 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html.ini @@ -0,0 +1,72 @@ +[TrustedTypePolicyFactory-getPropertyType.tentative.html] + [object.CODEBASE is maybe defined] + expected: FAIL + + [OBJECT.codebase is maybe defined] + expected: FAIL + + [OBJECT[codeBase\] is 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 defined] + expected: FAIL + + [oBjEcT.CODEBASE is maybe defined] + expected: FAIL + + [sanity check trustedTypes.getAttributeType.] + expected: FAIL + + [oBjEcT.codeBase is maybe defined] + expected: FAIL + + [OBJECT[CODEBASE\] is defined] + expected: FAIL + + [object[codebase\] is defined] + expected: FAIL + + [OBJECT.CODEBASE is maybe 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 + + [sanity check trustedTypes.getTypeMapping] + expected: FAIL + + [oBjEcT[codeBase\] is defined] + expected: FAIL + + [sanity check trustedTypes.getPropertyType for the HTML script element.] + expected: FAIL + + [getAttributeType tests adapted from w3c/trusted-types polyfill] + expected: FAIL + + [getTypeMapping tests adapted from w3c/trusted-types polyfill] + expected: FAIL + + [getPropertyType tests adapted from w3c/trusted-types polyfill] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.html.ini new file mode 100644 index 0000000000..926db251cd --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.html.ini @@ -0,0 +1,13 @@ +[TrustedTypePolicyFactory-isXXX.tentative.html] + [TrustedTypePolicyFactory.isHTML 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 + + [TrustedTypePolicyFactory.isScript requires the object to be created via policy.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini new file mode 100644 index 0000000000..98e8d25b41 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html.ini @@ -0,0 +1,2 @@ +[TrustedTypePolicyFactory-metadata.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/Window-TrustedTypes.tentative.html.ini b/testing/web-platform/meta/trusted-types/Window-TrustedTypes.tentative.html.ini new file mode 100644 index 0000000000..56db721653 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/Window-TrustedTypes.tentative.html.ini @@ -0,0 +1,7 @@ +[Window-TrustedTypes.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-Document-execCommand.tentative.html.ini new file mode 100644 index 0000000000..e1b0741046 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-Document-execCommand.tentative.html.ini @@ -0,0 +1,2 @@ +[block-Document-execCommand.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.tentative.html.ini new file mode 100644 index 0000000000..f864468148 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-Node-multiple-arguments.tentative.html.ini @@ -0,0 +1,2 @@ +[block-Node-multiple-arguments.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html.ini new file mode 100644 index 0000000000..3339721904 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html.ini @@ -0,0 +1,13 @@ +[block-string-assignment-to-DOMParser-parseFromString.tentative.html] + ['document.innerText = string' assigned via default policy (successful HTML transformation).] + expected: FAIL + + [document.innerText assigned via policy (successful HTML transformation).] + expected: FAIL + + [`document.innerText = string` throws.] + expected: FAIL + + ['document.innerText = null' throws] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html.ini new file mode 100644 index 0000000000..291ebe6c54 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html.ini @@ -0,0 +1,20 @@ +[block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html] + expected: ERROR + [`window.setTimeout(string)` throws.] + expected: FAIL + + [window.setInterval assigned via policy (successful Script transformation).] + expected: FAIL + + [`window.setTimeout(null)` throws.] + expected: FAIL + + [`window.setInterval(null)` throws.] + expected: FAIL + + [`window.setInterval(string)` throws.] + expected: FAIL + + [window.setTimeout assigned via policy (successful Script transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.tentative.html.ini new file mode 100644 index 0000000000..492935572a --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Document-write.tentative.html.ini @@ -0,0 +1,2 @@ +[block-string-assignment-to-Document-write.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html.ini new file mode 100644 index 0000000000..048bbaf87c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html.ini @@ -0,0 +1,16 @@ +[block-string-assignment-to-Element-insertAdjacentHTML.tentative.html] + [`insertAdjacentHTML(string)` throws.] + expected: FAIL + + [`insertAdjacentHTML(null)` throws.] + expected: FAIL + + [insertAdjacentHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + + [`insertAdjacentHTML(null)` assigned via default policy does not throw.] + expected: FAIL + + [`insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html.ini new file mode 100644 index 0000000000..d4baf384df --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html.ini @@ -0,0 +1,16 @@ +[block-string-assignment-to-Element-outerHTML.tentative.html] + [`outerHTML = null` throws.] + expected: FAIL + + [`outerHTML = string` throws.] + expected: FAIL + + [`outerHTML = null` assigned via default policy does not throw] + expected: FAIL + + [outerHTML with html assigned via policy (successful HTML transformation).] + expected: FAIL + + [`outerHTML = string` assigned via default policy (successful HTML transformation).] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html.ini new file mode 100644 index 0000000000..67fb1ef2aa --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html.ini @@ -0,0 +1,2 @@ +[block-string-assignment-to-Element-setAttribute.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.html.ini new file mode 100644 index 0000000000..83955faa06 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.html.ini @@ -0,0 +1,11 @@ +[block-string-assignment-to-Element-setAttributeNS.tentative.html] + expected: ERROR + [Element.setAttributeNS assigned via policy (successful HTML transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful ScriptURL transformation)] + expected: FAIL + + [Element.setAttributeNS assigned via policy (successful Script transformation)] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html.ini new file mode 100644 index 0000000000..de0e525b0c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html.ini @@ -0,0 +1,20 @@ +[block-string-assignment-to-HTMLElement-generic.tentative.html] + expected: ERROR + [embed.src accepts only TrustedScriptURL] + expected: FAIL + + [object.codeBase accepts only TrustedScriptURL] + expected: FAIL + + [script.src accepts only TrustedScriptURL] + expected: FAIL + + [iframe.srcdoc accepts only TrustedHTML] + expected: FAIL + + [object.data accepts only TrustedScriptURL] + expected: FAIL + + [div.innerHTML accepts only TrustedHTML] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html.ini new file mode 100644 index 0000000000..640769e737 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html.ini @@ -0,0 +1,13 @@ +[block-string-assignment-to-Range-createContextualFragment.tentative.html] + [range.createContextualFragment assigned via policy (successful HTML transformation).] + expected: FAIL + + [`range.createContextualFragment(string)` throws.] + expected: FAIL + + [`range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).] + expected: FAIL + + [`range.createContextualFragment(null)` throws.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.tentative.html.ini new file mode 100644 index 0000000000..4f23281ca5 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-string-assignment-to-attribute-via-attribute-node.tentative.html.ini @@ -0,0 +1,36 @@ +[block-string-assignment-to-attribute-via-attribute-node.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/block-text-node-insertion-into-script-element.tentative.html.ini new file mode 100644 index 0000000000..e2c6bdd13e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/block-text-node-insertion-into-script-element.tentative.html.ini @@ -0,0 +1,2 @@ +[block-text-node-insertion-into-script-element.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/csp-block-eval.tentative.html.ini b/testing/web-platform/meta/trusted-types/csp-block-eval.tentative.html.ini new file mode 100644 index 0000000000..1ba6bf9a50 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/csp-block-eval.tentative.html.ini @@ -0,0 +1,2 @@ +[csp-block-eval.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.tentative.html.ini b/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.tentative.html.ini new file mode 100644 index 0000000000..d4825e15c2 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy-callback-arguments.tentative.html.ini @@ -0,0 +1,2 @@ +[default-policy-callback-arguments.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/default-policy-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/default-policy-report-only.tentative.html.ini new file mode 100644 index 0000000000..3b98008028 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy-report-only.tentative.html.ini @@ -0,0 +1,5 @@ +[default-policy-report-only.tentative.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/trusted-types/default-policy.tentative.html.ini b/testing/web-platform/meta/trusted-types/default-policy.tentative.html.ini new file mode 100644 index 0000000000..41b84c2c59 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/default-policy.tentative.html.ini @@ -0,0 +1,14 @@ +[default-policy.tentative.html] + expected: ERROR + [script.src no default policy] + expected: FAIL + + [Count SecurityPolicyViolation events.] + expected: TIMEOUT + + [script.text no default policy] + expected: FAIL + + [div.innerHTML no default policy] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.tentative.html.ini new file mode 100644 index 0000000000..49cea5407f --- /dev/null +++ b/testing/web-platform/meta/trusted-types/empty-default-policy-report-only.tentative.html.ini @@ -0,0 +1,5 @@ +[empty-default-policy-report-only.tentative.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/trusted-types/empty-default-policy.tentative.html.ini b/testing/web-platform/meta/trusted-types/empty-default-policy.tentative.html.ini new file mode 100644 index 0000000000..6b2fa27621 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/empty-default-policy.tentative.html.ini @@ -0,0 +1,5 @@ +[empty-default-policy.tentative.html] + expected: ERROR + [Count SecurityPolicyViolation events.] + expected: TIMEOUT + diff --git a/testing/web-platform/meta/trusted-types/eval-csp-no-tt.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-no-tt.tentative.html.ini new file mode 100644 index 0000000000..bf34c6c364 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-no-tt.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-csp-no-tt.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.tentative.html.ini new file mode 100644 index 0000000000..f8e5e71650 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-tt-default-policy.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-csp-tt-default-policy.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.tentative.html.ini new file mode 100644 index 0000000000..3a93a8ed75 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-csp-tt-no-default-policy.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-csp-tt-no-default-policy.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-function-constructor.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-function-constructor.tentative.html.ini new file mode 100644 index 0000000000..b37e7d73c3 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-function-constructor.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-function-constructor.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.tentative.html.ini new file mode 100644 index 0000000000..f637c57269 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt-default-policy.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-no-csp-no-tt-default-policy.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.tentative.html.ini new file mode 100644 index 0000000000..ea4379a948 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-no-csp-no-tt.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-no-csp-no-tt.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.tentative.html.ini b/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.tentative.html.ini new file mode 100644 index 0000000000..950b06a626 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/eval-with-permissive-csp.tentative.html.ini @@ -0,0 +1,2 @@ +[eval-with-permissive-csp.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/idlharness.tentative.window.js.ini b/testing/web-platform/meta/trusted-types/idlharness.tentative.window.js.ini new file mode 100644 index 0000000000..8bec2eb56c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/idlharness.tentative.window.js.ini @@ -0,0 +1,291 @@ +[idlharness.tentative.window.html] + [TrustedTypePolicyFactory interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [TrustedScript interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [TrustedHTML must be primary interface of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")] + expected: FAIL + + [TrustedScript interface: stringifier] + expected: FAIL + + [TrustedTypePolicyFactory interface object name] + expected: FAIL + + [TrustedTypePolicy interface: existence and properties of interface object] + expected: FAIL + + [TrustedScript interface object name] + expected: FAIL + + [TrustedTypePolicyFactory interface object length] + expected: FAIL + + [TrustedScript interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [TrustedHTML interface: existence and properties of interface object] + expected: FAIL + + [TrustedTypePolicy must be primary interface of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })] + expected: FAIL + + [TrustedScriptURL must be primary interface of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")] + expected: FAIL + + [Stringification of window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")] + expected: FAIL + + [TrustedScriptURL interface object name] + expected: FAIL + + [TrustedScriptURL interface: stringifier] + expected: FAIL + + [TrustedHTML interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [TrustedHTML interface: stringifier] + expected: FAIL + + [TrustedScriptURL interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [TrustedScriptURL interface: existence and properties of interface object] + expected: FAIL + + [TrustedScript interface object length] + expected: FAIL + + [TrustedTypePolicy interface: existence and properties of interface prototype object] + expected: FAIL + + [Stringification of window.trustedTypes] + expected: FAIL + + [TrustedScriptURL interface object length] + expected: FAIL + + [TrustedTypePolicyFactory must be primary interface of window.trustedTypes] + expected: FAIL + + [TrustedScriptURL interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [TrustedTypePolicyFactory interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [TrustedHTML interface object length] + expected: FAIL + + [TrustedTypePolicyFactory interface: existence and properties of interface prototype object] + expected: FAIL + + [TrustedHTML interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [TrustedTypePolicy interface object name] + expected: FAIL + + [TrustedHTML interface object name] + expected: FAIL + + [Stringification of window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling createPolicy(DOMString, optional TrustedTypePolicyOptions) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [Stringification of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")] + expected: FAIL + + [TrustedHTML interface: existence and properties of interface prototype object] + expected: FAIL + + [TrustedScriptURL interface: existence and properties of interface prototype object] + expected: FAIL + + [TrustedScript must be primary interface of window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")] + expected: FAIL + + [TrustedTypePolicy interface object length] + expected: FAIL + + [Stringification of window.trustedTypes.createPolicy("SomeName", { createHTML: s => s })] + expected: FAIL + + [TrustedTypePolicy interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [TrustedTypePolicy interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [TrustedScript interface: existence and properties of interface object] + expected: FAIL + + [TrustedScript interface: existence and properties of interface prototype object] + expected: FAIL + + [TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "name" with the proper type] + expected: FAIL + + [TrustedTypePolicy interface: attribute name] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation createPolicy(DOMString, optional TrustedTypePolicyOptions)] + expected: FAIL + + [TrustedTypePolicyFactory interface: existence and properties of interface object] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "createPolicy(DOMString, optional TrustedTypePolicyOptions)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation isScript(any)] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation isHTML(any)] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling getAttributeType(DOMString, DOMString, optional DOMString, optional DOMString) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicyFactory interface: attribute emptyScript] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyScript" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: attribute emptyHTML] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScript(any)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation getPropertyType(DOMString, DOMString, optional DOMString)] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling isScript(any) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getPropertyType(DOMString, DOMString, optional DOMString)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling isScriptURL(any) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "getAttributeType(DOMString, DOMString, optional DOMString, optional DOMString)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling getPropertyType(DOMString, DOMString, optional DOMString) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isHTML(any)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "defaultPolicy" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "isScriptURL(any)" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: attribute defaultPolicy] + expected: FAIL + + [TrustedTypePolicyFactory interface: calling isHTML(any) on window.trustedTypes with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicyFactory interface: window.trustedTypes must inherit property "emptyHTML" with the proper type] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation getAttributeType(DOMString, DOMString, optional DOMString, optional DOMString)] + expected: FAIL + + [TrustedTypePolicyFactory interface: operation isScriptURL(any)] + expected: FAIL + + [TrustedTypePolicy interface: operation createHTML(DOMString, any...)] + expected: FAIL + + [TrustedScript interface: toJSON operation on window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string")] + expected: FAIL + + [TrustedTypePolicy interface: calling createHTML(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicy interface: operation createScript(DOMString, any...)] + expected: FAIL + + [TrustedScriptURL interface: operation toJSON()] + expected: FAIL + + [TrustedScriptURL interface: window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string") must inherit property "toJSON()" with the proper type] + expected: FAIL + + [TrustedTypePolicy interface: operation createScriptURL(DOMString, any...)] + expected: FAIL + + [TrustedHTML interface: window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string") must inherit property "toJSON()" with the proper type] + expected: FAIL + + [Window interface: attribute trustedTypes] + expected: FAIL + + [TrustedHTML interface: operation toJSON()] + expected: FAIL + + [TrustedHTML interface: toJSON operation on window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string")] + expected: FAIL + + [TrustedScriptURL interface: toJSON operation on window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string")] + expected: FAIL + + [TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScript(DOMString, any...)" with the proper type] + expected: FAIL + + [TrustedTypePolicy interface: calling createScriptURL(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicy interface: calling createScript(DOMString, any...) on window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) with too few arguments must throw TypeError] + expected: FAIL + + [TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createHTML(DOMString, any...)" with the proper type] + expected: FAIL + + [TrustedScript interface: window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string") must inherit property "toJSON()" with the proper type] + expected: FAIL + + [TrustedTypePolicy interface: window.trustedTypes.createPolicy("SomeName", { createHTML: s => s }) must inherit property "createScriptURL(DOMString, any...)" with the proper type] + expected: FAIL + + [TrustedScript interface: operation toJSON()] + expected: FAIL + + [TrustedScript interface: window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string") must inherit property "fromLiteral(object)" with the proper type] + expected: FAIL + + [TrustedScriptURL interface: window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string") must inherit property "fromLiteral(object)" with the proper type] + expected: FAIL + + [TrustedHTML interface: window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string") must inherit property "fromLiteral(object)" with the proper type] + expected: FAIL + + [TrustedScript interface: operation fromLiteral(object)] + expected: FAIL + + [TrustedScriptURL interface: operation fromLiteral(object)] + expected: FAIL + + [TrustedHTML interface: calling fromLiteral(object) on window.trustedTypes.createPolicy("SomeName1", { createHTML: s => s }).createHTML("A string") with too few arguments must throw TypeError] + expected: FAIL + + [TrustedScriptURL interface: calling fromLiteral(object) on window.trustedTypes.createPolicy("SomeName3", { createScriptURL: s => s }).createScriptURL("A string") with too few arguments must throw TypeError] + expected: FAIL + + [TrustedHTML interface: operation fromLiteral(object)] + expected: FAIL + + [TrustedScript interface: calling fromLiteral(object) on window.trustedTypes.createPolicy("SomeName2", { createScript: s => s }).createScript("A string") with too few arguments must throw TypeError] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.tentative.html.ini new file mode 100644 index 0000000000..5d49dac354 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for-report-only.tentative.html.ini @@ -0,0 +1,2 @@ +[no-require-trusted-types-for-report-only.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.tentative.html.ini b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.tentative.html.ini new file mode 100644 index 0000000000..eaf96426ee --- /dev/null +++ b/testing/web-platform/meta/trusted-types/no-require-trusted-types-for.tentative.html.ini @@ -0,0 +1,2 @@ +[no-require-trusted-types-for.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.tentative.html.ini new file mode 100644 index 0000000000..46666a0d2e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/require-trusted-types-for-report-only.tentative.html.ini @@ -0,0 +1,14 @@ +[require-trusted-types-for-report-only.tentative.html] + expected: TIMEOUT + [Require trusted types for 'script' block create script.] + expected: NOTRUN + + [Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.] + expected: NOTRUN + + [Require trusted types for 'script' block create HTML.] + expected: TIMEOUT + + [Require trusted types for 'script' block create script URL.] + expected: NOTRUN + diff --git a/testing/web-platform/meta/trusted-types/require-trusted-types-for.tentative.html.ini b/testing/web-platform/meta/trusted-types/require-trusted-types-for.tentative.html.ini new file mode 100644 index 0000000000..d5a3aa00e6 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/require-trusted-types-for.tentative.html.ini @@ -0,0 +1,12 @@ +[require-trusted-types-for.tentative.html] + [Require trusted types for 'script' block create script.] + expected: FAIL + + [Set require trusted types for 'script' without CSP for trusted types don't block policy creation and using.] + expected: FAIL + + [Require trusted types for 'script' block create HTML.] + expected: FAIL + + [Require trusted types for 'script' block create script URL.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.tentative.html.ini new file mode 100644 index 0000000000..115cde92ac --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-createHTMLDocument.tentative.html.ini @@ -0,0 +1,40 @@ +[trusted-types-createHTMLDocument.tentative.html] + [Trusted Type assignment is blocked. (DOMParser)] + expected: FAIL + + [Default policy applies. (XHR)] + expected: FAIL + + [Trusted Type assignment is blocked. (createHTMLDocument)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (XHR)] + expected: FAIL + + [Default policy applies. (document)] + expected: FAIL + + [Install default policy.] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (document)] + expected: FAIL + + [Trusted Type assignment is blocked. (XHR)] + expected: FAIL + + [Trusted Type assignment is blocked. (document)] + expected: FAIL + + [Default policy applies. (DOMParser)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (DOMParser)] + expected: FAIL + + [Default policy applies. (createHTMLDocument)] + expected: FAIL + + [Trusted Type instances created in the main doc can be used. (createHTMLDocument)] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html.ini new file mode 100644 index 0000000000..3ec02df74d --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html.ini @@ -0,0 +1,4 @@ +[trusted-types-duplicate-names-list-report-only.tentative.html] + [TrustedTypePolicyFactory and policy list in CSP.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.tentative.html.ini new file mode 100644 index 0000000000..e11924069c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-list.tentative.html.ini @@ -0,0 +1,4 @@ +[trusted-types-duplicate-names-list.tentative.html] + [TrustedTypePolicyFactory and policy list in CSP.] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.tentative.html.ini new file mode 100644 index 0000000000..6752891783 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names-without-enforcement.tentative.html.ini @@ -0,0 +1,6 @@ +[trusted-types-duplicate-names-without-enforcement.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names.tentative.html.ini new file mode 100644 index 0000000000..98f18c4a62 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-duplicate-names.tentative.html.ini @@ -0,0 +1,4 @@ +[trusted-types-duplicate-names.tentative.html] + [policy - duplicate names] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html.ini new file mode 100644 index 0000000000..6ee6e2f4f6 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting-no-unsafe-eval.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.tentative.html.ini new file mode 100644 index 0000000000..997636099e --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting-report-only.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting-report-only.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.tentative.html.ini new file mode 100644 index 0000000000..9100a554e1 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-eval-reporting.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-eval-reporting.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.tentative.html.ini new file mode 100644 index 0000000000..924b284e33 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-event-handlers.tentative.html.ini @@ -0,0 +1,316 @@ +[trusted-types-event-handlers.tentative.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.oncopy should be blocked.] + expected: FAIL + + [Event handler div.oncut should be blocked.] + expected: FAIL + + [Event handler div.onpaste 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.onauxclick should be blocked.] + expected: FAIL + + [Event handler div.onbeforeinput 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.oncuechange 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.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.ontouchstart should be blocked.] + expected: + if (os == "android"): FAIL + + [Event handler div.ontouchend should be blocked.] + expected: + if (os == "android"): FAIL + + [Event handler div.ontouchmove should be blocked.] + expected: + if (os == "android"): FAIL + + [Event handler div.ontouchcancel should be blocked.] + expected: + if (os == "android"): 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.onscrollend should be blocked.] + expected: FAIL diff --git a/testing/web-platform/meta/trusted-types/trusted-types-from-literal.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-from-literal.tentative.html.ini new file mode 100644 index 0000000000..fa65cb34fb --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-from-literal.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-from-literal.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-navigation.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-navigation.tentative.html.ini new file mode 100644 index 0000000000..e9325c027c --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-navigation.tentative.html.ini @@ -0,0 +1,25 @@ +[trusted-types-navigation.tentative.html] + 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 in enforcing mode.] + expected: TIMEOUT + + [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 report-only 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 enforcing mode.] + expected: NOTRUN diff --git a/testing/web-platform/meta/trusted-types/trusted-types-report-only.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-report-only.tentative.html.ini new file mode 100644 index 0000000000..ae90b7d4a5 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-report-only.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-report-only.tentative.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.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-reporting.tentative.html.ini new file mode 100644 index 0000000000..e2aa9571f4 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-reporting.tentative.html.ini @@ -0,0 +1,56 @@ +[trusted-types-reporting.tentative.html] + expected: TIMEOUT + [Trusted Type violation report: assign trusted HTML to html; no report] + expected: NOTRUN + + [Trusted Type violation report: large values should be handled sanely.] + expected: NOTRUN + + [Trusted Type violation report: sample for innerHTML assignment] + expected: NOTRUN + + [Trusted Type violation report: creating a forbidden policy.] + expected: TIMEOUT + + [Trusted Type violation report: assign string to script url] + expected: NOTRUN + + [Trusted Type violation report: sample for eval] + expected: NOTRUN + + [Trusted Type violation report: assign trusted script to script; no report] + expected: NOTRUN + + [Trusted Type violation report: creating a forbidden-but-not-reported policy.] + expected: NOTRUN + + [Trusted Type violation report: sample for custom element 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: creating a report-only-forbidden policy.] + expected: NOTRUN + + [Trusted Type violation report: assign string to html] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement href assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement text assignment] + expected: NOTRUN + + [Trusted Type violation report: sample for SVGScriptElement href assignment by setAttribute] + expected: NOTRUN + + [Trusted Type violation report: Worker constructor] + expected: NOTRUN + diff --git a/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.tentative.html.ini new file mode 100644 index 0000000000..9541d0a6df --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-source-file-path.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-source-file-path.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-svg-script.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-svg-script.tentative.html.ini new file mode 100644 index 0000000000..8ddcfb6d7b --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-svg-script.tentative.html.ini @@ -0,0 +1,2 @@ +[trusted-types-svg-script.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/trusted-types/trusted-types-tojson.tentative.html.ini b/testing/web-platform/meta/trusted-types/trusted-types-tojson.tentative.html.ini new file mode 100644 index 0000000000..1699267573 --- /dev/null +++ b/testing/web-platform/meta/trusted-types/trusted-types-tojson.tentative.html.ini @@ -0,0 +1,4 @@ +[trusted-types-tojson.tentative.html] + [toJSON] + expected: FAIL + diff --git a/testing/web-platform/meta/trusted-types/tt-block-eval.tentative.html.ini b/testing/web-platform/meta/trusted-types/tt-block-eval.tentative.html.ini new file mode 100644 index 0000000000..7b7314040a --- /dev/null +++ b/testing/web-platform/meta/trusted-types/tt-block-eval.tentative.html.ini @@ -0,0 +1,2 @@ +[tt-block-eval.tentative.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 |