Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1119)

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2171063002: Notify the Blink client synchronously if the initial doc is accessed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forbid scripts. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 814d87c508fc29b792f96ff3b0b13971de339066..87f0cdb9d67d54752822f24c6ecf8ad4c339fa5f 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -157,7 +157,8 @@ public:
// Indicates that another page has accessed the DOM of the initial empty
// document of a main frame. After this, it is no longer safe to show a
- // pending navigation's URL, because a URL spoof is possible.
+ // pending navigation's URL, because a URL spoof is possible. The client
+ // must not call back into JavaScript during this notification.
virtual void didAccessInitialDocument() { }
// A child frame was created in this frame. This is called when the frame

Powered by Google App Engine
This is Rietveld 408576698