Bug 148598 - [Win] File-based URL's cause the ParsedURLStringTag constructor to ASSERT
Summary: [Win] File-based URL's cause the ParsedURLStringTag constructor to ASSERT
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 15:54 PDT by Brent Fulgham
Modified: 2015-08-31 17:27 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-08-28 15:54:31 PDT
If you create a URL from a Windows file path (e.g., "C:/Some/Test/URL.html"), the Cache logic will eventually call the URL constructor that takes a ParsedURLStringTag argument. This constructor asserts that the URL created by the string matches the internal string representation.

This turns out to be false on Windows, because the URL parsing logic skips the colon in the "C:/Some/Test" and changes it to "C/Some/Test", which does not match.
Comment 1 Brent Fulgham 2015-08-28 17:17:04 PDT
It looks like this happens in DumpRenderTree, but not MiniBrowser.
Comment 2 Brent Fulgham 2015-08-31 17:27:42 PDT
This issue has nothing to do with the URL implementation. It's a bug in a platform library.