| Index: chrome/browser/renderer_security_policy.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_security_policy.cc (revision 6238)
|
| +++ chrome/browser/renderer_security_policy.cc (working copy)
|
| @@ -195,9 +195,9 @@
|
| if (state == security_state_.end())
|
| return;
|
|
|
| - // The inspector is served from a chrome-resource: URL. In order to run the
|
| - // inspector, the renderer needs to be able to load chrome-resource URLs.
|
| - state->second->GrantScheme("chrome-resource");
|
| + // The inspector is served from a chrome: URL. In order to run the
|
| + // inspector, the renderer needs to be able to load chrome URLs.
|
| + state->second->GrantScheme("chrome");
|
| }
|
|
|
| void RendererSecurityPolicy::GrantDOMUIBindings(int renderer_id) {
|
| @@ -209,8 +209,8 @@
|
|
|
| state->second->GrantDOMUIBindings();
|
|
|
| - // DOM UI bindings need the ability to request chrome-resource URLs.
|
| - state->second->GrantScheme("chrome-resource");
|
| + // DOM UI bindings need the ability to request chrome URLs.
|
| + state->second->GrantScheme("chrome");
|
|
|
| // DOM UI pages can contain links to file:// URLs.
|
| state->second->GrantScheme("file");
|
|
|