git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
DFG del_by_id support forgets to set()
[WebKit-https.git]
/
Source
/
JavaScriptCore
/
tests
/
stress
/
dfg-del-by-id.js
1
function foo(o) {
2
return delete o.f;
3
}
4
5
noInline(foo);
6
7
for (var i = 0; i < 10000; ++i) {
8
var o = {f:42};
9
var result = foo(o);
10
if (result !== true)
11
throw "Error: bad result: " + result;
12
if ("f" in o)
13
throw "Error: \"f\" still in ok";
14
}