|
|
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. |
DescriptionPlzNavigate: 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 #
Dependent Patchsets: Messages
Total messages: 54 (43 generated)
Description was changed from ========== PlzNavigate: Support renderer-side failed navigations ========== to ========== PlzNavigate: Support renderer-side failed navigations CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== PlzNavigate: Support renderer-side failed navigations CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation ========== to ========== 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. ==========
blundell@chromium.org changed reviewers: + clamy@chromium.org
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
On 2016/08/17 14:41:42, blundell wrote: Thanks! It looks mostly good, but could you also NavigatorImpl::DidFailProvisionalLoadWithError so that we discard the pending entry in the PlzNavigate test as well (note this may cause some issue with the content_unittests).
Description was changed from ========== 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. ========== to ========== 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 ==========
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Exceeded global retry quota
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Exceeded global retry quota
The CQ bit was checked by blundell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2016/08/18 12:07:08, clamy wrote: > On 2016/08/17 14:41:42, blundell wrote: > > Thanks! It looks mostly good, but could you also > NavigatorImpl::DidFailProvisionalLoadWithError so that we discard the pending > entry in the PlzNavigate test as well (note this may cause some issue with the > content_unittests). Done (turned out this didn't cause any new content_unittests failures, which you can see by looking at the PlzNavigate trybot results on PS7).
Thanks! Lgtm
The CQ bit was checked by blundell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter: While running git apply --index -3 -p1; error: patch failed: testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter:98 Falling back to three-way merge... Applied patch to 'testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter' with conflicts. U testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter Patch: testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter Index: testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter diff --git a/testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter b/testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter index 917f15969300c0503bd3e7a2e366d87f5a671272..b2d63577ba47c3361e106a7c1f4a714131a37c15 100644 --- a/testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter +++ b/testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter @@ -50,6 +50,16 @@ -DevToolsPixelOutputTests.TestScreenshotRecording -DevToolsSanityTest.TestNetworkRawHeadersText -DevToolsReattachAfterCrashTest.* +-DnsProbeBrowserTest.CorrectionsDisabled +-DnsProbeBrowserTest.CorrectionsLoadStoppedSlowProbe +-DnsProbeBrowserTest.CorrectionsLoadStopped +-DnsProbeBrowserTest.Incognito +-DnsProbeBrowserTest.NoInternetProbeResultWithBrokenCorrections +-DnsProbeBrowserTest.NoInternetProbeResultWithSlowBrokenCorrections +-DnsProbeBrowserTest.NxdomainProbeResultWithWorkingCorrections +-DnsProbeBrowserTest.NxdomainProbeResultWithWorkingSlowCorrections +-DnsProbeBrowserTest.ProbesDisabled +-DnsProbeBrowserTest.SyncFailureWithBrokenCorrections -DomDistillerTabUtilsBrowserTest.TestDistillIntoWebContents -DomDistillerTabUtilsBrowserTest.TestSwapWebContents -DomDistillerViewerSourceBrowserTest.DistillerJavaScriptExposed @@ -72,7 +82,9 @@ -ErrorPageAutoReloadTest.AutoReload -ErrorPageAutoReloadTest.IgnoresSamePageNavigation -ErrorPageAutoReloadTest.ManualReloadNotSuppressed +-ErrorPageNavigationCorrectionsFailTest.FetchCorrectionsFails -ErrorPageTest.DNSError* +-ErrorPageTest.IFrameDNSError_JavaScript -ErrorPageTest.StaleCacheStatus -ExecuteScriptApiTest.ExecuteScriptByFrameId -ExecuteScriptApiTest.FrameWithHttp204 @@ -98,7 +110,10 @@ -FirstRunMasterPrefsImportNothing.ImportNothingAndShowNewTabPage -InlineLoginUISafeIframeBrowserTest.ConfirmationRequiredForNonsecureSignin -InputImeApiTest* +-InProcessBrowserTest.ExternalConnectionFail -IsolatedAppTest.CookieIsolation +-LaunchWebAuthFlowFunctionTest.InteractiveFirstNavigationSuccess +-LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess -LoadTimingBrowserTest.Basic -LoadTimingBrowserTest.EverythingAtOnce -LoadTimingBrowserTest.Integration
The CQ bit was checked by blundell@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from clamy@chromium.org Link to the patchset: https://codereview.chromium.org/2173803003/#ps160001 (title: "Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by blundell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #9 (id:160001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 9 (id:??) landed as https://crrev.com/c286509b7eab9543a8d85dc3061eb6fc52babb34 Cr-Commit-Position: refs/heads/master@{#414384} |