Bug 156180

Summary: [Mac][iOS][NETWORK_SESSION] Unable to download BLOB URLs
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: achristensen, adam, ap, bfulgham, cdumez, chrisjshull, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 156099    
Attachments:
Description Flags
Simple blob test case none

Description Brent Fulgham 2016-04-04 13:41:52 PDT
When WebKit is build using NETWORK_SESSION, it is not possible to download BLOB URLs.

Steps to reproduce:

1. Open the attached test case "blob_download_test.html".
2. Right-click on the "WebKit Icon" link and download to a file.
3. Save the file somewhere.
4. You get a copy of the old Gold WebKit icon in you download folder.
5. Right-click on the "Silly Blob Example" link and download to a file.
6. Save the file somewhere.
7. Nothing happens!
Comment 1 Brent Fulgham 2016-04-04 13:45:57 PDT
If you attach to the Network Process, you will see that the download fails:

NetworkLoad::didCompleteWithError.

The error object has a 0 error code, a nullptr PlatformError, and a blank failing URL.
Comment 2 Radar WebKit Bug Importer 2016-04-04 13:46:50 PDT
<rdar://problem/25536266>
Comment 3 Brent Fulgham 2016-04-05 10:06:18 PDT
Created attachment 275673 [details]
Simple blob test case
Comment 4 Alex Christensen 2016-05-09 09:28:42 PDT
Does this work without using NETWORK_SESSION?
Comment 5 Chris Dumez 2016-09-24 19:09:20 PDT

*** This bug has been marked as a duplicate of bug 156099 ***