Changeset 41341 in webkit
- Timestamp:
- Mar 1, 2009 11:22:13 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r41338 r41341 1 2009-02-28 Jan Michael Alonzo <jmalonzo@webkit.org> 2 3 Reviewed by Holger Freyther. 4 5 [Gtk] get the HTTP layout tests going 6 https://bugs.webkit.org/show_bug.cgi?id=24259 7 8 Enable http tests, excluding tests/folders that fail or untested 9 10 * platform/gtk/Skipped: 11 1 12 2009-03-01 Dan Bernstein <mitz@apple.com> 2 13 -
trunk/LayoutTests/platform/gtk/Skipped
r40301 r41341 2152 2152 editing 2153 2153 geolocation 2154 http2155 2154 media 2156 2155 platform … … 2217 2216 # Tests generating new results 2218 2217 transitions/transition-drt-api.html 2218 2219 # HTTP tests 2220 # Tests in http/ directory 2221 2222 # blacklist untested/failing folders 2223 http/tests/appcache 2224 http/tests/history 2225 http/tests/media 2226 http/tests/misc 2227 http/tests/navigation 2228 http/tests/plugins 2229 http/tests/security 2230 http/tests/ssl 2231 http/tests/webarchive 2232 http/tests/wml 2233 2234 # tests that failed 2235 http/tests/incremental/slow-utf8-text.pl 2236 http/tests/loading/bad-scheme-subframe.html 2237 http/tests/loading/bad-server-subframe.html 2238 http/tests/loading/basic.html 2239 http/tests/loading/empty-subframe.html 2240 http/tests/loading/gmail-assert-on-load.html 2241 http/tests/loading/location-hash-reload-cycle.html 2242 http/tests/loading/onload-vs-immediate-refresh.pl 2243 http/tests/loading/slow-parsing-subframe.html 2244 http/tests/loading/text-content-type-with-binary-extension.html 2245 http/tests/xmlhttprequest/abort-should-cancel-load.html 2246 http/tests/xmlhttprequest/basic-auth.html 2247 http/tests/xmlhttprequest/close-window.html 2248 http/tests/xmlhttprequest/default-content-type-dashboard.html 2249 http/tests/xmlhttprequest/frame-load-cancelled-abort.html 2250 http/tests/xmlhttprequest/methods-async.html 2251 http/tests/xmlhttprequest/methods-lower-case.html 2252 http/tests/xmlhttprequest/methods.html 2253 http/tests/xmlhttprequest/svg-created-by-xhr-disallowed-in-dashboard.html 2254 http/tests/xmlhttprequest/upload-onload-event.html 2255 http/tests/xmlhttprequest/upload-onprogress-event.html 2256 http/tests/xmlhttprequest/upload-progress-events.html 2257 http/tests/xmlhttprequest/xhr-onunload.html 2258 2259 # Tests that timed out 2260 http/tests/xmlhttprequest/XMLHttpRequestException.html 2261 http/tests/xmlhttprequest/connection-error-sync.html 2262 2263 # Crashing tests 2264 http/tests/xmlhttprequest/web-apps/002.html 2265 http/tests/xmlhttprequest/zero-length-response.html 2266 2267 # Tests that had stderr output 2268 http/tests/incremental/frame-focus-before-load.html 2269 http/tests/incremental/pause-in-script-element.pl 2270 http/tests/multipart/invalid-image-data-standalone.html 2271 http/tests/multipart/invalid-image-data.html 2272 http/tests/xmlhttprequest/abort-crash.html 2273 http/tests/xmlhttprequest/abort-should-cancel-load.html 2274 http/tests/xmlhttprequest/basic-auth.html 2275 http/tests/xmlhttprequest/close-window.html 2276 http/tests/xmlhttprequest/cookies.html 2277 http/tests/xmlhttprequest/default-content-type-dashboard.html 2278 http/tests/xmlhttprequest/web-apps/003.html 2279 http/tests/xmlhttprequest/web-apps/004.html 2280 2281 # Tests that had no expected results (probably new): 2282 http/tests/loading/simple-subframe.html 2283 http/tests/local/file-url-sent-as-referer.html 2284 http/tests/multipart/invalid-image-data-standalone.html 2285 http/tests/multipart/invalid-image-data.html 2286 http/tests/uri/css-href.php -
trunk/WebKit/gtk/ChangeLog
r41339 r41341 1 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org> 2 3 Reviewed by Holger Freyther. 4 5 [Gtk] get the HTTP layout tests going 6 https://bugs.webkit.org/show_bug.cgi?id=24259 7 8 Added API to get the response mime type from a frame. We need this 9 so we can decide if we need to dump the frame as text or its 10 render tree 11 12 * webkit/webkitprivate.h: 13 * webkit/webkitwebframe.cpp: 14 1 15 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org> 2 16 -
trunk/WebKit/gtk/webkit/webkitprivate.h
r41339 r41341 160 160 webkit_web_policy_decision_cancel (WebKitWebPolicyDecision* decision); 161 161 162 // FIXME: move this functionality into a 'WebKitWebDataSource' once implemented 163 WEBKIT_API gchar* 164 webkit_web_frame_get_response_mime_type(WebKitWebFrame* frame); 165 162 166 // FIXME: Move these to webkitwebframe.h once their API has been discussed. 163 167 -
trunk/WebKit/gtk/webkit/webkitwebframe.cpp
r41039 r41341 6 6 * Copyright (C) 2008 Collabora Ltd. 7 7 * Copyright (C) 2008 Nuanti Ltd. 8 * Copyright (C) 2009 Jan Alonzo <jmalonzo@gmail.com> 8 9 * 9 10 * This library is free software; you can redistribute it and/or … … 32 33 #include "AnimationController.h" 33 34 #include "CString.h" 35 #include "DocumentLoader.h" 34 36 #include "FrameLoader.h" 35 37 #include "FrameLoaderClientGtk.h" … … 718 720 } 719 721 720 } 722 gchar* webkit_web_frame_get_response_mime_type(WebKitWebFrame* frame) 723 { 724 Frame* coreFrame = core(frame); 725 DocumentLoader* docLoader = coreFrame->loader()->documentLoader(); 726 String mimeType = docLoader->responseMIMEType(); 727 return g_strdup(mimeType.utf8().data()); 728 } 729 730 } -
trunk/WebKitTools/ChangeLog
r41340 r41341 1 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org> 2 3 Reviewed by Holger Freyther. 4 5 [Gtk] get the HTTP layout tests going 6 https://bugs.webkit.org/show_bug.cgi?id=24259 7 8 Determine the frame's response and decide whether to dump as text 9 or the render tree 10 11 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12 (dump): 13 1 14 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org> 2 15 -
trunk/WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp
r41340 r41341 58 58 extern gchar* webkit_web_frame_dump_render_tree(WebKitWebFrame* frame); 59 59 extern void webkit_web_settings_add_extra_plugin_directory(WebKitWebView* view, const gchar* directory); 60 extern gchar* webkit_web_frame_get_response_mime_type(WebKitWebFrame* frame); 60 61 } 61 62 … … 223 224 { 224 225 invalidateAnyPreviousWaitToDumpWatchdog(); 226 227 bool dumpAsText = gLayoutTestController->dumpAsText(); 225 228 if (dumpTree) { 226 229 char* result = 0; 227 228 bool dumpAsText = gLayoutTestController->dumpAsText(); 229 // FIXME: Also dump text resuls as text. 230 gchar* responseMimeType = webkit_web_frame_get_response_mime_type(mainFrame); 231 232 dumpAsText = g_ascii_strcasecmp(responseMimeType, "text/plain"); 233 g_free(responseMimeType); 234 230 235 gLayoutTestController->setDumpAsText(dumpAsText); 231 236 if (gLayoutTestController->dumpAsText())
Note: See TracChangeset
for help on using the changeset viewer.