| Index: chrome/renderer/content_settings_observer.cc
|
| diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc
|
| index 24b0db39c33c0003016f48f1a924639a9df7302a..a8bdecb6ad679d4d21533da1b4accf34e3507d83 100644
|
| --- a/chrome/renderer/content_settings_observer.cc
|
| +++ b/chrome/renderer/content_settings_observer.cc
|
| @@ -36,6 +36,9 @@ static bool IsWhitelistedForContentSettings(WebFrame* frame) {
|
| if (EqualsASCII(origin.protocol(), chrome::kChromeUIScheme))
|
| return true; // Browser UI elements should still work.
|
|
|
| + if (EqualsASCII(origin.protocol(), chrome::kChromeDevToolsScheme))
|
| + return true; // DevTools UI elements should still work.
|
| +
|
| // If the scheme is ftp: or file:, an empty file name indicates a directory
|
| // listing, which requires JavaScript to function properly.
|
| GURL document_url = frame->document().url();
|
|
|