Changeset 154478 in webkit
- Timestamp:
- Aug 23, 2013 4:18:24 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r154477 r154478 1 2013-08-23 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 [WTR] Should dump as text when the mimetype is text/plain 4 https://bugs.webkit.org/show_bug.cgi?id=118306 5 6 Reviewed by Christophe Dumez. 7 8 Unskipping http/tests/multipart/load-last-non-html-frame.php. 9 Now the result should match the expectation. 10 11 * platform/wk2/TestExpectations: 12 1 13 2013-08-23 Simon Pena <simon.pena@samsung.com> 2 14 -
trunk/LayoutTests/platform/wk2/TestExpectations
r153852 r154478 236 236 # WebKit2 needs an implementation of FrameLoaderClient::revertToProvisionalState 237 237 # https://bugs.webkit.org/show_bug.cgi?id=81365 238 http/tests/multipart/load-last-non-html-frame.php239 238 http/tests/multipart/multipart-wait-before-boundary.html 240 239 -
trunk/Tools/ChangeLog
r154468 r154478 1 2013-08-23 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 [WTR] Should dump as text when the mimetype is text/plain 4 https://bugs.webkit.org/show_bug.cgi?id=118306 5 6 Reviewed by Christophe Dumez. 7 8 Check for the text/plain mimetype and if true then mark it as 9 text dump. 10 11 * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp: 12 (WTR::InjectedBundlePage::dump): 13 1 14 2013-08-22 Filip Pizlo <fpizlo@apple.com> 2 15 -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp
r153956 r154478 849 849 850 850 WKBundleFrameRef frame = WKBundlePageGetMainFrame(m_page); 851 WTF::String url = toWTFString(adoptWK(WKURLCopyString(adoptWK(WKBundleFrameCopyURL(frame)).get()))); 852 if (url.find("dumpAsText/") != WTF::notFound) 851 WKRetainPtr<WKURLRef> urlRef = adoptWK(WKBundleFrameCopyURL(frame)); 852 String url = toWTFString(adoptWK(WKURLCopyString(urlRef.get()))); 853 WKRetainPtr<WKStringRef> mimeType = adoptWK(WKBundleFrameCopyMIMETypeForResourceWithURL(frame, urlRef.get())); 854 if (url.find("dumpAsText/") != notFound || WKStringIsEqualToUTF8CString(mimeType.get(), "text/plain")) 853 855 InjectedBundle::shared().testRunner()->dumpAsText(false); 854 856
Note: See TracChangeset
for help on using the changeset viewer.