SharedArrayBuffer constructor is not always exposed #22358
Closed
Comments
annevk
added a commit
that referenced
this issue
Mar 20, 2020
annevk
added a commit
that referenced
this issue
Mar 20, 2020
annevk
added a commit
that referenced
this issue
Mar 20, 2020
This was referenced Mar 20, 2020
annevk
added a commit
that referenced
this issue
Mar 23, 2020
And verify that the SharedArrayBuffer constructor isn't exposed without COOP+COEP. For #22358.
annevk
added a commit
that referenced
this issue
Mar 23, 2020
annevk
added a commit
that referenced
this issue
Mar 23, 2020
annevk
added a commit
that referenced
this issue
Mar 24, 2020
annevk
added a commit
that referenced
this issue
Mar 24, 2020
annevk
added a commit
that referenced
this issue
Mar 24, 2020
annevk
added a commit
that referenced
this issue
Mar 24, 2020
And verify that the SharedArrayBuffer constructor isn't exposed without COOP+COEP. For #22358.
xeonchen
pushed a commit
to xeonchen/gecko
that referenced
this issue
Mar 31, 2020
…uffer instance, a=testonly Automatic update from web-platform-tests Encoding: use Wasm to get a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: 4e83bff9e071561dd10538dda073cd2f43b68e4a wpt-pr: 22361
xeonchen
pushed a commit
to xeonchen/gecko
that referenced
this issue
Mar 31, 2020
…Wasm to get a SharedArrayBuff…, a=testonly Automatic update from web-platform-tests Audio/Orientation/Portals: use Wasm to get a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: a9b173567826e62591410560abbef047b534f01d wpt-pr: 22363
xeonchen
pushed a commit
to xeonchen/gecko
that referenced
this issue
Mar 31, 2020
…a SharedArrayBuffer instancd, a=testonly Automatic update from web-platform-tests XHR/CSS/Compression: use Wasm to get at a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: c8d8f8e2d426e71c11f86512fadd5d8744413c13 wpt-pr: 22359
xeonchen
pushed a commit
to xeonchen/gecko
that referenced
this issue
Mar 31, 2020
…r instance, a=testonly Automatic update from web-platform-tests HTML: use Wasm to get a SharedArrayBuffer instance And verify that the SharedArrayBuffer constructor isn't exposed without COOP+COEP. For web-platform-tests/wpt#22358. -- wpt-commits: 288c95a86dd02d0fe28bbfd49a2ee0a7801faa43 wpt-pr: 22385
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Mar 31, 2020
…uffer instance, a=testonly Automatic update from web-platform-tests Encoding: use Wasm to get a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: 4e83bff9e071561dd10538dda073cd2f43b68e4a wpt-pr: 22361
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Mar 31, 2020
…Wasm to get a SharedArrayBuff…, a=testonly Automatic update from web-platform-tests Audio/Orientation/Portals: use Wasm to get a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: a9b173567826e62591410560abbef047b534f01d wpt-pr: 22363
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Mar 31, 2020
…a SharedArrayBuffer instancd, a=testonly Automatic update from web-platform-tests XHR/CSS/Compression: use Wasm to get at a SharedArrayBuffer instance For web-platform-tests/wpt#22358. -- wpt-commits: c8d8f8e2d426e71c11f86512fadd5d8744413c13 wpt-pr: 22359
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Mar 31, 2020
…r instance, a=testonly Automatic update from web-platform-tests HTML: use Wasm to get a SharedArrayBuffer instance And verify that the SharedArrayBuffer constructor isn't exposed without COOP+COEP. For web-platform-tests/wpt#22358. -- wpt-commits: 288c95a86dd02d0fe28bbfd49a2ee0a7801faa43 wpt-pr: 22385
annevk
added a commit
to whatwg/html
that referenced
this issue
Jun 29, 2020
A top-level navigation response with Cross-Origin-Opener-Policy set to same-origin and Cross-Origin-Embedder-Policy set to require-corp will create a cross-origin isolated browsing context group. And all agent clusters therein will be cross-origin isolated as well (shared and service workers can still not be, as they sit on the side). This change also: * Gates SharedArrayBuffer exposure behind that primitive for web compatibility reasons. * Gates SharedArrayBuffer sharing behind that primitive. * Exposes it through self.crossOriginIsolated. * Makes document.domain return before it mutates the origin. * Makes agent clusters keyed on origin. Tests: * web-platform-tests/wpt#17719 * web-platform-tests/wpt#17760 * web-platform-tests/wpt#17761 * web-platform-tests/wpt#17802 * web-platform-tests/wpt#17909 * web-platform-tests/wpt#18543 * web-platform-tests/wpt#20116 * web-platform-tests/wpt#22358 Closes #4732. Closes #5122. Closes #5444. Follow-up: #5435.
annevk
added a commit
to whatwg/html
that referenced
this issue
Jul 8, 2020
A top-level navigation response with Cross-Origin-Opener-Policy set to same-origin and Cross-Origin-Embedder-Policy set to require-corp will create a cross-origin isolated browsing context group. And all agent clusters therein will be cross-origin isolated as well (shared and service workers can still not be, as they sit on the side). This change also: * Gates SharedArrayBuffer exposure behind that primitive for web compatibility reasons. * Gates SharedArrayBuffer sharing behind that primitive. * Exposes it through self.crossOriginIsolated. * Makes document.domain return before it mutates the origin. * Makes agent clusters keyed on origin. Tests: * web-platform-tests/wpt#17719 * web-platform-tests/wpt#17760 * web-platform-tests/wpt#17761 * web-platform-tests/wpt#17802 * web-platform-tests/wpt#17909 * web-platform-tests/wpt#18543 * web-platform-tests/wpt#20116 * web-platform-tests/wpt#22358 Closes #4732. Closes #5122. Closes #5444. Follow-up: #5435 (and #5362).
mfreed7
added a commit
to mfreed7/html
that referenced
this issue
Sep 11, 2020
A top-level navigation response with Cross-Origin-Opener-Policy set to same-origin and Cross-Origin-Embedder-Policy set to require-corp will create a cross-origin isolated browsing context group. And all agent clusters therein will be cross-origin isolated as well (shared and service workers can still not be, as they sit on the side). This change also: * Gates SharedArrayBuffer exposure behind that primitive for web compatibility reasons. * Gates SharedArrayBuffer sharing behind that primitive. * Exposes it through self.crossOriginIsolated. * Makes document.domain return before it mutates the origin. * Makes agent clusters keyed on origin. Tests: * web-platform-tests/wpt#17719 * web-platform-tests/wpt#17760 * web-platform-tests/wpt#17761 * web-platform-tests/wpt#17802 * web-platform-tests/wpt#17909 * web-platform-tests/wpt#18543 * web-platform-tests/wpt#20116 * web-platform-tests/wpt#22358 Closes whatwg#4732. Closes whatwg#5122. Closes whatwg#5444. Follow-up: whatwg#5435 (and whatwg#5362).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per discussion in whatwg/html#4732 the SharedArrayBuffer constructor is not always going to be exposed so tests need to use COOP+COEP or
new WebAssembly.Memory({ shared:true, initial:numberOf64KBPages, maximum:numberOf64KBPages }).buffer
to get an instance. Most of thehtml/
matches should be good already.IndexedDB/
matches, but doesn't have any test.cc @syg @ricea
(Result of
grep --files-with-matches --recursive SharedArrayBuffer *
.)The text was updated successfully, but these errors were encountered: