Closed Bug 893863 Opened 11 years ago Closed 9 years ago

Add shell function that neuters ArrayBuffer objects

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 929786

People

(Reporter: jruderman, Unassigned)

References

Details

Not sure if the function should:
* just throw the buffer away
* return a new ArrayBuffer object (changing the underlying buffer's owner)
* give another global access to the buffer (changing its compartment?)

Needed for testing bug 845899 and bug 887495.
Blocks: 845899, 887495
Whatever it does, it should go across globals to be more like neutering in the browser.  With newGlobal it's pretty easy to test cross-global stuff, so we should feed into that somehow.
Assignee: general → nobody
neuter() function added in http://hg.mozilla.org/mozilla-central/rev/6d4ff510c117
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.