[Webkit-unassigned] [Bug 56328] LayoutTests exercising filesystem: URIs should run over HTTP to avoid weirdness related to file: URLs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 15:57:52 PDT 2011


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


Adam Klein <adamk at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|LayoutTests/fast/filesystem |LayoutTests exercising
                   |/resolve-uri.html fails in  |filesystem: URIs should run
                   |Chromium, passes in DRT     |over HTTP to avoid
                   |                            |weirdness related to file:
                   |                            |URLs




--- Comment #8 from Adam Klein <adamk at chromium.org>  2011-03-14 15:57:52 PST ---
(In reply to comment #7)
> > The issue is that when we call SecurityOrigin::canRequest() in requestLocalFileSystemURI, URIs with trailing slashes are rejected.  This is due to SecurityOrigin::isLocal() being true for filesystem: URIs, 
> 
> ^^^  That's the bug.  SecurityOrigin::isLocal() should not be true for filesystem: URIs.

Okay, so sounds like the right thing to do is move all these tests under LayoutTests/http to make them behave like they do in the "real world" (that is, in Chrome without the --allow-file-access-from-files flag).  Retitling appropriately.

-- 
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