DescriptionFix flakiness of fast/forms/submit-change-fragment.html.
The test timed out in the following case:
1. document.location.search = "?n=v" requests a navigation.
2. Before the navigation happens, onload handler runTest() is executed.
3. document.forms.f.submit() navigates to
".../submit-change-fragment.html?n=v#firstaction"
4. Because the original document was ".../submit-change-fragment.html",
onhashchange handler is NOT called.
5. No one calls testRunner.notifyDone().
This CL moves "?n=v" setting code to runTest(), and do early return to avoid the
form submission without "?n=v".
BUG=521860
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200798
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|