Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index d2030c35e017a83ed17e6526dbb2907d173b90c1..ca6064377af6b35224c561a99b6514f7b322e0fd 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2776,6 +2776,9 @@ RenderFrameImpl::createServiceWorkerProvider() { |
} |
void RenderFrameImpl::didAccessInitialDocument() { |
+ // NOTE: Do not call back into JavaScript here, since this call is made from a |
+ // V8 security check. |
+ |
// If the request hasn't yet committed, notify the browser process that it is |
// no longer safe to show the pending URL of the main frame, since a URL spoof |
// is now possible. (If the request has committed, the browser already knows.) |