-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SharedArrayBuffer constructor is not always exposed #22358
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.
Okay, so I think this can be closed once these are reviewed/landed:
Should be straightforward to review. @syg are you up for it or someone else in V8? Maybe @mathiasbynens? |
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.
3 tasks
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
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 401be49e000042c8161bbfc88ff20d8a493cb970
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 6e964df902594c5963b7e6313301b1241f6ef46c
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 5cd0a8d5e1661ea051b6cb61885f80affcb93701
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified-and-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 149839b40bf29217aee70e9e6326568db5c2b926
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 401be49e000042c8161bbfc88ff20d8a493cb970
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 6e964df902594c5963b7e6313301b1241f6ef46c
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 5cd0a8d5e1661ea051b6cb61885f80affcb93701
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-wordified
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 149839b40bf29217aee70e9e6326568db5c2b926
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 401be49e000042c8161bbfc88ff20d8a493cb970
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 6e964df902594c5963b7e6313301b1241f6ef46c
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 5cd0a8d5e1661ea051b6cb61885f80affcb93701
gecko-dev-updater
pushed a commit
to marco-c/gecko-dev-comments-removed
that referenced
this issue
Apr 1, 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 UltraBlame original commit: 149839b40bf29217aee70e9e6326568db5c2b926
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
pushed 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: