Bug 148596

Summary: [Win] WebKit cannot load pages based on "file://" URLs
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=148598
Bug Depends on:    
Bug Blocks: 148657    
Attachments:
Description Flags
Patch dino: review+

Description Brent Fulgham 2015-08-28 15:50:19 PDT
The Apple Windows implementation is not able to load ResourceRequest objects that were created using "file://" URLs. This was happening because CFNetwork does not determine the MIME type of a file URL, and our CFNetwork backend would set a default MIME Type of "application/octet-stream", which would then be rejected by our loading logic.
Comment 1 Brent Fulgham 2015-08-28 15:54:52 PDT
Resolving this bug revealed another issue related to the URL class. This is documented under Bug 148598.
Comment 2 Brent Fulgham 2015-08-31 15:57:42 PDT
<rdar://problem/22432585>
Comment 3 Brent Fulgham 2015-08-31 16:56:35 PDT
Created attachment 260331 [details]
Patch
Comment 4 Brent Fulgham 2015-08-31 17:29:43 PDT
Committed r189200: <http://trac.webkit.org/changeset/189200>