<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>156180</bug_id>
          
          <creation_ts>2016-04-04 13:41:52 -0700</creation_ts>
          <short_desc>[Mac][iOS][NETWORK_SESSION] Unable to download BLOB URLs</short_desc>
          <delta_ts>2016-09-24 19:09:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>156099</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>156099</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>adam</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>chrisjshull</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1180475</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-04-04 13:41:52 -0700</bug_when>
    <thetext>When WebKit is build using NETWORK_SESSION, it is not possible to download BLOB URLs.

Steps to reproduce:

1. Open the attached test case &quot;blob_download_test.html&quot;.
2. Right-click on the &quot;WebKit Icon&quot; 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 &quot;Silly Blob Example&quot; link and download to a file.
6. Save the file somewhere.
7. Nothing happens!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180480</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-04-04 13:45:57 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180481</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-04-04 13:46:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/25536266&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180856</commentid>
    <comment_count>3</comment_count>
      <attachid>275673</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-04-05 10:06:18 -0700</bug_when>
    <thetext>Created attachment 275673
Simple blob test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191195</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-05-09 09:28:42 -0700</bug_when>
    <thetext>Does this work without using NETWORK_SESSION?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1233179</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-09-24 19:09:20 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 156099 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>275673</attachid>
            <date>2016-04-05 10:06:18 -0700</date>
            <delta_ts>2016-04-05 10:06:18 -0700</delta_ts>
            <desc>Simple blob test case</desc>
            <filename>blob_download_test.html</filename>
            <type>text/html</type>
            <size>596</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxzY3JpcHQ+CiAgICBmdW5jdGlvbiBz
ZXR1cCgpCiAgICB7CiAgICAgICAgdmFyIGJsb2IgPSBuZXcgQmxvYihbIkhlbGxvIHdvcmxkISJd
LCB7dHlwZTogInRleHQvcGxhaW4ifSk7CiAgICAgICAgdmFyIGxpbmsgPSBkb2N1bWVudC5nZXRF
bGVtZW50QnlJZCgiZGwiKTsKICAgICAgICBsaW5rLmhyZWYgPSB3aW5kb3cuVVJMLmNyZWF0ZU9i
amVjdFVSTChibG9iKTsKICAgIH0KICAgIDwvc2NyaXB0Pgo8L2hlYWQ+Cjxib2R5IG9ubG9hZD0i
c2V0dXAoKSI+CiAgICA8aDE+SFRNTDUgRG93bmxvYWQgQXR0cmlidXRlPC9oMT4KICAgIDxwPlRo
ZSBhY3R1YWwgZmlsZSBuYW1lIGlzIGxvbmcgYW5kIGNvbXBsaWNhdGVkLiBVc2luZyB0aGUgZG93
bmxvYWQgYXR0cmlidXRlLCBpdCB3aWxsIGRvd25sb2FkIGFzICJzaW1wbGUudHh0Ii48L3A+Cgk8
cD48YSBocmVmPSJodHRwOi8vd2Via2l0Lm9yZy9pbWFnZXMvaWNvbi1nb2xkLnBuZyI+V2ViS2l0
IEljb248L2E+PC9wPgogICAgPHA+PGEgaWQ9ImRsIj5TaWxseSBCbG9iIEV4YW1wbGU8L2E+PC9w
Pgo8L2Rpdj4KPC9ib2R5Pgo8L2h0bWw+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>