Changeset 110834 in webkit
- Timestamp:
- Mar 15, 2012 2:08:57 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r110820 r110834 1 2012-03-15 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [WK2] WebPageProxy::activeURL should return unreachableURL() when it's not empty 4 https://bugs.webkit.org/show_bug.cgi?id=75465 5 6 Reviewed by Philippe Normand. 7 8 * UIProcess/API/gtk/tests/WebViewTest.cpp: 9 (WebViewTest::replaceContent): Return the main frame 10 unreachableURL if it's not empty. 11 * UIProcess/WebPageProxy.cpp: 12 (WebKit::WebPageProxy::activeURL): 13 1 14 2012-03-14 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/WebViewTest.cpp
r109120 r110834 75 75 void WebViewTest::replaceContent(const char* html, const char* contentURI, const char* baseURI) 76 76 { 77 // FIXME: The active uri should be the contentURI,78 // but WebPageProxy doesn't return the unreachableURL79 // when the page has been loaded with AlternateHTML()80 // See https://bugs.webkit.org/show_bug.cgi?id=75465.81 #if 082 77 m_activeURI = contentURI; 83 #else84 m_activeURI = "about:blank";85 #endif86 78 webkit_web_view_replace_content(m_webView, html, contentURI, baseURI); 87 79 } -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r110714 r110834 646 646 return m_pendingAPIRequestURL; 647 647 648 // FIXME: What do we do in the case of the unreachable URL? 648 if (!m_mainFrame->unreachableURL().isEmpty()) 649 return m_mainFrame->unreachableURL(); 649 650 650 651 switch (m_mainFrame->loadState()) {
Note: See TracChangeset
for help on using the changeset viewer.