[wpt-sync] Sync PR 63365 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326689
Categories
(Core :: Audio/Video: MediaStreamGraph, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
421.49 KB,
text/plain
|
Details |
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 workersWebCodecs 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>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102422
| Assignee | ||
Comment 2•1 month ago
|
||
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)
https://hg.mozilla.org/mozilla-central/rev/a5214d56344f
https://hg.mozilla.org/mozilla-central/rev/6914a99d2f2e
Description
•