Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Issue 2705373006: PlzNavigate: Fix the fast/loader/crash-replacing-location-before-load.html layout test. (Closed)

Created:
3 years, 10 months ago by ananta
Modified:
3 years, 10 months ago
Reviewers:
Nate Chapin
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Fix the fast/loader/crash-replacing-location-before-load.html layout test. This test creates an iframe and then initiates an anchor navigation to the frame. This eventually goes through the location change code path which schedules a navigation to the anchor url. With PlzNavigate the anchor navigation is sent to the browser and when the navigation commits the FrameLoader::loadInSameDocument() function as the url being navigated to is the same as the main frame url with the difference being the anchor tag. We currently don't clear the member m_isNavigationHandledByClient in FrameLoader in this code path. As a result we never mark the navigation as complete when the stack unwinds and hence the test ends up waiting indefinitely. Fix is to call FrameLoader::clearNavigationHandledByClient() in the loadInSameDocument() function which ensures that the navigation is marked as complete correctly. BUG=695435 Review-Url: https://codereview.chromium.org/2705373006 Cr-Commit-Position: refs/heads/master@{#452978} Committed: https://chromium.googlesource.com/chromium/src/+/4efc08b53165c7cca522a5d0fcbd5639281f4906

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
ananta
3 years, 10 months ago (2017-02-23 16:42:39 UTC) #2
Nate Chapin
lgtm
3 years, 10 months ago (2017-02-24 21:01:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2705373006/1
3 years, 10 months ago (2017-02-24 21:10:07 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 23:03:55 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4efc08b53165c7cca522a5d0fcbd...

Powered by Google App Engine
This is Rietveld 408576698