Changeset 148078 in webkit
- Timestamp:
- Apr 9, 2013 11:45:02 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r148054 r148078 1 2013-04-09 Antoine Quint <graouts@apple.com> 2 3 WKFrameIsDisplayingMarkupDocument should return true for Web Archives 4 https://bugs.webkit.org/show_bug.cgi?id=114291 5 6 Reviewed by Dean Jackson. 7 8 Also return true for the Web Archive MIME type since a Web Archive 9 is displaying a markup document by nature. 10 11 * UIProcess/WebFrameProxy.cpp: 12 (WebKit::WebFrameProxy::isDisplayingMarkupDocument): 13 1 14 2013-04-09 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/WebFrameProxy.cpp
r142807 r148078 116 116 { 117 117 // FIXME: This check should be moved to somewhere in WebCore. 118 // FIXME: This returns false when displaying a web archive. 119 return m_MIMEType == "text/html" || m_MIMEType == "image/svg+xml" || DOMImplementation::isXMLMIMEType(m_MIMEType); 118 return m_MIMEType == "text/html" || m_MIMEType == "image/svg+xml" || m_MIMEType == "application/x-webarchive" || DOMImplementation::isXMLMIMEType(m_MIMEType); 120 119 } 121 120
Note: See TracChangeset
for help on using the changeset viewer.