RESOLVED FIXED Bug 183472
fast/events/before-unload-returnValue.html times out with async policy delegates
https://bugs.webkit.org/show_bug.cgi?id=183472
Summary fast/events/before-unload-returnValue.html times out with async policy delegates
Chris Dumez
Reported 2018-03-08 12:33:24 PST
fast/events/before-unload-returnValue.html times out with async policy delegates.
Attachments
Patch (7.42 KB, patch)
2018-03-08 14:35 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-03-08 13:27:22 PST
Seems to be related to this 0-timer: setTimeout(function() { if (window.testRunner) testRunner.setShouldStayOnPageAfterHandlingBeforeUnload(false); testIframe.contentWindow.location.href = "resources/does-not-exist.html"; }, 0); Using a larger than 0 value makes the test pass again.
Chris Dumez
Comment 2 2018-03-08 14:35:27 PST
WebKit Commit Bot
Comment 3 2018-03-08 21:56:57 PST
Comment on attachment 335347 [details] Patch Clearing flags on attachment: 335347 Committed r229449: <https://trac.webkit.org/changeset/229449>
WebKit Commit Bot
Comment 4 2018-03-08 21:56:59 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-03-08 21:57:21 PST
Note You need to log in before you can comment on or make changes to this bug.