Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / script-tests / dfg-custom-getter.js
blob433556db69aebdf11ddc79874ce91b51cd4f9e55
1 description(
2 "Tests that DFG custom getter caching does not break the world."
3 );
5 function foo() {
6 var result = '';
7 for (var current = document.getElementById('myFirstDiv'); current; current = current.nextSibling)
8 result += ' ' + current.nodeName;
9 return result;
12 for (var i = 0; i < 200; ++i)
13 shouldBe("foo()", "\" DIV #text DIV #text SCRIPT\"");