summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/dom_ui/dom_ui_contents.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_contents.cc b/chrome/browser/dom_ui/dom_ui_contents.cc
index 260c68f..3001c9e 100644
--- a/chrome/browser/dom_ui/dom_ui_contents.cc
+++ b/chrome/browser/dom_ui/dom_ui_contents.cc
@@ -126,7 +126,8 @@ bool DOMUIContentsCanHandleURL(GURL* url,
return false;
// TODO: remove once the debugger is using DOMContentsUI
- if (url->host().compare("debugger") == 0)
+ if (url->host().compare("inspector") == 0 &&
+ url->path().compare("/debugger.html") == 0)
return false;
*result_type = TAB_CONTENTS_DOM_UI;