Closed Bug 1881494 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44724 - Trusted Types: add tests for setAttributeNS with non-lowercase attributes with untrusted strings

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 44724 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44724
Details from upstream follow.

Mirko Brodesser <mbrodesser@igalia.com> wrote:

Trusted Types: add tests for setAttributeNS with non-lowercase attributes with untrusted strings

Implements the last tests mentioned at https://github.com/w3c/trusted-types/issues/425#issue-2100418157.

Please review https://github.com/web-platform-tests/wpt/pull/44699 first as this PR is based on it.

Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 44724 applied with additional changes from upstream: f823803bb10d628a2b09a3e76b602c9d9f7866b9
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —
# CI Results Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 51 tests and 6 subtests ## Status Summary ### Firefox `OK` : 30 `PASS` : 16 `FAIL` : 149 `TIMEOUT`: 2 `ERROR` : 21 ### Chrome `OK` : 51 `PASS` : 1165 ### Safari `OK` : 30 `PASS` : 18 `FAIL` : 147 `TIMEOUT`: 2 `ERROR` : 21 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=1a36b6ea6074d29352de0e49e1324e387aaf2849) [GitHub PR Head](https://wpt.fyi/results/?sha=40eb301b4b51c34dff256e6481a85091dbea4a2f&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=40eb301b4b51c34dff256e6481a85091dbea4a2f&label=pr_base) ## Details ### Firefox-only Failures * [/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html](https://wpt.live/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html)] * 'Document.parseHTMLUnsafe(null)' assigned via default policy does not throw: `FAIL` * [/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html)] * `insertAdjacentHTML(null)` assigned via default policy does not throw.: `FAIL` ### New Tests That Don't Pass * [/trusted-types/DOMParser-parseFromString.html](https://wpt.live/trusted-types/DOMParser-parseFromString.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/DOMParser-parseFromString.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * document.innerText assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/DOMWindowTimers-setTimeout-setInterval.html](https://wpt.live/trusted-types/DOMWindowTimers-setTimeout-setInterval.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/DOMWindowTimers-setTimeout-setInterval.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * window.setTimeout assigned via policy (successful Script transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * window.setInterval assigned via policy (successful Script transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Document-write.html](https://wpt.live/trusted-types/Document-write.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Document-write.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * document.write with html assigned via policy (successful transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Element-insertAdjacentHTML.html](https://wpt.live/trusted-types/Element-insertAdjacentHTML.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Element-insertAdjacentHTML.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * insertAdjacentHTML with html assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Element-insertAdjacentText.html](https://wpt.live/trusted-types/Element-insertAdjacentText.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Element-insertAdjacentText.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * insertAdjacentHTML with html assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Element-outerHTML.html](https://wpt.live/trusted-types/Element-outerHTML.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Element-outerHTML.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * outerHTML with html assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Element-setAttribute.html](https://wpt.live/trusted-types/Element-setAttribute.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Element-setAttribute.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * embed.src assigned via policy (successful ScriptURL transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script.src assigned via policy (successful ScriptURL transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * iframe.srcdoc assigned via policy (successful HTML transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script.src assigned via policy (successful script transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/Element-setAttributeNS.html](https://wpt.live/trusted-types/Element-setAttributeNS.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Element-setAttributeNS.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Element.setAttributeNS assigned via policy (successful HTML transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Element.setAttributeNS assigned via policy (successful Script transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Element.setAttributeNS assigned via policy (successful ScriptURL transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/GlobalEventHandlers-onclick.html](https://wpt.live/trusted-types/GlobalEventHandlers-onclick.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/GlobalEventHandlers-onclick.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/HTMLElement-generic.html](https://wpt.live/trusted-types/HTMLElement-generic.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/HTMLElement-generic.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/Node-multiple-arguments.html](https://wpt.live/trusted-types/Node-multiple-arguments.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Node-multiple-arguments.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/Range-createContextualFragment.html](https://wpt.live/trusted-types/Range-createContextualFragment.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Range-createContextualFragment.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * range.createContextualFragment assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicy-CSP-no-name.html](https://wpt.live/trusted-types/TrustedTypePolicy-CSP-no-name.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicy-CSP-no-name.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * [/trusted-types/TrustedTypePolicy-CSP-wildcard.html](https://wpt.live/trusted-types/TrustedTypePolicy-CSP-wildcard.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicy-CSP-wildcard.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * CSP supports wildcards.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicy-createXXX.html](https://wpt.live/trusted-types/TrustedTypePolicy-createXXX.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicy-createXXX.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * calling undefined callbacks throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Attributes without type constraints will work as before.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.createPolicy(.., null) creates empty policy.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-blocking.tentative.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Block Trusted Type policy creation by event listener.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Trusted Type policy creation.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Block only default Trusted Type policy creation.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Policy creation called before addEventListener function will not reached the listener.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-constants.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-constants.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-constants.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * trustedTypes.emptyHTML returns the intended value.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.emptyHTML cannot be redefined.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.emptyHTML cannot be redefined via defineProperty.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.emptyScript returns the intended value.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.emptyScript cannot be redefined.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * trustedTypes.emptyScript cannot be redefined via defineProperty.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * html = identity function: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = null: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = string + global string: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = identity function, global string changed: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = callback that throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = this bound to an object: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html = this without bind: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * html - calling undefined callback throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * createHTML defined - calling undefined callbacks throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = identity function: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = null: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = string + global string: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = identity function, global string changed: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = callback that throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = this bound to an object: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script = this without bind: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script - calling undefined callback throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * createScript defined - calling undefined callbacks throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = identity function: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = null: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = string + global string: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = identity function, global string changed: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = callback that throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = this bound to an object: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url = this without bind: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script_url - calling undefined callback throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * createScriptURL defined - calling undefined callbacks throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Arbitrary number of arguments: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-skip.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Can create policy with name 'SomeName': `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Can create a second policy with name 'SomeName': `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Can create policy with name 'default': `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Wildcard given - policy creation works: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Allowed-name policy creation works.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Another allowed-name policy creation works.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * policy.name = name: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * duplicate policy name attempt throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Error messages for duplicates and unlisted policies should be different: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-defaultPolicy.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * defaultPolicy with no default created is not an error: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * defaultPolicy returns the correct default policy: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * defaultPolicy is a read-only property: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-getPropertyType.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-getPropertyType.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-getPropertyType.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * sanity check trustedTypes.getPropertyType for the HTML script element.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * sanity check trustedTypes.getAttributeType.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * sanity check trustedTypes.getTypeMapping: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * getPropertyType tests adapted from w3c/trusted-types polyfill: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * getAttributeType tests adapted from w3c/trusted-types polyfill: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * getTypeMapping tests adapted from w3c/trusted-types polyfill: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object[codeBase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object.codeBase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT[codeBase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT.codeBase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT[codeBase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT.codeBase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object[CODEBASE] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object.CODEBASE is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT[CODEBASE] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT.CODEBASE is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT[CODEBASE] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT.CODEBASE is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object[codebase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object.codebase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT[codebase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * OBJECT.codebase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT[codebase] is defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * oBjEcT.codebase is maybe defined: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-isXXX.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-isXXX.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-isXXX.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * TrustedTypePolicyFactory.isHTML requires the object to be created via policy.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * TrustedTypePolicyFactory.isScript requires the object to be created via policy.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * TrustedTypePolicyFactory.isScriptURL requires the object to be created via policy.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * TrustedTypePolicyFactory.isXXX should accept anything without throwing.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/TrustedTypePolicyFactory-metadata.html](https://wpt.live/trusted-types/TrustedTypePolicyFactory-metadata.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/TrustedTypePolicyFactory-metadata.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/Window-TrustedTypes.html](https://wpt.live/trusted-types/Window-TrustedTypes.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/Window-TrustedTypes.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * factory = window.trustedTypes: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * factory construction fails: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-Node-multiple-arguments.html](https://wpt.live/trusted-types/block-Node-multiple-arguments.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-Node-multiple-arguments.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html](https://wpt.live/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-DOMParser-parseFromString.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * document.innerText assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `document.innerText = string` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * 'document.innerText = null' throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * 'document.innerText = string' assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html](https://wpt.live/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * window.setTimeout assigned via policy (successful Script transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `window.setTimeout(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `window.setTimeout(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * window.setInterval assigned via policy (successful Script transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `window.setInterval(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `window.setInterval(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html](https://wpt.live/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Document-parseHTMLUnsafe.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * Document.parseHTMLUnsafe assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `Document.parseHTMLUnsafe(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * 'Document.parseHTMLUnsafe(null)' throws: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * 'Document.parseHTMLUnsafe(string)' assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * 'Document.parseHTMLUnsafe(null)' assigned via default policy does not throw: `FAIL` (Chrome: `PASS`, Safari: `PASS`) * [/trusted-types/block-string-assignment-to-Document-write.html](https://wpt.live/trusted-types/block-string-assignment-to-Document-write.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Document-write.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * insertAdjacentHTML with html assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `insertAdjacentHTML(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `insertAdjacentHTML(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `insertAdjacentHTML(null)` assigned via default policy does not throw.: `FAIL` (Chrome: `PASS`, Safari: `PASS`) * [/trusted-types/block-string-assignment-to-Element-outerHTML.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-outerHTML.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-outerHTML.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * outerHTML with html assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `outerHTML = string` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `outerHTML = null` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `outerHTML = string` assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `outerHTML = null` assigned via default policy does not throw: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-Element-setAttribute.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-setAttribute.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-setAttribute.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/block-string-assignment-to-Element-setAttributeNS.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-setAttributeNS.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-setAttributeNS.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * Element.setAttributeNS assigned via policy (successful HTML transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Element.setAttributeNS assigned via policy (successful Script transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * Element.setAttributeNS assigned via policy (successful ScriptURL transformation): `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html](https://wpt.live/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Element-setHTMLUnsafe.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * element.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `element.setHTMLUnsafe(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `element.setHTMLUnsafe(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `element.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `element.setHTMLUnsafe(string)` assigned via default policy does not throw: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-HTMLElement-generic.html](https://wpt.live/trusted-types/block-string-assignment-to-HTMLElement-generic.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-HTMLElement-generic.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * embed.src accepts only TrustedScriptURL: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object.codeBase accepts only TrustedScriptURL: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * object.data accepts only TrustedScriptURL: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script.src accepts only TrustedScriptURL: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * div.innerHTML accepts only TrustedHTML: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * iframe.srcdoc accepts only TrustedHTML: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-Range-createContextualFragment.html](https://wpt.live/trusted-types/block-string-assignment-to-Range-createContextualFragment.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-Range-createContextualFragment.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * range.createContextualFragment assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `range.createContextualFragment(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `range.createContextualFragment(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html](https://wpt.live/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/block-string-assignment-to-ShadowRoot-setHTMLUnsafe.html)]: `OK` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `OK`) * shadowRoot.setHTMLUnsafe(html) assigned via policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `shadowRoot.setHTMLUnsafe(string)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `shadowRoot.setHTMLUnsafe(null)` throws.: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * `shadowRoot.setHTMLUnsafe(string)` assigned via default policy (successful HTML transformation).: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/csp-block-eval.html](https://wpt.live/trusted-types/csp-block-eval.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/csp-block-eval.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/default-policy-report-only.html](https://wpt.live/trusted-types/default-policy-report-only.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/default-policy-report-only.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * Count SecurityPolicyViolation events.: `TIMEOUT` (Chrome: `PASS`, Safari: `TIMEOUT`) * [/trusted-types/default-policy.html](https://wpt.live/trusted-types/default-policy.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/default-policy.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * Count SecurityPolicyViolation events.: `TIMEOUT` (Chrome: `PASS`, Safari: `TIMEOUT`) * script.src no default policy: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * div.innerHTML no default policy: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * script.text no default policy: `FAIL` (Chrome: `PASS`, Safari: `FAIL`) * [/trusted-types/eval-csp-no-tt.html](https://wpt.live/trusted-types/eval-csp-no-tt.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-csp-no-tt.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/eval-csp-tt-default-policy.html](https://wpt.live/trusted-types/eval-csp-tt-default-policy.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-csp-tt-default-policy.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/eval-csp-tt-no-default-policy.html](https://wpt.live/trusted-types/eval-csp-tt-no-default-policy.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-csp-tt-no-default-policy.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/eval-no-csp-no-tt-default-policy.html](https://wpt.live/trusted-types/eval-no-csp-no-tt-default-policy.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-no-csp-no-tt-default-policy.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/eval-no-csp-no-tt.html](https://wpt.live/trusted-types/eval-no-csp-no-tt.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-no-csp-no-tt.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) * [/trusted-types/eval-with-permissive-csp.html](https://wpt.live/trusted-types/eval-with-permissive-csp.html) [[wpt.fyi](https://wpt.fyi/results/trusted-types/eval-with-permissive-csp.html)]: `ERROR` [`GitHub`], `SKIP` [`Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview`, `Gecko-android-em-7.0-x86_64-qr-debug-geckoview`, `Gecko-android-em-7.0-x86_64-qr-opt-geckoview`, `Gecko-linux1804-64-qr-debug`, `Gecko-linux1804-64-qr-opt`, `Gecko-windows11-32-2009-qr-debug`, `Gecko-windows11-32-2009-qr-opt`, `Gecko-windows11-64-2009-qr-opt`] (Chrome: `OK`, Safari: `ERROR`) (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/028e2b0b05a4 [wpt PR 44724] - Trusted Types: add tests for setAttributeNS with non-lowercase attributes with untrusted strings, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: