[Webkit-unassigned] [Bug 49018] [GTK] response.isNull() assert when using directory file URI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 23 23:27:48 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49018





--- Comment #35 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk>  2010-11-23 23:27:48 PST ---
(In reply to comment #34)
> Maybe this test should be a platform-specific test in platform/gtk. Does it rely on some behavior specific to soup?

Actually the full story is that the iframe content is not dumped by DRT, which is nice because it makes the result browser agnostic as long as all browser supports listing local directory.

One note though, I just realized that WebKit's default security policy is way too excessive with local file. I ran the test in stock Chrome and Epiphany and realized that it actually fails, but pass in GTK's DRT. The javascript operation required to check that the load succeeded get blocked because it pretends that file:/// and file:///mydir is not in the same domain/port. But as we mostly share the same settings for DRT I would be surprise this is the root cause of this failure. Would still be nice to find if there is any rational for this behavior (that we don't see on Opera and Firefox, need to file a bug I guess).

As you said, we could make this GTK only, that would work, but I kind of liked the idea that directory listing in general had at least one test. Will look into this tomorrow. 

Thanks for your time.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list