editing/selection/leak-document-with-selection-inside.html is flaky on most platforms, and fails on both Release and Debug bots for Apple Win 7. Per the Flakiness Dashboard, this test appears to have started flaking more in the last month or so (June 2015): <https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&revision=185721&tests=editing%2Fselection%2Fleak-document-with-selection-inside.html> The test relies on garbage collection and a zero-delay timer. Previous attempt to fix flakiness: <http://trac.webkit.org/r153498> Test originally added by: Bug 119122: REGRESSION(r139282): Fix document leak when selection is created inside the document <https://bugs.webkit.org/show_bug.cgi?id=119122> <http://trac.webkit.org/changeset/153366>
Hmm...the Flakiness Dashboard says the test always fails on Apple Win 7 Release/Debug, but I don't see the failures on individual test runs.
Marked test as flaky: <http://trac.webkit.org/r185796>
I think GCController.gc() doesn't always collect all the objects :( We need to figure out why.
Fixed by 252375@main.
<rdar://problem/96878268>
*** This bug has been marked as a duplicate of bug 242585 ***