git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
WSL should have more tests of type checking failures
[WebKit-https.git]
/
JSTests
/
es6
/
Proxy_internal_deleteProperty_calls_Array.prototype.pop.js
1
function test() {
2
3
// Array.prototype.pop -> DeletePropertyOrThrow -> [[Delete]]
4
var del = [];
5
var p = new Proxy([0,0,0], { deleteProperty: function(o, v) { del.push(v); return delete o[v]; }});
6
p.pop();
7
return del + '' === "2";
8
9
}
10
11
if (!test())
12
throw new Error("Test failed");
13