Closed Bug 1865103 Opened 5 months ago Closed 4 months ago

Ship ArrayBuffer.prototype.transfer proposal


(Core :: JavaScript Engine, task, P3)




122 Branch
Tracking Status
relnote-firefox --- 122+
firefox122 --- fixed


(Reporter: mgaudet, Assigned: mgaudet)


(Blocks 1 open bug)


(Keywords: dev-doc-complete)


(4 files)

No description provided.

Andre: Is there anything you see blocking us from just unflagging this now?

Flags: needinfo?(andrebargull)

I think it should be okay to ship the implementation.

Flags: needinfo?(andrebargull)
Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → mgaudet

Update the jstests skip list for SharedArrayBuffer tests as well.

Special handling is required for the two transfer methods, as they detach the
array buffer, which breaks future tests. This patch adds gStatefulProperties
which are those that cannot be invoked without changing object state in such a
way as to break the test harness.

Depends on D195574

Attachment #9367383 - Attachment description: Bug 1865103 - Update test_xrayToJS r?nika → Bug 1865103 - Update test_xrayToJS r?peterv
Pushed by
Allow ArrayBuffer.prototype.transfer to be enabled outside of nightly r=anba
Enable ArrayBuffer.prototype.transfer by default r=anba
Remove feature checks from tests r=anba
Update test_xrayToJS r=peterv

:mgaudet could you consider nominating this for a release note? (Process info)

Flags: needinfo?(mgaudet)

Release Note Request (optional, but appreciated)
[Why is this notable]: A new web platform feature
[Affects Firefox for Android]: Yes
[Suggested wording]: "Enabled the ArrayBuffer.prototype.transfer proposal methods, which enables transferring ownership of ArrayBuffer data."
[Links (documentation, blog post, etc)]:

relnote-firefox: --- → ?
Flags: needinfo?(mgaudet)

Thanks, added to the Fx122 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx122 release notes

:mgaudet can you confirm the expected state of this? Wondering if it in fact enabled for Fx122.
The pref value is false.

Flags: needinfo?(mgaudet)

So that patch merely made the pref flip possible; the flip actually happened in the next patch (

Flags: needinfo?(mgaudet)

(You can also check in console with (new ArrayBuffer(10)).transfer())

Sorry for the noise, mistake on my part

FF122 MDN docs work for this done in Just a release note, removing markup to indicate "experimental", and update browser compatibility data.

You need to log in before you can comment on or make changes to this bug.