Bug 8688 - file URLs aren't being serialized correctly when using window.location
Summary: file URLs aren't being serialized correctly when using window.location
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: 420+
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 00:01 PDT by Anders Carlsson
Modified: 2006-05-02 00:17 PDT (History)
0 users

See Also:


Attachments
Fix (3.12 KB, patch)
2006-05-02 00:14 PDT, Anders Carlsson
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2006-05-02 00:01:20 PDT
window.location.href incorrectly serializes file URLs as "file:/path/to/file". The correct way to do this is "file:///path/to/file" which both Opera and Mozilla does on Mac. This prevents the XPath JSUnit tests from running correctly
Comment 1 Anders Carlsson 2006-05-02 00:14:51 PDT
Created attachment 8062 [details]
Fix
Comment 2 Dave Hyatt 2006-05-02 00:15:46 PDT
Comment on attachment 8062 [details]
Fix

r=me