Skip to content
Snippets Groups Projects
Commit abf6489b authored by Kevin Gibbons's avatar Kevin Gibbons Committed by Leo Balter
Browse files

use $.detachArrayBuffer API instead of throwing (#795)

parent 3ed2c786
No related branches found
No related tags found
No related merge requests found
function $DETACHBUFFER(buffer) {
throw new Test262Error("No method available to detach an ArrayBuffer");
if (!$ || typeof $.detachArrayBuffer !== "function") {
throw new Test262Error("No method available to detach an ArrayBuffer");
}
$.detachArrayBuffer(buffer);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment