| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index b0cfe1f203eb194b295305d80184d2314515f59f..67963c9ebf5c2c0a4a6937171c2b9820da859a6f 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1846,6 +1846,8 @@ void WebLocalFrameImpl::loadJavaScriptURL(const KURL& url)
|
| if (SchemeRegistry::shouldTreatURLSchemeAsNotAllowingJavascriptURLs(frame()->document()->url().protocol()))
|
| return;
|
|
|
| + ownerDocument->markNonInitialEmptyDocument();
|
| +
|
| String script = decodeURLEscapeSequences(url.string().substring(strlen("javascript:")));
|
| UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture);
|
| v8::HandleScope handleScope(toIsolate(frame()));
|
|
|