| Index: chrome/browser/tab_contents/render_view_context_menu.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| index c61ee4c0e4a5beaa8e1ea422f5d8eeb8c63063d9..59993c2f58691a3937b64b0c63178125047d2095 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu.cc
|
| @@ -1586,11 +1586,9 @@ bool RenderViewContextMenu::IsDevCommandEnabled(int id) const {
|
| if (active_entry->IsViewSourceMode())
|
| return false;
|
|
|
| - // Don't inspect about:network, about:memory, etc.
|
| - // However, we do want to inspect about:blank, which is often
|
| - // used by ordinary web pages.
|
| - if (active_entry->virtual_url().SchemeIs(chrome::kAboutScheme) &&
|
| - !LowerCaseEqualsASCII(active_entry->virtual_url().path(), "blank"))
|
| + // Do not inspect Chrome URLs (chrome://network/, chrome://memory/, etc.).
|
| + // However, do inspect about:blank, which is often used by ordinary web pages.
|
| + if (active_entry->virtual_url().SchemeIs(chrome::kChromeUIScheme))
|
| return false;
|
|
|
| if (id == IDC_CONTENT_CONTEXT_INSPECTELEMENT) {
|
|
|