URL set by document.open() is not communicated to the UIProcess
[WebKit-https.git] / Source / WebKit / UIProcess / PageLoadState.cpp
index c2ae6f0..9e943ab 100644 (file)
@@ -246,6 +246,15 @@ void PageLoadState::clearPendingAPIRequestURL(const Transaction::Token& token)
     m_uncommittedState.pendingAPIRequestURL = String();
 }
 
+void PageLoadState::didExplicitOpen(const Transaction::Token& token, const String& url)
+{
+    ASSERT_UNUSED(token, &token.m_pageLoadState == this);
+
+    m_uncommittedState.state = State::Finished;
+    m_uncommittedState.url = url;
+    m_uncommittedState.provisionalURL = String();
+}
+
 void PageLoadState::didStartProvisionalLoad(const Transaction::Token& token, const String& url, const String& unreachableURL)
 {
     ASSERT_UNUSED(token, &token.m_pageLoadState == this);