RESOLVED FIXED 76496
file:// doesn't work as base URL
https://bugs.webkit.org/show_bug.cgi?id=76496
Summary file:// doesn't work as base URL
Alexey Proskuryakov
Reported 2012-01-17 16:58:18 PST
KURL normalizes "file://" to "file:". When later used as a base URL, it's seen as a non-hierarchical one, making completion fail. This works fine in both IE and Firefox, as the URL is canonicalized to "file:///".
Attachments
proposed patch (8.13 KB, patch)
2012-01-17 17:26 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2012-01-17 17:26:56 PST
Created attachment 122847 [details] proposed patch
Alexey Proskuryakov
Comment 2 2012-01-18 10:42:17 PST
Alexey Proskuryakov
Comment 4 2012-01-18 12:12:39 PST
Looking. Strange, I updated results of two of these.
Alexey Proskuryakov
Comment 5 2012-01-18 12:20:36 PST
Thank you - update results in <http://trac.webkit.org/changeset/105307>. However, iframe-invalid-source-crash.html and bubble-drag-events.html appear to be broken on Qt because of a DumpRenderTree difference, where it dumps "file:///" as empty path instead of "/". I'll file a separate bug for this.
Note You need to log in before you can comment on or make changes to this bug.