Ship Resizable and growable ArrayBuffers
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(3 files)
Once we've had some experience with resizeable and growable arraybuffers on Nightly, and it's been adequately fuzz tested, we'll want to ship it.
Updated•11 months ago
|
Comment 1•11 months ago
|
||
FWIW, I ran into the lack of ArrayBuffer.resize on https://huggingface.co/TheBloke/Mixtral-8x7B-v0.1-GGUF?show_tensors=mixtral-8x7b-v0.1.Q2_K.gguf
Assignee | ||
Comment 2•11 months ago
|
||
Anba, how do you feel about letting this ride the trains?
Comment 3•10 months ago
|
||
I think we should first talk to the fuzzing team to ensure we had proper fuzzing. JIT support landed about a month ago (bug 1842999) and fuzzing was enabled ~2 months ago (bug 1878657).
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 4•9 months ago
|
||
I'm planning to ship this in Firefox 128.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 5•9 months ago
|
||
Assignee | ||
Comment 6•9 months ago
|
||
Depends on D210708
Comment 8•9 months ago
|
||
Backed out for causing multiple wpt failures.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-PASS | /html/infrastructure/safe-passing-of-structured-data/cross-origin-transfer-resizable-arraybuffer.html | postMessaging resizable ArrayBuffer to OOPIF - expected FAIL
Please also be aware about:
These wpt failures
Failure Log
Assignee | ||
Comment 9•9 months ago
|
||
Thanks for the links. I have a try run here, https://treeherder.mozilla.org/jobs?repo=try&revision=144a9d09dc2917eb069b096048084bbf46d8f66d. I initially missed the failures in wpt22, but I've pulled the manifest updates into my latest patch.
Assignee | ||
Comment 10•9 months ago
|
||
Depends on D210709
Comment 11•8 months ago
|
||
Comment 12•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/641a1d71cfa8
https://hg.mozilla.org/mozilla-central/rev/fa3320a5ebc0
https://hg.mozilla.org/mozilla-central/rev/71009f63ff4f
Comment 13•8 months ago
|
||
Would you consider requesting a release note for this?
Assignee | ||
Comment 14•8 months ago
|
||
Release Note Request
[Why is this notable]: This enables Resizeable and Growable ArrayBuffers in SpiderMonkey. Both V8 and JavaScriptCore have already shipped their implementations.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Resizeable ArrayBuffers and Growable SharedArrayBuffers are now supported in SpiderMonkey. This allows the size of an ArrayBuffer to be changed without having to allocate a new buffer and copy data into it. For more information, see the MDN documentation.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow.
Comment 16•8 months ago
|
||
FYI FF128 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/33983. Compatibility data and MDN release note are main changes - the docs themselves already look good. I've marked as "dev-doc-complete" while waiting for reviews to go through.
Description
•