This test sometimes fails on buildbots. I could not reproduce the failure, but looking at other similar tests (Layout/fast/dom/gc-10.html) I think the following can improve it: - Use threshold when comparing the number of objects to account for objects that can be allocated by the running script itself. - Increase the number of allocated objects that should be released to make test less sensitive to other allocations. - Add debug output in case test fails to investigate further. Patch is coming.
Created attachment 27140 [details] Proposed patch
Comment on attachment 27140 [details] Proposed patch r=me
http://trac.webkit.org/changeset/40405