Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 43482a85797474481f9e2cccc4cb3732c79ab7c2..8d6de92c2a540663395af05b7b5dad4b7840785d 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -2661,7 +2661,8 @@ void Document::open() { |
} |
} |
- if (m_frame->loader().provisionalDocumentLoader()) |
+ // PlzNavigate: We should abort ongoing navigations handled by the client. |
+ if (m_frame->loader().hasProvisionalNavigation()) |
m_frame->loader().stopAllLoaders(); |
} |