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.
<rdar://problem/37755831>
Created attachment 334401 [details] WIP Patch
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
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
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
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
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
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
Created attachment 334418 [details] Patch
Comment on attachment 334418 [details] Patch Clearing flags on attachment: 334418 Committed r228922: <https://trac.webkit.org/changeset/228922>
All reviewed patches have been landed. Closing bug.