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

Issue 2173803003: PlzNavigate: Support renderer-side failed navigations (Closed)

Created:
4 years, 5 months ago by blundell
Modified:
4 years, 4 months ago
Reviewers:
clamy
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@plznavigate_notification_done
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Support renderer-side failed navigations In PlzNavigate, RenderFrameHostImpl currently requires that when it gets a DidFailProvisionalLoad IPC, it has previously seen a net error. This requirement holds for browser-side failed navigations but not for renderer-side failed navigations. The latter fact causes some layout tests to fail. The DidFailProvisionalLoad IPC is scheduled for removal once all WebContentsObservers have moved to listening for DidFinishNavigation(). As a step in the process (and to move layout tests towards being green in PlzNavigate), this CL eliminates the sending of this IPC for browser-side failed navigations. It additionally eliminates the assertion in RFHI that it has already seen a network error when receiving a DidFailProvisionalLoad IPC (since it will now be seeing that IPC only for renderer-side failed navigations). This CL also updates the browser_tests PlzNavigate filter for the tests that are now failing because they rely on listening for the deprecated WCO callbacks from browser-side failed navigations. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/c286509b7eab9543a8d85dc3061eb6fc52babb34 Cr-Commit-Position: refs/heads/master@{#414384}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Rebase #

Patch Set 4 : Update test filter #

Patch Set 5 : Response to review #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase and remove buildbot change to run trybots #

Patch Set 8 : Re-add filter for browser_tests #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -26 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -12 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 2 3 4 5 6 2 chunks +0 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 54 (43 generated)
blundell
4 years, 4 months ago (2016-08-17 14:41:42 UTC) #16
clamy
On 2016/08/17 14:41:42, blundell wrote: Thanks! It looks mostly good, but could you also NavigatorImpl::DidFailProvisionalLoadWithError ...
4 years, 4 months ago (2016-08-18 12:07:08 UTC) #21
blundell
On 2016/08/18 12:07:08, clamy wrote: > On 2016/08/17 14:41:42, blundell wrote: > > Thanks! It ...
4 years, 4 months ago (2016-08-23 09:35:54 UTC) #39
clamy
Thanks! Lgtm
4 years, 4 months ago (2016-08-23 21:40:16 UTC) #40
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/2173803003/140001
4 years, 4 months ago (2016-08-24 07:58:04 UTC) #42
commit-bot: I haz the power
Failed to apply patch for testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter: While running git apply --index -3 -p1; error: patch ...
4 years, 4 months ago (2016-08-24 11:14:45 UTC) #44
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/2173803003/160001
4 years, 4 months ago (2016-08-24 12:10:14 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/279964)
4 years, 4 months ago (2016-08-24 15:40:58 UTC) #49
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/2173803003/160001
4 years, 4 months ago (2016-08-25 06:49:07 UTC) #51
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-25 10:49:51 UTC) #52
commit-bot: I haz the power
4 years, 4 months ago (2016-08-25 10:51:29 UTC) #54
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c286509b7eab9543a8d85dc3061eb6fc52babb34
Cr-Commit-Position: refs/heads/master@{#414384}

Powered by Google App Engine
This is Rietveld 408576698