[webkit-dev] Quick Look at Gtk+ test failures

Gustavo Noronha gns at gnome.org
Tue Feb 17 06:08:15 PST 2009


Yo!

On Tue, 2009-02-17 at 01:05 +0100, Holger Freyther wrote:
> I just had a quick look at the dom/svg test failures (actually one result) and 
> my first idea is that we transmit the wrong mimetype for the GIO based local 
> file handling.
> 
> I plan to find some time to tomorrow...

Thought it might help:

I tested LayoutTests/dom/svg/level3/xpath/XPathResult_stringValue.svg
here by putting the files available through my HTTP server and adding a
g_warning call to print the contentType in soup and GIO handlings. This
is what I got for the file:/// access:

** (lt-GtkLauncher:20591): WARNING **: GIO MimeType: image/svg+xml
** (lt-GtkLauncher:20591): WARNING **: GIO MimeType: application/javascript
** (lt-GtkLauncher:20591): WARNING **: GIO MimeType: application/javascript

And for the http:// one:

** (lt-GtkLauncher:20472): WARNING **: Soup MimeType: image/svg+xml
** (lt-GtkLauncher:20472): WARNING **: Processed Soup MimeType: image/svg+xml
** (lt-GtkLauncher:20472): WARNING **: Soup MimeType: application/javascript
** (lt-GtkLauncher:20472): WARNING **: Processed Soup MimeType: application/javascript
** (lt-GtkLauncher:20472): WARNING **: Soup MimeType: application/javascript
** (lt-GtkLauncher:20472): WARNING **: Processed Soup MimeType: application/javascript

Soup has two because it doesn't use the content type it gets from the
message, but the one it gets from feeding it to a WebCore call. Looking
at the SVG file in my HTTP server through the launcher I also see the
test failure.

Thanks!

-- 
Gustavo Noronha <gns at gnome.org>
GNOME contributor



More information about the webkit-dev mailing list