WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 335347
[details]
Patch
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
<
rdar://problem/38290505
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug