Closed Bug 1329046 Opened 7 years ago Closed 7 years ago

Simplify creation of DataViews backed by cross-compartment ArrayBuffers

Categories

(Core :: JavaScript: Standard Library, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

The existing DataView creation code for cross-compartment buffers is rather elaborate, unnecessarily so.  We can save ourselves a bunch of trouble just entering compartments directly.
Attached patch PatchSplinter Review
This got r=sfink awhile back elsewhere -- just filing a bug for it to have a number to cite, before I land it whenever I next land patches.
Pushed by jwalden@mit.edu:
https://hg.mozilla.org/integration/mozilla-inbound/rev/69237a223825
Simplify creation of DataViews backed by cross-compartment ArrayBuffers.  r=sfink
https://hg.mozilla.org/mozilla-central/rev/69237a223825
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: