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

Issue 1797393008: PlzNavigate: fix two RenderViewImplTests related to history (Closed)

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

Description

PlzNavigate: fix two RenderViewImplTests related to history This CL fixes RenderViewImplTest.BrowserNavigationStartNotUsedForHistoryNavigation and RenderViewImplTest.TestBackForward. Properly simulatin ghistory navigations with PlzNavigate enabled requires providing a url in the CommonNavigationParams, which was not being done. BUG=475027 Committed: https://crrev.com/2c11358348eb568cfddf14ef7c7c7b891607e148 Cr-Commit-Position: refs/heads/master@{#382940}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Patch Set 3 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -28 lines) Patch
M chrome/renderer/translate/translate_helper_browsertest.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/public/test/render_view_test.h View 1 2 chunks +3 lines, -3 lines 2 comments Download
M content/public/test/render_view_test.cc View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 chunks +32 lines, -15 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter View 1 1 chunk +0 lines, -1 line 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
clamy
@nasko: PTAL
4 years, 9 months ago (2016-03-18 15:23:29 UTC) #3
nasko
Hey Charlie, Can you also take a look at this CL? It is history related. ...
4 years, 9 months ago (2016-03-18 15:56:18 UTC) #5
Charlie Reis
https://codereview.chromium.org/1797393008/diff/1/content/renderer/render_view_browsertest.cc File content/renderer/render_view_browsertest.cc (left): https://codereview.chromium.org/1797393008/diff/1/content/renderer/render_view_browsertest.cc#oldcode1459 content/renderer/render_view_browsertest.cc:1459: GoBack(back_state); Why not update GoBack itself (in RenderViewTest) by ...
4 years, 9 months ago (2016-03-18 17:43:23 UTC) #6
clamy
Thanks! https://codereview.chromium.org/1797393008/diff/1/content/renderer/render_view_browsertest.cc File content/renderer/render_view_browsertest.cc (left): https://codereview.chromium.org/1797393008/diff/1/content/renderer/render_view_browsertest.cc#oldcode1459 content/renderer/render_view_browsertest.cc:1459: GoBack(back_state); On 2016/03/18 17:43:23, Charlie Reis wrote: > ...
4 years, 9 months ago (2016-03-23 15:23:08 UTC) #7
Charlie Reis
Thanks! LGTM.
4 years, 9 months ago (2016-03-23 18:11:13 UTC) #8
Charlie Reis
On 2016/03/23 18:11:13, Charlie Reis wrote: > Thanks! LGTM. I'm running a linux_site_isolation try job ...
4 years, 9 months ago (2016-03-23 18:11:52 UTC) #9
Charlie Reis
Also, +sky for chrome/ OWNERs on the test file.
4 years, 9 months ago (2016-03-23 18:52:41 UTC) #11
sky
https://codereview.chromium.org/1797393008/diff/40001/content/public/test/render_view_test.h File content/public/test/render_view_test.h (right): https://codereview.chromium.org/1797393008/diff/40001/content/public/test/render_view_test.h#newcode106 content/public/test/render_view_test.h:106: void GoBack(const GURL& url, const PageState& state); Seems bizarre ...
4 years, 9 months ago (2016-03-23 21:33:33 UTC) #12
Charlie Reis
https://codereview.chromium.org/1797393008/diff/40001/content/public/test/render_view_test.h File content/public/test/render_view_test.h (right): https://codereview.chromium.org/1797393008/diff/40001/content/public/test/render_view_test.h#newcode106 content/public/test/render_view_test.h:106: void GoBack(const GURL& url, const PageState& state); On 2016/03/23 ...
4 years, 9 months ago (2016-03-23 21:51:15 UTC) #13
sky
Ok, LGTM
4 years, 9 months ago (2016-03-23 21:55:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1797393008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1797393008/40001
4 years, 9 months ago (2016-03-23 22:06:00 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-23 22:13:56 UTC) #18
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 22:15:10 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2c11358348eb568cfddf14ef7c7c7b891607e148
Cr-Commit-Position: refs/heads/master@{#382940}

Powered by Google App Engine
This is Rietveld 408576698