Fix LayoutTest fast/dom/Geolocation/clear-watch-invalid-id-crash.html contains a race condition so is flaky. This test synchronously navigates the page to a new URL from its main script file. This navigation causes WebView.onPageFinished() to be called for the test page. The problem is that this may occur before js-test-post.js, which is included by the test and calls layoutTestController.waitUntilDone(), is loaded and parsed. As a result, the test is incorrectly deemed to have finished as soon as the navigation is started and the output will therefore be incorrect.
Created attachment 67610 [details] Patch
Comment on attachment 67610 [details] Patch Clearing flags on attachment: 67610 Committed r67546: <http://trac.webkit.org/changeset/67546>
All reviewed patches have been landed. Closing bug.