Bug 76496

Summary: file:// doesn't work as base URL
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: PlatformAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 76563, 76619, 76631, 76653    
Bug Blocks:    
Attachments:
Description Flags
proposed patch darin: review+

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.