Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1437)

Unified Diff: Source/core/loader/FrameLoader.cpp

Issue 680273004: Never fire popstate event when navigating between documents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoader.cpp
diff --git a/Source/core/loader/FrameLoader.cpp b/Source/core/loader/FrameLoader.cpp
index e01198cdeb4ee1616956d3a34c0929078e904a76..640d69af701d16bc320672cf21b3a4f62ee28c19 100644
--- a/Source/core/loader/FrameLoader.cpp
+++ b/Source/core/loader/FrameLoader.cpp
@@ -374,9 +374,6 @@ void FrameLoader::didBeginDocument(bool dispatch)
{
m_frame->document()->setReadyState(Document::Loading);
- if (m_provisionalItem && (m_loadType == FrameLoadTypeBackForward || m_loadType == FrameLoadTypeInitialHistoryLoad))
- m_frame->domWindow()->statePopped(m_provisionalItem->stateObject());
-
if (dispatch)
dispatchDidClearDocumentOfWindowObject();
« no previous file with comments | « LayoutTests/fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698