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

Issue 12086109: Prevent bindings escalation on an existing NavigationEntry. (Closed)

Created:
7 years, 10 months ago by Charlie Reis
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brettw
Visibility:
Public.

Description

Prevent bindings escalation on an existing NavigationEntry. BUG=173672 TEST=See bug for repro steps. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180607

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add more checks and tests. #

Patch Set 3 : Catch another case where pending WebUI was set. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -6 lines) Patch
M content/browser/web_contents/navigation_controller_impl.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/web_contents/navigation_controller_impl_unittest.cc View 1 2 chunks +50 lines, -0 lines 0 comments Download
M content/browser/web_contents/navigation_entry_impl.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M content/browser/web_contents/navigation_entry_impl.cc View 1 4 chunks +11 lines, -0 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 2 4 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Charlie Reis
Nasko and Chris, can you take a look? I'll run it past Brett if it ...
7 years, 10 months ago (2013-02-01 18:07:29 UTC) #1
nasko
lgtm
7 years, 10 months ago (2013-02-01 21:52:13 UTC) #2
Charlie Reis
Brett, can you review as well? I've CC'd you on the bug for context. I'm ...
7 years, 10 months ago (2013-02-01 22:00:40 UTC) #3
Chris Evans
Couple of little comments. https://codereview.chromium.org/12086109/diff/1/content/browser/web_contents/navigation_controller_impl_unittest.cc File content/browser/web_contents/navigation_controller_impl_unittest.cc (right): https://codereview.chromium.org/12086109/diff/1/content/browser/web_contents/navigation_controller_impl_unittest.cc#newcode891 content/browser/web_contents/navigation_controller_impl_unittest.cc:891: controller.GetLastCommittedEntry())->bindings()); Is it possible to ...
7 years, 10 months ago (2013-02-01 22:47:47 UTC) #4
Charlie Reis
Fixed comments and caught another place that might have escalated bindings. PTAL. https://codereview.chromium.org/12086109/diff/1/content/browser/web_contents/navigation_controller_impl_unittest.cc File content/browser/web_contents/navigation_controller_impl_unittest.cc ...
7 years, 10 months ago (2013-02-04 06:03:40 UTC) #5
Chris Evans
On 2013/02/04 06:03:40, creis wrote: > Fixed comments and caught another place that might have ...
7 years, 10 months ago (2013-02-04 19:13:33 UTC) #6
Charlie Reis
Thanks. Darin, can you take a look for sanity check? Brett's on vacation, so I'm ...
7 years, 10 months ago (2013-02-04 19:15:23 UTC) #7
darin (slow to review)
LGTM
7 years, 10 months ago (2013-02-05 00:24:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/12086109/17001
7 years, 10 months ago (2013-02-05 00:53:29 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-05 02:11:20 UTC) #10
Message was sent while issue was closed.
Change committed as 180607

Powered by Google App Engine
This is Rietveld 408576698