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

2009-02-17 Thread Holger Freyther
On Tuesday 17 February 2009 15:08:15 Gustavo Noronha wrote:
> 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:


Okay, some more work today...

void ResourceHandle::loadResourceSynchronously(const ResourceRequest&, 
ResourceError&, ResourceResponse&, Vector&, Frame*)
{
notImplemented();
}   


:)
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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

2009-02-17 Thread Gustavo Noronha
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 
GNOME contributor

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev