| Index: Source/bindings/v8/custom/V8HistoryCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8HistoryCustom.cpp b/Source/bindings/v8/custom/V8HistoryCustom.cpp
|
| index cf22ff5b56b4f74bf00fdc8bde9bbf4355485a20..c676e2509decb113bce9f970223a55c26227e22e 100644
|
| --- a/Source/bindings/v8/custom/V8HistoryCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8HistoryCustom.cpp
|
| @@ -70,7 +70,7 @@ void V8History::pushStateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| TOSTRING_VOID(V8StringResource<WithUndefinedOrNullCheck>, url, argumentOrNull(info, 2));
|
|
|
| History* history = V8History::toNative(info.Holder());
|
| - history->stateObjectAdded(historyState.release(), title, url, UpdateBackForwardList, exceptionState);
|
| + history->stateObjectAdded(historyState.release(), title, url, FrameLoadTypeStandard, exceptionState);
|
| V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()));
|
| exceptionState.throwIfNeeded();
|
| }
|
| @@ -86,7 +86,7 @@ void V8History::replaceStateMethodCustom(const v8::FunctionCallbackInfo<v8::Valu
|
| TOSTRING_VOID(V8StringResource<WithUndefinedOrNullCheck>, url, argumentOrNull(info, 2));
|
|
|
| History* history = V8History::toNative(info.Holder());
|
| - history->stateObjectAdded(historyState.release(), title, url, DoNotUpdateBackForwardList, exceptionState);
|
| + history->stateObjectAdded(historyState.release(), title, url, FrameLoadTypeRedirectWithLockedBackForwardList, exceptionState);
|
| V8HiddenValue::deleteHiddenValue(info.GetIsolate(), info.Holder(), V8HiddenValue::state(info.GetIsolate()));
|
| exceptionState.throwIfNeeded();
|
| }
|
|
|