Closed Bug 2072067 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62692 - IDB: correctly handle SharedArrayBuffer as key.

Categories

(Core :: Storage: IndexedDB, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Evan Stade <evanstade@microsoft.com> wrote:

IDB: correctly handle SharedArrayBuffer as key.

The spec says any "buffer source type" is a valid key, and that includes
SharedArrayBuffer. This is in contrast to values, which use the
structured serialization algorithm, which specifically bans SAB when
serializing for storage.

Bug: 558764482
Change-Id: I790db66baf596154c3139cc6e9621b90f37d19b0
Reviewed-on: https://chromium-review.googlesource.com/8393497
WPT-Export-Revision: 522aaf5b57035d65ad92d15d2e6caab9d28c7514

Component: web-platform-tests → Storage: IndexedDB
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 818 tests and 1 subtests

Status Summary

Firefox

OK : 1[GitHub] 627[Gecko-windows11-32-25h2-debug] 641[Gecko-windows11-64-25h2-debug] 814[Gecko-windows11-32-25h2-opt] 816[Gecko-android-em-14-x86_64-debug-geckoview] 817[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
PASS : 3889[Gecko-windows11-64-25h2-debug] 3895[Gecko-windows11-32-25h2-debug] 5815[Gecko-windows11-32-25h2-opt] 5822[Gecko-android-em-14-x86_64-debug-geckoview] 5829[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 5832[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL : 3[GitHub] 11[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] 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]
ERROR: 1

Chrome

OK : 1
PASS : 1
FAIL : 2

Safari

OK : 1
PASS : 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

(See attachment for full changes)

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

Attachment

General

Created:
Updated:
Size: