|
|
Chromium Code Reviews|
Created:
3 years, 11 months ago by arthursonzogni Modified:
3 years, 11 months ago Reviewers:
Nate Chapin CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, gavinp+loader_chromium.org, clamy Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionPlzNavigate: fix regression on the FYI bot.
It fixes a regression introduced in crrev.com/2563423004 for the
FYI bot: "Browser Side Navigation Linux".
It happens with Failed navigation within <object data=...>.
m_progressTracker->progressCompleted() lines were removed by the
previous commit and further call to it didn't happen with PlzNavigate.
It leads to a timeout in a few tests.
Tests fixed:
- virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html
- fast/css/acid2-pixel.html
- fast/dom/HTMLObjectElement/children-changed.html
- imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html
- fast/overflow/overflow-height-float-not-removed-crash2.html
- fast/table/giantCellspacing.html
- fast/overflow/overflow-height-float-not-removed-crash.html
- fast/overflow/overflow-height-float-not-removed-crash3.html
- fast/css/acid2.html
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel
BUG=679675
Review-Url: https://codereview.chromium.org/2624723002
Cr-Commit-Position: refs/heads/master@{#445997}
Committed: https://chromium.googlesource.com/chromium/src/+/68693ab02e29631f4b484299fab89a66c768b01f
Patch Set 1 : PlzNavigate: fix regression on the FYI bot. #
Total comments: 3
Patch Set 2 : Addressed comments #
Messages
Total messages: 30 (22 generated)
The CQ bit was checked by arthursonzogni@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...
Patchset #1 (id:1) has been deleted
The CQ bit was checked by arthursonzogni@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: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html Note: the following test is not fixed by this test, so the bot is still "red". - virtual/mojo-loading/http/tests/inspector/network/network-datareceived.html // TODO(arthursonzogni) remove this line once this patch is reviewed, this bot will fail, but we are interrested only in a few tests. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel BUG=679675 ========== to ========== PlzNavigate: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html BUG=679675 ==========
Description was changed from ========== PlzNavigate: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html BUG=679675 ========== to ========== PlzNavigate: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel BUG=679675 ==========
arthursonzogni@chromium.org changed reviewers: + japhet@chromium.org
Hi Nate, Please could you take a look at this CL? Thanks! A regression occurs with one of your patch that didn't interact well with PlzNavigate :-) https://codereview.chromium.org/2563423004 https://build.chromium.org/p/chromium.fyi/builders/Browser%20Side%20Navigatio... FYI this are some CLs that have a link with this issue. https://codereview.chromium.org/2269653002/ https://codereview.chromium.org/2439903003/ https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/loader/FrameLoader.cpp:1487: checkCompleted(); In https://codereview.chromium.org/2563423004 in FrameLoader::loadFailed() The lines "m_progressTracker->progressCompleted()" were removed. It's not a problem because in a non-PlzNavigate world, "checkCompleted()" would have called it at the end if needed. However, with PlzNavigate, checkCompleted is prevented to call it when m_isNavigationHandledByClient is true. It become false again once stopAllLoader() is called. I don't know if it is expected that stopAllLoader() is not called? Whatever happens, it is clear to me that m_isNavigationHandledByClient must be false here because the browser-side navigation has failed and therefore has finished.
https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/loader/FrameLoader.cpp:1464: m_isNavigationHandledByClient = false; This isn't obvious to me. A blink-internal navigation failed, why would an external navigation also fail?
Thanks! A comment below: https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/loader/FrameLoader.cpp:1464: m_isNavigationHandledByClient = false; On 2017/01/11 20:30:46, Nate Chapin wrote: > This isn't obvious to me. A blink-internal navigation failed, why would an > external navigation also fail? If an external navigation is in progress, what other kind of load could fail? I don't know how it works, but I expected that there could be only one thing to load at a time. If this is not a good idea to put it here, I can move this statement in the upper level: * 0) FrameLoader::loadFailed() * 1) WebLocalFrameImpl::maybeRenderFallbackContent() * 2) RenderFrameImpl::OnFailedNavigation() But I will need to create functions to set m_isNavigationHandledByClient from outside of the FrameLoader. Do you think to put this line of code in 1) is okay? Note: In the future, I should try to remove the m_isNavigationHandledByClient as soon as I understood better how the frameloader works and how it is connected to the testrunner.
On 2017/01/12 12:33:29, arthursonzogni wrote: > Thanks! > A comment below: > > https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... > File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): > > https://codereview.chromium.org/2624723002/diff/20001/third_party/WebKit/Sour... > third_party/WebKit/Source/core/loader/FrameLoader.cpp:1464: > m_isNavigationHandledByClient = false; > On 2017/01/11 20:30:46, Nate Chapin wrote: > > This isn't obvious to me. A blink-internal navigation failed, why would an > > external navigation also fail? > > If an external navigation is in progress, what other kind of load could fail? I > don't know how it works, but I expected that there could be only one thing to > load at a time. A committed DocumentLoader can fail late in its loading process, which is admittedly fairly rare. > > If this is not a good idea to put it here, I can move this statement in the > upper level: > * 0) FrameLoader::loadFailed() > * 1) WebLocalFrameImpl::maybeRenderFallbackContent() > * 2) RenderFrameImpl::OnFailedNavigation() > > But I will need to create functions to set m_isNavigationHandledByClient from > outside of the FrameLoader. Do you think to put this line of code in 1) is okay? > > Note: In the future, I should try to remove the m_isNavigationHandledByClient as > soon as I understood better how the frameloader works and how it is connected to > the testrunner. I'm suspicious that (1) is the only case where it's needed. A public function on FrameLoader like clearNavigationHandledByClient() would be OK.
The CQ bit was checked by arthursonzogni@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...
I applied your suggestion. Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_browser_side_navigation_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by arthursonzogni@chromium.org to run a CQ dry run
Patchset #2 (id:40001) has been deleted
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: linux_chromium_browser_side_navigation_rel on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
lgtm
The CQ bit was checked by arthursonzogni@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1485333853783650,
"parent_rev": "af23a0c634f77c940bc54aea0c92880c1f3c4e6c", "commit_rev":
"68693ab02e29631f4b484299fab89a66c768b01f"}
Message was sent while issue was closed.
Description was changed from ========== PlzNavigate: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel BUG=679675 ========== to ========== PlzNavigate: fix regression on the FYI bot. It fixes a regression introduced in crrev.com/2563423004 for the FYI bot: "Browser Side Navigation Linux". It happens with Failed navigation within <object data=...>. m_progressTracker->progressCompleted() lines were removed by the previous commit and further call to it didn't happen with PlzNavigate. It leads to a timeout in a few tests. Tests fixed: - virtual/spv2/fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2-pixel.html - fast/dom/HTMLObjectElement/children-changed.html - imported/wpt/html/semantics/embedded-content/the-object-element/object-attributes.html - fast/overflow/overflow-height-float-not-removed-crash2.html - fast/table/giantCellspacing.html - fast/overflow/overflow-height-float-not-removed-crash.html - fast/overflow/overflow-height-float-not-removed-crash3.html - fast/css/acid2.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel BUG=679675 Review-Url: https://codereview.chromium.org/2624723002 Cr-Commit-Position: refs/heads/master@{#445997} Committed: https://chromium.googlesource.com/chromium/src/+/68693ab02e29631f4b484299fab8... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/chromium/src/+/68693ab02e29631f4b484299fab8... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
