Changeset 229304 in webkit
- Timestamp:
- Mar 5, 2018 7:13:32 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r229297 r229304 1 2018-03-05 Chris Dumez <cdumez@apple.com> 2 3 fast/loader/onload-policy-ignore-for-frame.html is timing out with async policy delegates 4 https://bugs.webkit.org/show_bug.cgi?id=183337 5 6 Reviewed by Ryosuke Niwa. 7 8 Add layout test coverage. 9 10 * fast/loader/onload-policy-ignore-for-frame-async-delegates-expected.txt: Added. 11 * fast/loader/onload-policy-ignore-for-frame-async-delegates.html: Added. 12 1 13 2018-03-05 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r229303 r229304 1 2018-03-05 Chris Dumez <cdumez@apple.com> 2 3 fast/loader/onload-policy-ignore-for-frame.html is timing out with async policy delegates 4 https://bugs.webkit.org/show_bug.cgi?id=183337 5 6 Reviewed by Ryosuke Niwa. 7 8 Make sure we call checkCompleted() before calling checkLoadComplete() in 9 FrameLoader::continueLoadAfterNavigationPolicy() when the client tells us 10 to ignore the navigation, so that we properly recognize that the load is 11 done. This matches what is already done in FrameLoader::receivedMainResourceError(). 12 13 Test: fast/loader/onload-policy-ignore-for-frame-async-delegates.html 14 15 * loader/FrameLoader.cpp: 16 (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): 17 1 18 2018-03-05 Myles C. Maxfield <mmaxfield@apple.com> 2 19 -
trunk/Source/WebCore/loader/FrameLoader.cpp
r229286 r229304 3160 3160 3161 3161 setPolicyDocumentLoader(nullptr); 3162 checkCompleted(); 3162 3163 checkLoadComplete(); 3163 3164 -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
r229177 r229304 1322 1322 } 1323 1323 1324 if (injectedBundle.testRunner()->shouldDecideNavigationPolicyAfterDelay())1325 return WKBundlePagePolicyActionPassThrough;1326 1327 1324 if (!injectedBundle.testRunner()->isPolicyDelegateEnabled()) { 1328 1325 WKRetainPtr<WKStringRef> downloadAttributeRef(AdoptWK, WKBundleNavigationActionCopyDownloadAttribute(navigationAction)); … … 1354 1351 stringBuilder.append('\n'); 1355 1352 injectedBundle.outputText(stringBuilder.toString()); 1353 1354 if (injectedBundle.testRunner()->shouldDecideNavigationPolicyAfterDelay()) 1355 return WKBundlePagePolicyActionPassThrough; 1356 1356 1357 injectedBundle.testRunner()->notifyDone(); 1357 1358
Note: See TracChangeset
for help on using the changeset viewer.