| Index: third_party/WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp (revision 9118)
|
| +++ third_party/WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp (working copy)
|
| @@ -148,7 +148,7 @@
|
| if (!protocolIs(dstUrl, "javascript") || allowsAccessFrom(exec)) {
|
| bool userGesture = activeFrame->script()->processingUserGesture();
|
| // We want a new history item if this JS was called via a user gesture
|
| - impl()->frame()->loader()->scheduleLocationChange(dstUrl, activeFrame->loader()->outgoingReferrer(), false, false, userGesture);
|
| + impl()->frame()->loader()->scheduleLocationChange(dstUrl, activeFrame->loader()->outgoingReferrer(), !activeFrame->script()->anyPageIsProcessingUserGesture(), false, userGesture);
|
| }
|
| }
|
|
|
|
|