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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 1840813002: Always ignore navigation in Document::detach() in LocalFrame::navigate() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index c08c5dea4a5a2d7bf32a6ce1c02ed09b318931e0..a68c4846066932628615678c7283f4186e14c1fb 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -285,7 +285,7 @@ void LocalFrame::navigate(Document& originDocument, const KURL& url, bool replac
if (isMainFrame() && !m_loader.stateMachine()->committedFirstRealDocumentLoad()) {
FrameLoadRequest request(&originDocument, url);
request.resourceRequest().setHasUserGesture(userGestureStatus == UserGestureStatus::Active);
- m_loader.load(request);
+ navigate(request);
} else {
m_navigationScheduler->scheduleLocationChange(&originDocument, url.getString(), replaceCurrentItem);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698