[wpt-sync] Sync PR 63400 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326793
Categories
(Core :: Storage: IndexedDB, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
248.63 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63400 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63400
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326793
WebKit export from bug: Do not deserialize RTCCertificate in workers
<pre>
Do not deserialize RTCCertificate in workersRTCCertificate is [Exposed=Window], but posting one to a dedicated,
shared, or service worker delivered it there. Use the generated exposure
check, 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.RTCCertificate can also be stored in IndexedDB, and reading one back in a
worker used to deliver it there too. Now that it fails to deserialize,
IDBRequest's result, IDBCursorWithValue's value, and IDBRecord's value
would be null, silently losing the record. Align with Firefox instead:
the request succeeds and reading the value throws. Throw a DataCloneError
rather than Firefox's InvalidStateError, as proposed in
<a href="https://github.com/w3c/IndexedDB/issues/391">https://github.com/w3c/IndexedDB/issues/391</a>(Chromium deserializes as null, which seems less useful.)
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326793">https://bugs.webkit.org/show_bug.cgi?id=326793</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=102823
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1087 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 258[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 629[Gecko-windows11-32-25h2-debug] 817[Gecko-windows11-32-25h2-opt] 901[Gecko-windows11-64-25h2-debug] 1072[Gecko-android-em-14-x86_64-debug-geckoview] 1073[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1077[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
PASS : 8[GitHub] 2235[Gecko-linux2204-64-wayland-opt] 2236[Gecko-linux2204-64-wayland-debug] 3898[Gecko-windows11-32-25h2-debug] 5834[Gecko-windows11-32-25h2-opt] 6127[Gecko-windows11-64-25h2-debug] 8049[Gecko-android-em-14-x86_64-debug-geckoview] 8056[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 8073[Gecko-windows11-64-25h2-opt] 8074[Gecko-linux2404-64-opt] 8075[Gecko-linux2404-64-debug]
FAIL : 2[GitHub] 13[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 61[Gecko-linux2204-64-wayland-debug] 62[Gecko-linux2204-64-wayland-opt] 74[Gecko-linux2404-64-debug] 75[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 76[Gecko-windows11-64-25h2-opt] 77[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]
PRECONDITION_FAILED: 8[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] 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT : 5[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 9[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 : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, 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]
Chrome
OK : 2
PASS : 5
FAIL : 5
Safari
OK : 2
PASS : 3
FAIL : 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
https://hg.mozilla.org/mozilla-central/rev/71951445ca7b
https://hg.mozilla.org/mozilla-central/rev/6cddc25be6d1
Description
•