summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug686296.js
blob: f83917d77753d1452424fa11df8269a0d262d41a (plain)
1
2
3
load(libdir + "asserts.js");
var o = Object.preventExtensions(new ArrayBuffer);
assertThrowsInstanceOf(function () { o.__proto__ = {}; }, TypeError);