Bug 1637195 [wpt PR 23525] - Remove the `[SecureContext]` restriction from Trusted Types., a=testonly
authorMike West <mkwst@chromium.org>
Wed, 20 May 2020 16:59:26 +0000
changeset 531924 e07cf3d4936f99965d8d52afab0560b7cbfd7975
parent 531923 c6a39a9f2b6f05309d86342db3093b49bc20acc1
child 531925 5977d15241ff804bdaa696bcc27acc7c8da4cb63
push id37449
push userncsoregi@mozilla.com
push dateTue, 26 May 2020 02:38:57 +0000
treeherdermozilla-central@da2c7b0ac9a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1637195, 23525, 2093214, 2098076, 1059554, 2195965, 767894
milestone78.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1637195 [wpt PR 23525] - Remove the `[SecureContext]` restriction from Trusted Types., a=testonly Automatic update from web-platform-tests Remove the `[SecureContext]` restriction from Trusted Types. While it's reasonable to exclude new APIs from non-secure contexts, the ancestry requirements allow attackers to disable restricted APIs from embedded contexts. This is usually excellent, as it means that data won't leak from secure to non-secure contexts. For security features, on the other hand, this gives the attacker some advantage with regard to embedded contexts' mitigtions. This is unfortunate, and this patch removes the restriction to ensure that embedded contexts can continue to mitigate the effect of XSS attack by reverting https://crrev.com/c/2093214 and https://crrev.com/c/2098076. Bug: 1059554 Change-Id: Ib948437310509f1d29cacff1e6c74ab7cbc30d11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2195965 Commit-Queue: Mike West <mkwst@chromium.org> Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org> Cr-Commit-Position: refs/heads/master@{#767894} -- wpt-commits: 094353fedf808caf83e82b4959b5edf02e1be92e wpt-pr: 23525
testing/web-platform/tests/lint.ignore
testing/web-platform/tests/trusted-types/DOMParser-parseFromString-regression.tentative.html
testing/web-platform/tests/trusted-types/DOMParser-parseFromString-regression.tentative.https.html
testing/web-platform/tests/trusted-types/DOMParser-parseFromString.tentative.html
testing/web-platform/tests/trusted-types/DOMParser-parseFromString.tentative.https.html
testing/web-platform/tests/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html
testing/web-platform/tests/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.https.html
testing/web-platform/tests/trusted-types/Document-write.tentative.html
testing/web-platform/tests/trusted-types/Document-write.tentative.https.html
testing/web-platform/tests/trusted-types/Element-insertAdjacentHTML.tentative.html
testing/web-platform/tests/trusted-types/Element-insertAdjacentHTML.tentative.https.html
testing/web-platform/tests/trusted-types/Element-insertAdjacentText.tentative.html
testing/web-platform/tests/trusted-types/Element-insertAdjacentText.tentative.https.html
testing/web-platform/tests/trusted-types/Element-outerHTML.tentative.html
testing/web-platform/tests/trusted-types/Element-outerHTML.tentative.https.html
testing/web-platform/tests/trusted-types/Element-setAttribute.tentative.html
testing/web-platform/tests/trusted-types/Element-setAttribute.tentative.https.html
testing/web-platform/tests/trusted-types/Element-setAttributeNS.tentative.html
testing/web-platform/tests/trusted-types/Element-setAttributeNS.tentative.https.html
testing/web-platform/tests/trusted-types/GlobalEventHandlers-onclick.tentative.html
testing/web-platform/tests/trusted-types/GlobalEventHandlers-onclick.tentative.https.html
testing/web-platform/tests/trusted-types/HTMLElement-generic.tentative.html
testing/web-platform/tests/trusted-types/HTMLElement-generic.tentative.https.html
testing/web-platform/tests/trusted-types/HTMLScriptElement-internal-slot.tentative.html
testing/web-platform/tests/trusted-types/HTMLScriptElement-internal-slot.tentative.https.html
testing/web-platform/tests/trusted-types/Node-multiple-arguments.tentative.html
testing/web-platform/tests/trusted-types/Node-multiple-arguments.tentative.https.html
testing/web-platform/tests/trusted-types/Range-createContextualFragment.tentative.html
testing/web-platform/tests/trusted-types/Range-createContextualFragment.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedType-AttributeNodes.tentative.html
testing/web-platform/tests/trusted-types/TrustedType-AttributeNodes.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-no-name.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-no-name.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-createXXX.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicy-createXXX.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-constants.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-constants.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.https.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html
testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.https.html
testing/web-platform/tests/trusted-types/Window-TrustedTypes.tentative.html
testing/web-platform/tests/trusted-types/Window-TrustedTypes.tentative.https.html
testing/web-platform/tests/trusted-types/WorkerGlobalScope-importScripts.html
testing/web-platform/tests/trusted-types/WorkerGlobalScope-importScripts.https.html
testing/web-platform/tests/trusted-types/block-Node-multiple-arguments.tentative.html
testing/web-platform/tests/trusted-types/block-Node-multiple-arguments.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Document-write.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Document-write.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.https.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html
testing/web-platform/tests/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.https.html
testing/web-platform/tests/trusted-types/block-text-node-insertion-into-script-element.tentative.html
testing/web-platform/tests/trusted-types/block-text-node-insertion-into-script-element.tentative.https.html
testing/web-platform/tests/trusted-types/csp-block-eval.tentative.html
testing/web-platform/tests/trusted-types/csp-block-eval.tentative.https.html
testing/web-platform/tests/trusted-types/default-policy-callback-arguments.tentative.html
testing/web-platform/tests/trusted-types/default-policy-callback-arguments.tentative.https.html
testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.html
testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/default-policy.tentative.html
testing/web-platform/tests/trusted-types/default-policy.tentative.html.headers
testing/web-platform/tests/trusted-types/default-policy.tentative.https.html
testing/web-platform/tests/trusted-types/default-policy.tentative.https.html.headers
testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.html
testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/empty-default-policy.tentative.html
testing/web-platform/tests/trusted-types/empty-default-policy.tentative.html.headers
testing/web-platform/tests/trusted-types/empty-default-policy.tentative.https.html
testing/web-platform/tests/trusted-types/empty-default-policy.tentative.https.html.headers
testing/web-platform/tests/trusted-types/eval-csp-no-tt.tentative.html
testing/web-platform/tests/trusted-types/eval-csp-no-tt.tentative.https.html
testing/web-platform/tests/trusted-types/eval-csp-tt-default-policy.tentative.html
testing/web-platform/tests/trusted-types/eval-csp-tt-default-policy.tentative.https.html
testing/web-platform/tests/trusted-types/eval-csp-tt-no-default-policy.tentative.html
testing/web-platform/tests/trusted-types/eval-csp-tt-no-default-policy.tentative.https.html
testing/web-platform/tests/trusted-types/eval-no-csp-no-tt-default-policy.tentative.html
testing/web-platform/tests/trusted-types/eval-no-csp-no-tt-default-policy.tentative.https.html
testing/web-platform/tests/trusted-types/eval-no-csp-no-tt.tentative.html
testing/web-platform/tests/trusted-types/eval-no-csp-no-tt.tentative.https.html
testing/web-platform/tests/trusted-types/eval-with-permissive-csp.tentative.html
testing/web-platform/tests/trusted-types/eval-with-permissive-csp.tentative.https.html
testing/web-platform/tests/trusted-types/idlharness.tentative.https.window.js
testing/web-platform/tests/trusted-types/idlharness.tentative.window.js
testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.html
testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/no-require-trusted-types-for.tentative.html
testing/web-platform/tests/trusted-types/no-require-trusted-types-for.tentative.https.html
testing/web-platform/tests/trusted-types/nonsecure-require-trusted-types-for.tentative.html
testing/web-platform/tests/trusted-types/nonsecure-require-trusted-types-for.tentative.html.headers
testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.html
testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/require-trusted-types-for.tentative.html
testing/web-platform/tests/trusted-types/require-trusted-types-for.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-createHTMLDocument.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-createHTMLDocument.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-duplicate-names.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-navigation.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-navigation.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.html
testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.html.sub.headers
testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.https.html
testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.https.html.sub.headers
testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.html.headers
testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.https.html
testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.https.html.headers
testing/web-platform/tests/trusted-types/trusted-types-svg-script.tentative.html
testing/web-platform/tests/trusted-types/trusted-types-svg-script.tentative.https.html
testing/web-platform/tests/trusted-types/tt-block-eval.tentative.html
testing/web-platform/tests/trusted-types/tt-block-eval.tentative.https.html
--- a/testing/web-platform/tests/lint.ignore
+++ b/testing/web-platform/tests/lint.ignore
@@ -196,18 +196,18 @@ SET TIMEOUT: service-workers/service-wor
 SET TIMEOUT: service-workers/service-worker/resources/fetch-event-test-worker.js
 SET TIMEOUT: service-workers/service-worker/resources/opaque-response-being-preloaded-xhr.html
 SET TIMEOUT: service-workers/service-worker/resources/opaque-response-preloaded-xhr.html
 SET TIMEOUT: service-workers/service-worker/resources/performance-timeline-worker.js
 SET TIMEOUT: service-workers/service-worker/resources/resource-timing-worker.js
 SET TIMEOUT: shadow-dom/Document-prototype-currentScript.html
 SET TIMEOUT: shadow-dom/scroll-to-the-fragment-in-shadow-tree.html
 SET TIMEOUT: shadow-dom/slotchange-event.html
-SET TIMEOUT: trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.https.html
-SET TIMEOUT: trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.https.html
+SET TIMEOUT: trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html
+SET TIMEOUT: trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html
 SET TIMEOUT: user-timing/*
 SET TIMEOUT: web-animations/timing-model/animations/*
 SET TIMEOUT: webaudio/the-audio-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
 SET TIMEOUT: webauthn/*timeout.https.html
 SET TIMEOUT: webdriver/*
 SET TIMEOUT: webmessaging/*
 SET TIMEOUT: webstorage/eventTestHarness.js
 SET TIMEOUT: webvtt/*
rename from testing/web-platform/tests/trusted-types/DOMParser-parseFromString-regression.tentative.https.html
rename to testing/web-platform/tests/trusted-types/DOMParser-parseFromString-regression.tentative.html
rename from testing/web-platform/tests/trusted-types/DOMParser-parseFromString.tentative.https.html
rename to testing/web-platform/tests/trusted-types/DOMParser-parseFromString.tentative.html
rename from testing/web-platform/tests/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.https.html
rename to testing/web-platform/tests/trusted-types/DOMWindowTimers-setTimeout-setInterval.tentative.html
rename from testing/web-platform/tests/trusted-types/Document-write.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Document-write.tentative.html
rename from testing/web-platform/tests/trusted-types/Element-insertAdjacentHTML.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Element-insertAdjacentHTML.tentative.html
rename from testing/web-platform/tests/trusted-types/Element-insertAdjacentText.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Element-insertAdjacentText.tentative.html
rename from testing/web-platform/tests/trusted-types/Element-outerHTML.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Element-outerHTML.tentative.html
rename from testing/web-platform/tests/trusted-types/Element-setAttribute.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Element-setAttribute.tentative.html
rename from testing/web-platform/tests/trusted-types/Element-setAttributeNS.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Element-setAttributeNS.tentative.html
rename from testing/web-platform/tests/trusted-types/GlobalEventHandlers-onclick.tentative.https.html
rename to testing/web-platform/tests/trusted-types/GlobalEventHandlers-onclick.tentative.html
rename from testing/web-platform/tests/trusted-types/HTMLElement-generic.tentative.https.html
rename to testing/web-platform/tests/trusted-types/HTMLElement-generic.tentative.html
rename from testing/web-platform/tests/trusted-types/HTMLScriptElement-internal-slot.tentative.https.html
rename to testing/web-platform/tests/trusted-types/HTMLScriptElement-internal-slot.tentative.html
rename from testing/web-platform/tests/trusted-types/Node-multiple-arguments.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Node-multiple-arguments.tentative.html
rename from testing/web-platform/tests/trusted-types/Range-createContextualFragment.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Range-createContextualFragment.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedType-AttributeNodes.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedType-AttributeNodes.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-no-name.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-no-name.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicy-CSP-wildcard.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicy-createXXX.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicy-createXXX.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-constants.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-constants.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-createPolicy-unenforced.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-defaultPolicy.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-isXXX.tentative.html
rename from testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.https.html
rename to testing/web-platform/tests/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html
rename from testing/web-platform/tests/trusted-types/Window-TrustedTypes.tentative.https.html
rename to testing/web-platform/tests/trusted-types/Window-TrustedTypes.tentative.html
rename from testing/web-platform/tests/trusted-types/WorkerGlobalScope-importScripts.https.html
rename to testing/web-platform/tests/trusted-types/WorkerGlobalScope-importScripts.html
rename from testing/web-platform/tests/trusted-types/block-Node-multiple-arguments.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-Node-multiple-arguments.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Document-write.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Document-write.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Element-setAttributeNS.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html
rename from testing/web-platform/tests/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html
rename from testing/web-platform/tests/trusted-types/block-text-node-insertion-into-script-element.tentative.https.html
rename to testing/web-platform/tests/trusted-types/block-text-node-insertion-into-script-element.tentative.html
rename from testing/web-platform/tests/trusted-types/csp-block-eval.tentative.https.html
rename to testing/web-platform/tests/trusted-types/csp-block-eval.tentative.html
rename from testing/web-platform/tests/trusted-types/default-policy-callback-arguments.tentative.https.html
rename to testing/web-platform/tests/trusted-types/default-policy-callback-arguments.tentative.html
rename from testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/default-policy-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/default-policy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/default-policy.tentative.html
rename from testing/web-platform/tests/trusted-types/default-policy.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/default-policy.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/empty-default-policy-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/empty-default-policy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/empty-default-policy.tentative.html
rename from testing/web-platform/tests/trusted-types/empty-default-policy.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/empty-default-policy.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/eval-csp-no-tt.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-csp-no-tt.tentative.html
rename from testing/web-platform/tests/trusted-types/eval-csp-tt-default-policy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-csp-tt-default-policy.tentative.html
rename from testing/web-platform/tests/trusted-types/eval-csp-tt-no-default-policy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-csp-tt-no-default-policy.tentative.html
rename from testing/web-platform/tests/trusted-types/eval-no-csp-no-tt-default-policy.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-no-csp-no-tt-default-policy.tentative.html
rename from testing/web-platform/tests/trusted-types/eval-no-csp-no-tt.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-no-csp-no-tt.tentative.html
rename from testing/web-platform/tests/trusted-types/eval-with-permissive-csp.tentative.https.html
rename to testing/web-platform/tests/trusted-types/eval-with-permissive-csp.tentative.html
rename from testing/web-platform/tests/trusted-types/idlharness.tentative.https.window.js
rename to testing/web-platform/tests/trusted-types/idlharness.tentative.window.js
rename from testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/no-require-trusted-types-for-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/no-require-trusted-types-for.tentative.https.html
rename to testing/web-platform/tests/trusted-types/no-require-trusted-types-for.tentative.html
deleted file mode 100644
--- a/testing/web-platform/tests/trusted-types/nonsecure-require-trusted-types-for.tentative.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<head>
-  <script src="/resources/testharness.js"></script>
-  <script src="/resources/testharnessreport.js"></script>
-  <meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'">
-</head>
-<body>
-<script>
-  const testCases = [
-    ["script", "src"],
-    ["div", "innerHTML"],
-    ["script", "text"],
-  ];
-
-  testCases.forEach(c => {
-    const name = `${c[0]}.${c[1]} `;
-    test(t => {
-      s = document.createElement(c[0]);
-      s[c[1]] = "https://example.com/";
-      assert_equals("https://example.com/", s[c[1]].toString());
-    }, name + "without trusted types is not blocked by require-trusted-types-for on non-secure pages");
-  });
-</script>
-</body>
deleted file mode 100644
--- a/testing/web-platform/tests/trusted-types/nonsecure-require-trusted-types-for.tentative.html.headers
+++ /dev/null
@@ -1,1 +0,0 @@
-Content-Security-Policy: require-trusted-types-for 'script'
rename from testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/require-trusted-types-for-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/require-trusted-types-for.tentative.https.html
rename to testing/web-platform/tests/trusted-types/require-trusted-types-for.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-createHTMLDocument.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-createHTMLDocument.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-duplicate-names-list.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-duplicate-names.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-duplicate-names.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-eval-reporting.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-navigation.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-navigation.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-report-only.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.html
rename from testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.https.html.sub.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-reporting-check-report.html.sub.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.html
rename from testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.https.html.headers
rename to testing/web-platform/tests/trusted-types/trusted-types-reporting.tentative.html.headers
rename from testing/web-platform/tests/trusted-types/trusted-types-svg-script.tentative.https.html
rename to testing/web-platform/tests/trusted-types/trusted-types-svg-script.tentative.html
rename from testing/web-platform/tests/trusted-types/tt-block-eval.tentative.https.html
rename to testing/web-platform/tests/trusted-types/tt-block-eval.tentative.html