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.
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.
neuter() function added in http://hg.mozilla.org/mozilla-central/rev/6d4ff510c117
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 929786
You need to log in before you can comment on or make changes to this bug.