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

Issue 4862002: Prevent a crash when visiting about:hang in two NTPs. (Closed)

Created:
10 years, 1 month ago by Charlie Reis
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr., ben+cc_chromium.org
Visibility:
Public.

Description

Prevent a crash when visiting about:hang in two NTPs. Fixes how we assign about:hang to renderers and a related sanity check. BUG=59859 TEST=NewTabUITest.AboutHangInNTP Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66128

Patch Set 1 : Initial patch #

Total comments: 2

Patch Set 2 : Fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -8 lines) Patch
M chrome/browser/dom_ui/dom_ui_factory.h View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/dom_ui_factory.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui_uitest.cc View 2 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_manager.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Charlie Reis
10 years, 1 month ago (2010-11-12 22:50:22 UTC) #1
brettw
LGTM http://codereview.chromium.org/4862002/diff/2001/chrome/browser/dom_ui/dom_ui_factory.cc File chrome/browser/dom_ui/dom_ui_factory.cc (right): http://codereview.chromium.org/4862002/diff/2001/chrome/browser/dom_ui/dom_ui_factory.cc#newcode239 chrome/browser/dom_ui/dom_ui_factory.cc:239: // javacsript: URLs are allowed to run in ...
10 years, 1 month ago (2010-11-15 00:04:32 UTC) #2
Charlie Reis
10 years, 1 month ago (2010-11-15 17:49:27 UTC) #3
Thanks!

http://codereview.chromium.org/4862002/diff/2001/chrome/browser/dom_ui/dom_ui...
File chrome/browser/dom_ui/dom_ui_factory.cc (right):

http://codereview.chromium.org/4862002/diff/2001/chrome/browser/dom_ui/dom_ui...
chrome/browser/dom_ui/dom_ui_factory.cc:239: // javacsript: URLs are allowed to
run in DOM UI pages
On 2010/11/15 00:04:32, brettw wrote:
> All this stuff should be indented only 4 spaces (6 from the left edge).

Done.

Powered by Google App Engine
This is Rietveld 408576698