Index: chrome/renderer/chrome_render_thread_observer.cc |
diff --git a/chrome/renderer/chrome_render_thread_observer.cc b/chrome/renderer/chrome_render_thread_observer.cc |
index 0fc7c0f1829d95da05b61a38ab7b0470626c32c1..4f0a389fdef8694a7e0d3398e3b232f098f44dfc 100644 |
--- a/chrome/renderer/chrome_render_thread_observer.cc |
+++ b/chrome/renderer/chrome_render_thread_observer.cc |
@@ -250,13 +250,13 @@ ChromeRenderThreadObserver::ChromeRenderThreadObserver() |
// chrome-native: is a scheme used for placeholder navigations that allow |
// UIs to be drawn with platform native widgets instead of HTML. These pages |
- // should not be accessible, and should also be treated as empty documents |
- // that can commit synchronously. No code should be runnable in these pages, |
+ // should not be accessible. No code should be runnable in these pages, |
// so it should not need to access anything nor should it allow javascript |
// URLs since it should never be visible to the user. |
+ // See also ChromeContentClient::AddAdditionalSchemes that adds it as an |
+ // empty document scheme. |
WebString native_scheme(WebString::fromASCII(chrome::kChromeNativeScheme)); |
WebSecurityPolicy::registerURLSchemeAsDisplayIsolated(native_scheme); |
- WebSecurityPolicy::registerURLSchemeAsEmptyDocument(native_scheme); |
WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs( |
native_scheme); |