Commit 193f312a authored by mrowe@apple.com's avatar mrowe@apple.com

Tweak NodeList tests to ensure that they force a GC outside of DRT.

Rubber-stamped by Sam Weinig.

* fast/dom/NodeList/5725058-crash-scenario-1.html:
* fast/dom/NodeList/5725058-crash-scenario-2.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 348e7a53
2008-03-20 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Sam Weinig.
Tweak NodeList tests to ensure that they force a GC outside of DRT.
* fast/dom/NodeList/5725058-crash-scenario-1.html:
* fast/dom/NodeList/5725058-crash-scenario-2.html:
2008-03-20 Aaron Golden <aegolden@gmail.com>
Reviewed by Darin and David Kilzer.
......@@ -14,7 +14,7 @@
return;
}
for (var i = 0; i < 10000; ++i)
var garbage = { };
({})
}
document.getElementsByName('test')[0];
......
......@@ -13,7 +13,7 @@ function triggerGarbageCollection()
return;
}
for (var i = 0; i < 10000; ++i)
var garbage = { };
({})
}
function setUp()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment