Changeset 241015 in webkit
- Timestamp:
- Feb 6, 2019 1:42:49 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r241011 r241015 1 2019-02-05 Ryosuke Niwa <rniwa@webkit.org> 2 3 REGRESSION (r240909): Release assert in FrameLoader::loadURL when navigating with a non-existent target name 4 https://bugs.webkit.org/show_bug.cgi?id=194329 5 6 Reviewed by Geoffrey Garen. 7 8 Added a regression test. 9 10 * fast/loader/navigate-with-new-target-after-back-forward-navigation-expected.txt: Added. 11 * fast/loader/navigate-with-new-target-after-back-forward-navigation.html: Added. 12 1 13 2019-02-05 Nikita Vasilyev <nvasilyev@apple.com> 2 14 -
trunk/LayoutTests/TestExpectations
r240962 r241015 6 6 # Platform-specific tests. Skipped here, then re-enabled on the appropriate platform. 7 7 #////////////////////////////////////////////////////////////////////////////////////////// 8 9 webgl [ Skip ] 8 10 9 11 compositing/ios [ Skip ] -
trunk/Source/WebCore/ChangeLog
r241012 r241015 1 2019-02-05 Ryosuke Niwa <rniwa@webkit.org> 2 3 REGRESSION (r240909): Release assert in FrameLoader::loadURL when navigating with a non-existent target name 4 https://bugs.webkit.org/show_bug.cgi?id=194329 5 6 Reviewed by Geoffrey Garen. 7 8 The bug was caused by the code path for when navigating with a specific target frame name that does not exist 9 never setting the load type of PolicyChecker. As a result, we would use whatever load type used in the previous 10 navigation, resulting in this release assertion. 11 12 Updating the load type here should in theory fix the underlying bug r240909 was meant to catch & fix. 13 14 Test: fast/loader/navigate-with-new-target-after-back-forward-navigation.html 15 16 * loader/FrameLoader.cpp: 17 (WebCore::FrameLoader::loadURL): 18 1 19 2019-02-05 Claudio Saavedra <csaavedra@igalia.com> 2 20 -
trunk/Source/WebCore/loader/FrameLoader.cpp
r240909 r241015 1380 1380 if (!targetFrame && !effectiveFrameName.isEmpty()) { 1381 1381 action = action.copyWithShouldOpenExternalURLsPolicy(shouldOpenExternalURLsPolicyToApply(m_frame, frameLoadRequest)); 1382 policyChecker().setLoadType(newLoadType); 1382 1383 RELEASE_ASSERT(!isBackForwardLoadType(policyChecker().loadType())); 1383 1384 policyChecker().checkNewWindowPolicy(WTFMove(action), WTFMove(request), WTFMove(formState), effectiveFrameName, [this, allowNavigationToInvalidURL, openerPolicy, completionHandler = completionHandlerCaller.release()] (const ResourceRequest& request, WeakPtr<FormState>&& formState, const String& frameName, const NavigationAction& action, ShouldContinue shouldContinue) mutable {
Note: See TracChangeset
for help on using the changeset viewer.