git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Array.prototype.indexOf fast path needs to ensure the length is still valid after...
[WebKit-https.git]
/
JSTests
/
stress
/
array-indexof-fast-path-effects.js
1
// This shouldn't crash when running with ASAN.
2
let arr = [];
3
for (var i = 0; i < 1000000; i++)
4
arr[i] = [];
5
6
arr.indexOf(new Object(), {
7
valueOf: function () {
8
arr.length = 0;
9
return 0;
10
}
11
});