Ship SharedArrayBuffer (and atomics) to Release (potentially with throwing postMessage())
Categories
(Core :: DOM: Core & HTML, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: annevk, Assigned: tt)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(4 files)
Despite the similar title, this is a vast subset of bug 1477743 as it only pertains flipping javascript.options.shared_memory
and not COOP/COEP. Ideally we ship this in Firefox 75 having had one Beta cycle in 74 and one Nightly cycle in 73 (currently happening). Also:
- All dependencies will need to have been fixed.
- To repeat, bug 1599496 will need to have been fixed and we should have had at least one beta cycle.
- There should be an "intent to ship" to dev-platform that explains that this is not a security threat as it doesn't add much beyond what
ArrayBuffer
can already do (postMessage()
will likely still throw as I suspect we won't be ready to ship COOP/COEP yet).
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Reporter | ||
Comment 3•5 years ago
|
||
Due to renewed discussion in https://github.com/whatwg/html/issues/4732 we'll be waiting a bit with this until that's resolved.
Reporter | ||
Comment 4•5 years ago
|
||
FWIW, there's no longer a dependency on fixing the JavaScript test failures. The WebVM team has investigated them and will fix them, but they also clarified they should not block shipping.
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #5)
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b2a6e41ca2d476bb0de85b1c6eac87b6a7331aeb
I forgot to rebase the patch on the top of m-c when I pushed it. Please ignore the JS ref tests failures on it
try on the top of the latest m-c : https://treeherder.mozilla.org/#/jobs?repo=try&revision=55fcbbd93c7af238fe852ff0bc1fdcad49263ed9
Assignee | ||
Comment 7•5 years ago
|
||
Here is late beta try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=187db225af6ced5752047c82e67a88f21c9dcb79
I expect there might have some wpt failures that are caught by the patch.
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #7)
Here is late beta try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=187db225af6ced5752047c82e67a88f21c9dcb79
I expect there might have some wpt failures that are caught by the patch.
Another try push for late beta: https://treeherder.mozilla.org/#/jobs?repo=try&revision=dffea186d461754c4443fdd3686a1a883ad3cefd&selectedTaskRun=UU76E4Z_SAeh9gQ0C2gF4A-0
There are some test failures for jit-test (wasm), but the error messages of them don't look like to be related to this change.
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D66777
Assignee | ||
Comment 10•5 years ago
|
||
Depends on D74596
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D74597
Comment 12•5 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #8)
There are some test failures for jit-test (wasm), but the error messages of them don't look like to be related to this change.
Yes, bug 1635783 mostly. Working on that.
Assignee | ||
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2ab75def8357
https://hg.mozilla.org/mozilla-central/rev/b6cfb3f327c0
https://hg.mozilla.org/mozilla-central/rev/99e0c196fab5
https://hg.mozilla.org/mozilla-central/rev/4cf97e56be1b
Comment hidden (obsolete) |
Reporter | ||
Comment 16•5 years ago
|
||
It seems I mistakenly added this to bug 1625822.
Comment 17•5 years ago
|
||
Updated/written docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy
Fx 79 release notes announcements:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/79#JavaScript
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/79#HTTP
If anyone has more feedback on these docs, please comment on https://github.com/mdn/sprints/issues/2219 where we've been discussing this a bit already.
Description
•