[wpt-sync] Sync PR 50050 - Change expected Trusted Types sink name for WorkerGlobalScope functions
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox136 fixed)
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50050 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50050
Details from upstream follow.
Luke Warlow <lwarlow@igalia.com> wrote:
Change expected Trusted Types sink name for WorkerGlobalScope functions
Previously we expected the sink name to start with Worker. We should be expecting WorkerGlobalScope.
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 10 subtests
Status Summary
Firefox
OK
: 2
PASS
: 31
FAIL
: 8[GitHub] 22[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-debug, Gecko-windows11-64-2009-qr-opt]
ERROR
: 1[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-debug, Gecko-windows11-64-2009-qr-opt] 4[GitHub]
Chrome
OK
: 4
PASS
: 71
Safari
FAIL
: 8
ERROR
: 4
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /trusted-types/DOMWindowTimers-setTimeout-setInterval.html [wpt.fyi]:
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-debug
,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
)
- Window.setTimeout assigned via policy (successful Script transformation).:
- /trusted-types/WorkerGlobalScope-importScripts.html [wpt.fyi]:
ERROR
[GitHub
],OK
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:ERROR
)- importScripts with untrusted URLs throws in dedicated worker:
FAIL
(Chrome:PASS
) - null is not a trusted script URL throws in dedicated worker:
FAIL
(Chrome:PASS
) - importScripts with two URLs, both strings, in dedicated worker:
FAIL
(Chrome:PASS
) - importScripts with two URLs, one trusted, in dedicated worker:
FAIL
(Chrome:PASS
) - importScripts with untrusted URLs and default policy works in dedicated worker:
FAIL
(Chrome:PASS
) - importScripts with one trusted and one untrusted URLs and default policy works in dedicated worker:
FAIL
(Chrome:PASS
) - importScripts with untrusted URLs throws in shared worker:
FAIL
(Chrome:PASS
) - null is not a trusted script URL throws in shared worker:
FAIL
(Chrome:PASS
) - importScripts with two URLs, both strings, in shared worker:
FAIL
(Chrome:PASS
) - importScripts with two URLs, one trusted, in shared worker:
FAIL
(Chrome:PASS
) - importScripts with untrusted URLs and default policy works in shared worker:
FAIL
(Chrome:PASS
) - importScripts with one trusted and one untrusted URLs and default policy works in shared worker:
FAIL
(Chrome:PASS
)
- importScripts with untrusted URLs throws in dedicated worker:
- /trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Window.setTimeout assigned via policy (successful Script transformation).:
FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
) Window.setTimeout(string)
throws.:FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
)Window.setTimeout(null)
throws.:FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
)- Window.setInterval assigned via policy (successful Script transformation).:
FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
) Window.setInterval(string)
throws.:FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
)Window.setInterval(null)
throws.:FAIL
[GitHub
],PASS
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:PASS
, Safari:FAIL
)DedicatedWorkerGlobalScope.setTimeout(string)
throws.:FAIL
(Chrome:PASS
)DedicatedWorkerGlobalScope.setTimeout(null)
throws.:FAIL
(Chrome:PASS
)DedicatedWorkerGlobalScope.setInterval(string)
throws.:FAIL
(Chrome:PASS
)DedicatedWorkerGlobalScope.setInterval(null)
throws.:FAIL
(Chrome:PASS
)SharedWorkerGlobalScope.setTimeout(string)
throws.:FAIL
(Chrome:PASS
)SharedWorkerGlobalScope.setTimeout(null)
throws.:FAIL
(Chrome:PASS
)SharedWorkerGlobalScope.setInterval(string)
throws.:FAIL
(Chrome:PASS
)SharedWorkerGlobalScope.setInterval(null)
throws.:FAIL
(Chrome:PASS
)
- Window.setTimeout assigned via policy (successful Script transformation).:
- /trusted-types/worker-constructor.https.html [wpt.fyi]:
ERROR
[GitHub
],OK
[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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:ERROR
)- Block ServiceWorker creation via String:
FAIL
(Chrome:PASS
) - Create ServiceWorker via string with default policy.:
FAIL
(Chrome:PASS
)
- Block ServiceWorker creation via String:
Tests Disabled in Gecko Infrastructure
- /trusted-types/DOMWindowTimers-setTimeout-setInterval.html [wpt.fyi]:
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-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:ERROR
)
Comment 5•1 month ago
|
||
bugherder |
Description
•