test262-automation 32a39daf43 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 2b233fa3c0 targetRevisionAtLastExport: 8e3c6d0484
2018-12-15 19:17:28 +00:00

24 lines
349 B
JavaScript

var a = {};
function foo() {
return Array.prototype.splice.apply([], a);
}
noInline(foo);
function bar(b) {
with({});
a = arguments;
a.__defineGetter__("length", String.prototype.valueOf);
foo();
}
var exception;
try {
bar();
} catch (e) {
exception = e;
}
if (exception != "TypeError: Type error")
throw "FAIL";