RESOLVED FIXED 183012
Document.open() cancels existing provisional load but not navigation policy check
https://bugs.webkit.org/show_bug.cgi?id=183012
Summary Document.open() cancels existing provisional load but not navigation policy c...
Chris Dumez
Reported 2018-02-21 12:03:41 PST
Document.open() cancels existing provisional load but not navigation policy check. Now that policy decision can be made asynchronously, Document.open() can be called while we're awaiting the policy decision for a navigation. However, Document.open() currently only cancels pending provisional loads, after we've received the navigation policy decision. We need to make sure it cancels pending navigation policy decisions as well.
Attachments
WIP Patch (3.82 KB, patch)
2018-02-21 12:05 PST, Chris Dumez
no flags
Archive of layout-test-results from ews103 for mac-sierra (2.21 MB, application/zip)
2018-02-21 13:10 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews117 for mac-sierra (3.05 MB, application/zip)
2018-02-21 13:41 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews205 for win-future (11.51 MB, application/zip)
2018-02-21 14:08 PST, EWS Watchlist
no flags
Patch (6.46 KB, patch)
2018-02-21 14:53 PST, Chris Dumez
no flags
Radar WebKit Bug Importer
Comment 1 2018-02-21 12:04:06 PST
Chris Dumez
Comment 2 2018-02-21 12:05:26 PST
Created attachment 334401 [details] WIP Patch
EWS Watchlist
Comment 3 2018-02-21 13:10:13 PST
Comment on attachment 334401 [details] WIP Patch Attachment 334401 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/6612870 New failing tests: fast/dom/Document/open-with-pending-load-async-policy.html
EWS Watchlist
Comment 4 2018-02-21 13:10:15 PST
Created attachment 334408 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 5 2018-02-21 13:41:08 PST
Comment on attachment 334401 [details] WIP Patch Attachment 334401 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/6613134 New failing tests: fast/dom/Document/open-with-pending-load-async-policy.html
EWS Watchlist
Comment 6 2018-02-21 13:41:09 PST
Created attachment 334411 [details] Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 7 2018-02-21 14:08:26 PST
Comment on attachment 334401 [details] WIP Patch Attachment 334401 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/6613647 New failing tests: fast/dom/Document/open-with-pending-load-async-policy.html
EWS Watchlist
Comment 8 2018-02-21 14:08:37 PST
Created attachment 334412 [details] Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Chris Dumez
Comment 9 2018-02-21 14:53:29 PST
WebKit Commit Bot
Comment 10 2018-02-22 10:29:31 PST
Comment on attachment 334418 [details] Patch Clearing flags on attachment: 334418 Committed r228922: <https://trac.webkit.org/changeset/228922>
WebKit Commit Bot
Comment 11 2018-02-22 10:29:32 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.