DescriptionUse a global variable in the test to avoid flakiness in the Mac port.
Apparently, runOnOpenPopup1() function was being called again after invoking
iframe.contentWindow.location.reload(), right between finishing the execution of
runOnIFrameLoad() and finishJSTest(), in the Mac platform.
This patch avoids the issue by using one global flag to early return in
that function when the iframe has already been reloaded.
BUG=357176
R=tkent@chromium.org,eae@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170226
Patch Set 1 #
Messages
Total messages: 9 (0 generated)
|