fune/testing/web-platform/tests/IndexedDB/serialize-sharedarraybuffer-throws.https.html.headers
Antonio Sartori 97c92fd3b5 Bug 1706884 [wpt PR 28637] - Make web test for SAB in IndexedDB a WPT, a=testonly
Automatic update from web-platform-tests
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/c/chromium/src/+/2846500
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/master@{#875562}

--

wpt-commits: f1709df56f753c1932c4dd7969643fac1973265f
wpt-pr: 28637
2021-04-24 15:48:11 +00:00

2 lines
83 B
Text

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin