Bug 148596 - [Win] WebKit cannot load pages based on "file://" URLs
Summary: [Win] WebKit cannot load pages based on "file://" URLs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: PC All
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks: 148657
  Show dependency treegraph
 
Reported: 2015-08-28 15:50 PDT by Brent Fulgham
Modified: 2015-08-31 17:29 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.84 KB, patch)
2015-08-31 16:56 PDT, Brent Fulgham
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>