[Webkit-unassigned] [Bug 12784] Allow loading file:// resources that have no referrer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 15 22:48:00 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12784





------- Comment #3 from kkowalczyk at gmail.com  2007-02-15 22:48 PDT -------
This code has been added with change
http://trac.webkit.org/projects/webkit/changeset/18635 when mac-only code was
made cross-platform.

Is it incorrect to expect Frame::loader()::load(url) to work when url is
file:// ? If yes, what is recommended way to load file:// url when all I have
is Frame?

Looking at canLoad() logic I see no justification for refusing loading file://
requests that don't have file:// referrer because it seems like a valid
scenario. How would I load that first file:// url?

I could fake the referrer just to satisfy canLoad(). This is what
FrameLoader::begin() seem to be doing by setting m_outgoingReferrer to the copy
of the url, but that doesn't sound like the right solution.


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



More information about the webkit-unassigned mailing list