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

Unified Diff: content/browser/frame_host/debug_urls.cc

Issue 595993002: Only quit or restart with chrome:// or about:. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inducebrowsercrashforrealz Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/debug_urls.cc
diff --git a/content/browser/frame_host/debug_urls.cc b/content/browser/frame_host/debug_urls.cc
index 6bfc3cc3719ec2d63950f568ef7e311e199ad48f..0b2ca863388b6892b69334d38972181ecfa64fb3 100644
--- a/content/browser/frame_host/debug_urls.cc
+++ b/content/browser/frame_host/debug_urls.cc
@@ -125,7 +125,7 @@ bool HandleDebugURL(const GURL& url, ui::PageTransition transition) {
if (IsAsanDebugURL(url))
return HandleAsanDebugURL(url);
- if (url.host() == kChromeUIBrowserCrashHost) {
+ if (url == GURL(kChromeUIBrowserCrashURL)) {
// Induce an intentional crash in the browser process.
CHECK(false);
return true;
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | content/public/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698