Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Issue 743803002: Avoid stale navigation requests without excessive page id knowledge in the renderer process. (Closed)

Created:
6 years, 1 month ago by Avi (use Gerrit)
Modified:
6 years ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Avoid stale navigation requests without excessive page id knowledge in the renderer process. This reverts the page id portions of r92748 and r96724, but keeps some unrelated cleanup as well as some tests. BUG=431853, 178491 TEST=covered by tests, as well as it shouldn't regress the original bug 86758 Committed: https://crrev.com/2b17759ec12ca2d1c9930a37d1020dff1652bfd6 Cr-Commit-Position: refs/heads/master@{#307614}

Patch Set 1 #

Patch Set 2 : build fix #

Patch Set 3 : fix broken dcheck #

Patch Set 4 : SetHistoryLengthAndOffset #

Patch Set 5 : test fixes #

Patch Set 6 : fixier #

Patch Set 7 : rebase #

Patch Set 8 : properly set #

Patch Set 9 : swapped in #

Patch Set 10 : more saving #

Total comments: 39

Patch Set 11 : fixes, test #

Total comments: 6

Patch Set 12 : charlie's fixes #

Total comments: 2

Patch Set 13 : rebase, fix #

Patch Set 14 : rebase, fix #

Patch Set 15 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -574 lines) Patch
M content/browser/frame_host/navigation_controller_delegate.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +18 lines, -38 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +47 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 15 chunks +15 lines, -44 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +10 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +16 lines, -22 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -4 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -3 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -12 lines 0 comments Download
M content/public/test/render_view_test.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -10 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +25 lines, -39 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +10 lines, -269 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +4 lines, -18 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +7 lines, -59 lines 0 comments Download
M content/test/test_web_contents.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -15 lines 0 comments Download
M content/test/test_web_contents.cc View 1 2 3 4 5 6 7 3 chunks +15 lines, -23 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
Avi (use Gerrit)
Charlie, have at it. Windows trybots haven't yet cycled, but things seem green.
6 years ago (2014-12-03 21:56:49 UTC) #2
Charlie Reis
This is great! There's a lot of complexity going away here, and I think the ...
6 years ago (2014-12-03 23:48:08 UTC) #3
Avi (use Gerrit)
https://codereview.chromium.org/743803002/diff/180001/content/browser/frame_host/navigation_controller_impl.cc File content/browser/frame_host/navigation_controller_impl.cc (right): https://codereview.chromium.org/743803002/diff/180001/content/browser/frame_host/navigation_controller_impl.cc#newcode1359 content/browser/frame_host/navigation_controller_impl.cc:1359: delegate_->GetMaxPageIDForSiteInstance(last_committed->site_instance()); Bad name. https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc#newcode1943 content/browser/web_contents/web_contents_impl.cc:1943: ...
6 years ago (2014-12-04 21:15:16 UTC) #4
Charlie Reis
Thanks-- replies below. We should also think about what happens when the stale check kicks ...
6 years ago (2014-12-04 23:13:58 UTC) #5
Avi (use Gerrit)
https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc#newcode1943 content/browser/web_contents/web_contents_impl.cc:1943: // SetHistoryOffsetAndLength doesn't work when there are pending cross-site ...
6 years ago (2014-12-05 22:16:39 UTC) #6
Charlie Reis
https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/743803002/diff/180001/content/browser/web_contents/web_contents_impl.cc#newcode1943 content/browser/web_contents/web_contents_impl.cc:1943: // SetHistoryOffsetAndLength doesn't work when there are pending cross-site ...
6 years ago (2014-12-05 22:51:15 UTC) #7
Avi (use Gerrit)
https://codereview.chromium.org/743803002/diff/220001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/743803002/diff/220001/content/renderer/render_frame_impl.cc#newcode4109 content/renderer/render_frame_impl.cc:4109: // -999 is a special bogus current_history_list_offset that disables ...
6 years ago (2014-12-08 22:06:03 UTC) #8
Charlie Reis
On 2014/12/08 22:06:03, Avi wrote: > https://codereview.chromium.org/743803002/diff/220001/content/renderer/render_frame_impl.cc > File content/renderer/render_frame_impl.cc (right): > > https://codereview.chromium.org/743803002/diff/220001/content/renderer/render_frame_impl.cc#newcode4109 > ...
6 years ago (2014-12-09 00:58:30 UTC) #9
Avi (use Gerrit)
On 2014/12/09 00:58:30, Charlie Reis wrote: > On 2014/12/08 22:06:03, Avi wrote: > > > ...
6 years ago (2014-12-09 03:56:38 UTC) #10
Avi (use Gerrit)
So patch set 14 has the update. It's all red because it relies on https://codereview.chromium.org/790843002. ...
6 years ago (2014-12-09 16:57:33 UTC) #11
Charlie Reis
LGTM!
6 years ago (2014-12-09 21:35:39 UTC) #12
Avi (use Gerrit)
Nasko, can you take the IPC here?
6 years ago (2014-12-09 21:52:20 UTC) #14
nasko
IPC Rubberstamp LGTM
6 years ago (2014-12-09 23:43:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/743803002/280001
6 years ago (2014-12-10 00:13:53 UTC) #17
commit-bot: I haz the power
Committed patchset #15 (id:280001)
6 years ago (2014-12-10 02:08:18 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-10 02:09:03 UTC) #19
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/2b17759ec12ca2d1c9930a37d1020dff1652bfd6
Cr-Commit-Position: refs/heads/master@{#307614}

Powered by Google App Engine
This is Rietveld 408576698