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

Issue 151593004: Fix bugs with renderer-side debug URLs, like chrome://crash or javascript:. (Closed)

Created:
6 years, 10 months ago by Charlie Reis
Modified:
6 years, 10 months ago
Reviewers:
nasko
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, creis+watch_chromium.org, ajwong+watch_chromium.org
Visibility:
Public.

Description

Fix bugs with renderer-side debug URLs, like chrome://crash or javascript:. These URLs should not cause a process swap when leaving pages like extensions or view-source. Also, they should be ignored if the renderer process is not live. BUG=335503 BUG=334214 TEST=chrome://kill works on extensions and is ignored on crashed tabs. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248442

Patch Set 1 #

Patch Set 2 : Add tests #

Total comments: 5

Patch Set 3 : Clarify comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -18 lines) Patch
M content/browser/frame_host/debug_urls.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/debug_urls.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 chunks +10 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 chunks +54 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_browsertest.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/site_instance_impl.cc View 4 chunks +3 lines, -17 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Charlie Reis
Nasko, can you take a look? This fixes both http://crbug.com/335503 and http://crbug.com/334214. Those are technically ...
6 years, 10 months ago (2014-01-31 23:34:24 UTC) #1
nasko
Just one comment, otherwise LGTM. https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc File content/browser/frame_host/debug_urls.cc (right): https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc#newcode93 content/browser/frame_host/debug_urls.cc:93: url == GURL(kChromeUIShorthangURL); Shouldn't ...
6 years, 10 months ago (2014-01-31 23:56:07 UTC) #2
Charlie Reis
Thanks. Hope this clears it up. https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc File content/browser/frame_host/debug_urls.cc (right): https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc#newcode93 content/browser/frame_host/debug_urls.cc:93: url == GURL(kChromeUIShorthangURL); ...
6 years, 10 months ago (2014-01-31 23:59:21 UTC) #3
Charlie Reis
I've updated the comments in the latest patch set.
6 years, 10 months ago (2014-02-01 00:03:40 UTC) #4
nasko
Still LGTM https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc File content/browser/frame_host/debug_urls.cc (right): https://codereview.chromium.org/151593004/diff/50001/content/browser/frame_host/debug_urls.cc#newcode93 content/browser/frame_host/debug_urls.cc:93: url == GURL(kChromeUIShorthangURL); On 2014/01/31 23:59:22, Charlie ...
6 years, 10 months ago (2014-02-01 00:05:05 UTC) #5
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 10 months ago (2014-02-02 22:21:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/151593004/150001
6 years, 10 months ago (2014-02-02 22:21:31 UTC) #7
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 06:54:11 UTC) #8
commit-bot: I haz the power
Change committed as 248442
6 years, 10 months ago (2014-02-03 06:54:11 UTC) #9
commit-bot: I haz the power
6 years, 10 months ago (2014-02-03 06:54:16 UTC) #10
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698