summaryrefslogtreecommitdiffstats
path: root/Source/WebKit
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-08-17 15:14:59 -0700
committerJohn Reck <jreck@google.com>2011-08-17 15:14:59 -0700
commitadb6a5b9615e20edca8bd133e830720af2e2afa1 (patch)
tree3d0a42a191b43c6450568db69794ad1cfb54070d /Source/WebKit
parent41b52b2ab048f02c6ec7732f1e1a3430d8272da9 (diff)
downloadexternal_webkit-adb6a5b9615e20edca8bd133e830720af2e2afa1.zip
external_webkit-adb6a5b9615e20edca8bd133e830720af2e2afa1.tar.gz
external_webkit-adb6a5b9615e20edca8bd133e830720af2e2afa1.tar.bz2
Remove shouldOverrideUrlLoading restrictions
Bug: 5171504 Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
Diffstat (limited to 'Source/WebKit')
-rw-r--r--Source/WebKit/android/jni/WebCoreFrameBridge.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
index a7f3897..d556d6f 100644
--- a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -843,12 +843,6 @@ WebFrame::canHandleRequest(const WebCore::ResourceRequest& request)
if (equalIgnoringCase(request.httpMethod(), "POST"))
return true;
const WebCore::KURL& requestUrl = request.url();
- bool isUserGesture = UserGestureIndicator::processingUserGesture();
- if (!mUserInitiatedAction && !isUserGesture &&
- (requestUrl.protocolIs("http") || requestUrl.protocolIs("https") ||
- requestUrl.protocolIs("file") || requestUrl.protocolIs("about") ||
- WebCore::protocolIsJavaScript(requestUrl.string())))
- return true;
const WTF::String& url = requestUrl.string();
// Empty urls should not be sent to java
if (url.isEmpty())