Implement Trusted types worker sinks (#36811)

Part of #36258

Built on top of #36668

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-05-04 19:05:07 +02:00 committed by GitHub
parent c00e0aae61
commit 1e8896800a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 37 additions and 43 deletions

View file

@ -1,3 +0,0 @@
[DedicatedWorker-constructor-from-DedicatedWorker.html]
[Creating a Worker from a string should throw (dedicated worker scope)]
expected: FAIL

View file

@ -1,6 +0,0 @@
[DedicatedWorker-constructor.https.html]
[Block Worker creation via string]
expected: FAIL
[Create Worker via string with default policy.]
expected: FAIL

View file

@ -1,18 +0,0 @@
[DedicatedWorker-importScripts.html]
[importScripts with untrusted URLs throws in dedicated worker]
expected: FAIL
[null is not a trusted script URL throws in dedicated worker]
expected: FAIL
[importScripts with two URLs, both strings, in dedicated worker]
expected: FAIL
[importScripts with two URLs, one trusted, in dedicated worker]
expected: FAIL
[importScripts with untrusted URLs and default policy works in dedicated worker]
expected: FAIL
[importScripts with one trusted and one untrusted URLs and default policy works in dedicated worker]
expected: FAIL

View file

@ -1,3 +0,0 @@
[trusted-types-reporting-for-DedicatedWorker-DedicatedWorker-constructor.html]
[Violation report for Worker constructor with plain string.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[trusted-types-reporting-for-DedicatedWorker-importScripts.html]
[Violation report for importScripts with plain string.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[trusted-types-reporting-for-Window-DedicatedWorker-constructor.html]
[Violation report for Worker constructor with plain string.]
expected: FAIL