<?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>46380</bug_id>
          
          <creation_ts>2010-09-23 11:49:50 -0700</creation_ts>
          <short_desc>REGRESSION: Crash when downloading a file</short_desc>
          <delta_ts>2010-09-27 19:59:32 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jonah</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>6a6eb32ax4</cc>
    
    <cc>ap</cc>
    
    <cc>c.petersen87</cc>
    
    <cc>cybero</cc>
    
    <cc>darin</cc>
    
    <cc>dimitris.apostolou</cc>
    
    <cc>kevin</cc>
    
    <cc>knavia</cc>
    
    <cc>lejo</cc>
    
    <cc>skepticus</cc>
    
    <cc>smkolins</cc>
    
    <cc>svetloslav</cc>
    
    <cc>x11</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>283805</commentid>
    <comment_count>0</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-23 11:49:50 -0700</bug_when>
    <thetext>On attempting to open a resource with a &quot;Content-Disposition&quot; header set to &quot;attachment&quot; in the latest nightly build I see a &quot;Failed to load resource&quot; error in the browser&apos;s console. In many cases I am still able to download the attachment (see http://trac.webkit.org/raw-attachment/wiki/QtWebKit/CodeCamp200912/ARM-JIT.pdf as an example) however the error appears to halt any javascript running on the page which can break page behavior any time a user clicks on an attachment link.

This behaviors appears to be consistent on the webkit nightly (r68077) and the current chromium nightly (60289).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284010</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-23 15:15:23 -0700</bug_when>
    <thetext>Could you please provide steps to reproduce this problem? What sites are you seeing it on?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284043</commentid>
    <comment_count>2</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-23 15:39:11 -0700</bug_when>
    <thetext>Reproduction:

1. Open developer console.
2. Run the following Javascript to demonstrate a recurring event:
`x = setInterval(function() {console.log(new Date())}, 1000);` 
3. Load http://trac.webkit.org/raw-attachment/wiki/QtWebKit/CodeCamp200912/ARM-JIT.pdf
4. Note &quot;Failed to load resource&quot; error in console, javascript has stopped and no longer logs times to the console.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284062</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-23 16:05:03 -0700</bug_when>
    <thetext>The latest nightly crashes for me when following these steps. Either way, it&apos;s no good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284087</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-23 16:39:57 -0700</bug_when>
    <thetext>I don&apos;t understand how this could not crash for you. Are you perhaps running Safari in 32-bit mode?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284099</commentid>
    <comment_count>5</comment_count>
      <attachid>68619</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-23 16:46:19 -0700</bug_when>
    <thetext>Created attachment 68619
proposed fix

As mysterious as it is, let&apos;s at least fix the crasher, and see if that magically helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284265</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 00:09:13 -0700</bug_when>
    <thetext>*** Bug 46438 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284268</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 00:09:23 -0700</bug_when>
    <thetext>*** Bug 46441 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284452</commentid>
    <comment_count>8</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-24 09:53:51 -0700</bug_when>
    <thetext>In case it&apos;s any help, I can reproduce the issue as described above in Chrome 6.0.472.63 and Safari 5.0.2 (6533.18.5).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284473</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 10:10:02 -0700</bug_when>
    <thetext>OK, that explains the mystery - I&apos;m fixing a completely different issue, not what you reported.

But I definitely cannot reproduce this in Safari 5.0.2. Here is what I&apos;ve been doing:

1. Open a new Safari window.
2. Type &quot;about:blank&quot; (no quote marks) into address bar, press enter.
3. Press Cmd+Shift+C to open Web Inspector.
4. Run the following Javascript in Web Inspector console:
x = setInterval(function() {console.log(new Date())}, 1000);
5. Paste &quot;http://trac.webkit.org/raw-attachment/wiki/QtWebKit/CodeCamp200912/ARM-JIT.pdf&quot; into address bar (over &quot;about:blank&quot;)

There is a &quot;failed to load resource&quot; error in console, but the timer keeps running.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284477</commentid>
    <comment_count>10</comment_count>
      <attachid>68619</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-09-24 10:14:01 -0700</bug_when>
    <thetext>Comment on attachment 68619
proposed fix

Thank you for fixing this regression I just caused!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284484</commentid>
    <comment_count>11</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 10:20:02 -0700</bug_when>
    <thetext>Fixed in &lt;http://trac.webkit.org/changeset/68266&gt;.

I&apos;m sorry for pre-empting this bug report to fix a completely different issue. I think that it makes most sense to close this bug now, and to file a new one for the issue you are seeing.

Could you please file it? I&apos;m still unable to reproduce the problem, so some more detail would help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284520</commentid>
    <comment_count>12</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-24 10:42:13 -0700</bug_when>
    <thetext>Sorry Alexey, looks like I got my test outputs confused, you&apos;re correct that Safari 5.0.2 reports &quot;Failed to load resource: Frame load interrupted&quot; and continues to fire javascript timers as expected.
I&apos;ll repeat my test with more detail and open a new bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284587</commentid>
    <comment_count>13</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-24 11:43:03 -0700</bug_when>
    <thetext>Re-created as https://bugs.webkit.org/show_bug.cgi?id=46491</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284780</commentid>
    <comment_count>14</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2010-09-24 15:40:14 -0700</bug_when>
    <thetext>*** Bug 46508 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285060</commentid>
    <comment_count>15</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-25 16:05:29 -0700</bug_when>
    <thetext>*** Bug 46507 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285063</commentid>
    <comment_count>16</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-25 16:16:27 -0700</bug_when>
    <thetext>*** Bug 46549 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285065</commentid>
    <comment_count>17</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-25 16:18:56 -0700</bug_when>
    <thetext>*** Bug 46568 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285099</commentid>
    <comment_count>18</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-26 00:42:53 -0700</bug_when>
    <thetext>*** Bug 46575 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285227</commentid>
    <comment_count>19</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-26 18:20:18 -0700</bug_when>
    <thetext>*** Bug 46569 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285544</commentid>
    <comment_count>20</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-27 10:36:26 -0700</bug_when>
    <thetext>*** Bug 46577 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285546</commentid>
    <comment_count>21</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-27 10:36:43 -0700</bug_when>
    <thetext>*** Bug 46620 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285592</commentid>
    <comment_count>22</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-27 11:12:47 -0700</bug_when>
    <thetext>*** Bug 46569 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>285605</commentid>
    <comment_count>23</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-27 11:19:56 -0700</bug_when>
    <thetext>*** Bug 46574 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286024</commentid>
    <comment_count>24</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-27 19:59:32 -0700</bug_when>
    <thetext>*** Bug 46661 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>68619</attachid>
            <date>2010-09-23 16:46:19 -0700</date>
            <delta_ts>2010-09-24 10:14:01 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>NullReferer.txt</filename>
            <type>text/plain</type>
            <size>1848</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9tYWMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9tYWMvQ2hh
bmdlTG9nCShyZXZpc2lvbiA2ODIxNCkKKysrIFdlYktpdC9tYWMvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTkgQEAKKzIwMTAtMDktMjMgIEFsZXhleSBQcm9za3VyeWFrb3Yg
IDxhcEBhcHBsZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisK
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ2MzgwCisg
ICAgICAgIFJFR1JFU1NJT046ICdGYWlsZWQgdG8gbG9hZCByZXNvdXJjZScgb24gb3BlbmluZyBy
ZXNvdXJjZSB3aXRoIGNvbnRlbnQtZGlzcG9zaXRpb24gImF0dGFjaG1lbnQiCisKKyAgICAgICAg
SSBjb3VsZCBuZXZlciByZXByb2R1Y2UgdGhpcyBpbiB0aGUgZm9ybSBkZXNjcmliZWQgYnkgdGhl
IHJlcG9ydGVyLiBJIHdhcyBnZXR0aW5nIGEgY3Jhc2gKKyAgICAgICAgd2hlbiBmb2xsb3dpbmcg
cH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xTdHJpbmcpOwotICAgIGluZm8tPnJlZmVycmVyID0gQ0ZTdHJpbmdDcmVh
dGVDb3B5KDAsIChDRlN0cmluZ1JlZilyZWZlcnJlcik7Ci0gICAgaW5mby0+cGF0aCA9IENGU3Ry
aW5nQ3JlYXRlQ29weSgwLCAoQ0ZTdHJpbmdSZWYpcGF0aCk7CisgICAgaW5mby0+VVJMU3RyaW5n
ID0gVVJMU3RyaW5nID8gQ0ZTdHJpbmdDcmVhdGVDb3B5KDAsIChDRlN0cmluZ1JlZilVUkxTdHJp
bmcpIDogMDsKKyAgICBpbmZvLT5yZWZlcnJlciA9IHJlZmVycmVyID8gQ0ZTdHJpbmdDcmVhdGVD
b3B5KDAsIChDRlN0cmluZ1JlZilyZWZlcnJlcikgOiAwOworICAgIGluZm8tPnBhdGggPSBwYXRo
ID8gQ0ZTdHJpbmdDcmVhdGVDb3B5KDAsIChDRlN0cmluZ1JlZilwYXRoKSA6IDA7CiAKICAgICBw
dGhyZWFkX2NyZWF0ZSgmdGlkLCAmYXR0ciwgc2V0TWV0YURhdGEsIGluZm8pOwogICAgIHB0aHJl
YWRfYXR0cl9kZXN0cm95KCZhdHRyKTsK
</data>
<flag name="review"
          id="58172"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>