Closed Bug 2079603 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63365 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326689

Categories

(Core :: Audio/Video: MediaStreamGraph, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326689

WebKit export from bug: Do not deserialize Window and DedicatedWorker-only types in other workers

<pre>
Do not deserialize Window and DedicatedWorker-only types in other workers

WebCodecs types, MediaStreamTrack, MediaStreamTrackHandle,
MediaSourceHandle, RTCEncodedAudioFrame and RTCEncodedVideoFrame are
[Exposed=(Window,DedicatedWorker)], but posting one to a shared worker
or service worker delivered it there. Use the generated exposure check
from <a href="https://commits.webkit.org/322966@main">322966@main</a> for these serialization tags, through
isInterfaceExposedInGlobalObject() from <a href="https://commits.webkit.org/322979@main">322979@main</a>, so that those
messages fail to deserialize and result in a messageerror event.

The interfaces' [EnabledBySetting] now also applies when deserializing.

VideoFrame, AudioData, MediaStreamTrack and MediaSourceHandle already
failed to deserialize there whenever the message crossed processes, as
their data is not encoded for IPC. A shared worker can share the page's
process though, so that was not reliable. The new tests cover them too.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326689">https://bugs.webkit.org/show_bug.cgi?id=326689</a>
</pre>

Component: web-platform-tests → Audio/Video: MediaStreamGraph
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 330 tests and 2 subtests

Status Summary

Firefox

OK : 3[GitHub] 62[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 240[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 302[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 304[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 18[GitHub] 361[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 2003[Gecko-android-em-14-x86_64-debug-geckoview] 2004[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 2365[Gecko-linux2204-64-wayland-debug] 2366[Gecko-linux2204-64-wayland-opt] 2627[Gecko-windows11-64-25h2-opt] 2628[Gecko-windows11-64-25h2-debug] 2721[Gecko-linux2404-64-debug] 2722[Gecko-linux2404-64-opt]
FAIL : 4[GitHub] 154[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 360[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 508[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 509[Gecko-android-em-14-x86_64-debug-geckoview] 514[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 515[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-opt]
PRECONDITION_FAILED: 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 121[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 517[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
TIMEOUT : 1[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug] 2[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR : 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 8[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 14[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
NOTRUN : 2[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 40[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

OK : 3
PASS : 20
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: