summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2010-05-21 09:35:01 -0700
committerGrace Kloba <klobag@google.com>2010-05-24 09:07:14 -0700
commitb31073102b4df9c6f531ad939e5d0f4d8880a9e5 (patch)
tree09d669209b19495e0170829363ad4acce45c8a74 /WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
parentc9aacd00d106d418276e0cacdaa82d2c51f90e66 (diff)
downloadexternal_webkit-b31073102b4df9c6f531ad939e5d0f4d8880a9e5.zip
external_webkit-b31073102b4df9c6f531ad939e5d0f4d8880a9e5.tar.gz
external_webkit-b31073102b4df9c6f531ad939e5d0f4d8880a9e5.tar.bz2
Fix a binding big in WebKit which prevents url
hijacking for mobile adsense. Fix http://b/issue?id=2695688 cherry-pick the change from WebKit https://bugs.webkit.org/show_bug.cgi?id=39452
Diffstat (limited to 'WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp b/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
index 6a53a1f..ff2be37 100644
--- a/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
@@ -574,7 +574,7 @@ v8::Handle<v8::Value> V8DOMWindow::openCallback(const v8::Arguments& args)
// the outgoingReferrer. We replicate that behavior here.
String referrer = enteredFrame->loader()->outgoingReferrer();
- frame->redirectScheduler()->scheduleLocationChange(completedUrl, referrer, false, userGesture);
+ frame->redirectScheduler()->scheduleLocationChange(completedUrl, referrer, false, false, userGesture);
}
return toV8(frame->domWindow());
}