Closed Bug 1941356 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50050 - Change expected Trusted Types sink name for WorkerGlobalScope functions

Categories

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

task

Tracking

(firefox136 fixed)

RESOLVED FIXED
136 Branch
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.

PR 50050 applied with additional changes from upstream: 32a43a59a6f02b00aee44fe984aca8f3640eecfc
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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)
  • /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)
  • /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)
  • /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)

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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9064d364ff5e [wpt PR 50050] - Change expected Trusted Types sink name for WorkerGlobalScope functions, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Blocks: 1942306
You need to log in before you can comment on or make changes to this bug.