[Webkit-unassigned] [Bug 56328] LayoutTests/fast/filesystem/resolve-uri.html fails in Chromium, passes in DRT
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 14 15:23:25 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56328
Adam Klein <adamk at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |abarth at webkit.org
--- Comment #4 from Adam Klein <adamk at chromium.org> 2011-03-14 15:23:25 PST ---
And finally, the culprit, in SecurityOrigin's constructor:
101 // By default, only local SecurityOrigins can load local resources.
102 m_canLoadLocalResources = isLocal();
103 if (m_canLoadLocalResources) {
104 // Directories should never be readable.
105 if (!url.hasPath() || url.path().endsWith("/"))
106 m_isUnique = true;
107 // Store the path in case we are doing per-file origin checking.
108 m_filePath = url.path();
109 }
Note the url.path().endsWith("/") check. Not sure the best way to work around this, will need to think about this. CCing Adam Barth (though I suspect I'll need to chat with him to provide sufficient context).
--
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