Closed Bug 1706884 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 28637 - Make web test for SAB in IndexedDB a WPT

Categories

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

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Antonio Sartori <antoniosartori@chromium.org>' wrote:

Make web test for SAB in IndexedDB a WPT

The web_test checking that a SharedArrayBuffer cannot be serialized
into IndexedDB was failing because it was served inside a
non-cross-origin-isolated page, which could not create a
SharedArrayBuffer.

This CL turns that into a Web Platform Test and adds the appropriate
COOP and COEP header which make the page cross-origin-isolated,
enabling instantiation of SharedArrayBuffer.

Bug: 1194557
Change-Id: I6854a76612d237b82cb020e317459157907e77f6
Reviewed-on: https://chromium-review.googlesource.com/2846500
WPT-Export-Revision: 5adede7e9f0ef35358a51a2e8cb1e6a1ecdee536

Component: web-platform-tests → Storage: IndexedDB
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68b5277edb1d [wpt PR 28637] - Make web test for SAB in IndexedDB a WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/09e526b4151b [wpt PR 28637] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.