<?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>46491</bug_id>
          
          <creation_ts>2010-09-24 11:41:57 -0700</creation_ts>
          <short_desc>Web Inspector: &quot;Failed to load resource&quot; errors on opening resources with content-disposition: &quot;attachment&quot;</short_desc>
          <delta_ts>2026-01-12 09:01:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jonah</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>edwardjsabol</cc>
    
    <cc>graouts</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>jonowells</cc>
    
    <cc>manday</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>ojab</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>284585</commentid>
    <comment_count>0</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-09-24 11:41:57 -0700</bug_when>
    <thetext>In attempting to load resources with &quot;Content-Disposition&quot; header set to &quot;attachment&quot; I&apos;m seeing a &quot;Failed to load resource&quot; error in the console.

Reproduction:

1. Open a new window/tab
2. Open the console
3. Paste a link to a file attachment into the address bar (http://trac.webkit.org/raw-attachment/wiki/QtWebKit/CodeCamp200912/ARM-JIT.pdf for example)
4. Note an error in the console;
    &quot;Failed to load resource&quot; in Chrome 6.0.472.63
    &quot;Failed to load resource: Frame load interrupted&quot; in Safari Version 5.0.2 (6533.18.5)

Unable to test on latest webkit nightly due to https://bugs.webkit.org/show_bug.cgi?id=46380

I first noticed this because javascript running on the page would halt when a user triggered the &quot;Failed to load resource&quot; error. I&apos;ll try to put together a reliable reproduction of that behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284612</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-24 12:16:43 -0700</bug_when>
    <thetext>&gt; I first noticed this because javascript running on the page would halt

That might happen if one clicks on a link that results in file downloading. I think that we may have a bug about that already, but anyway, let&apos;s keep this bug solely tracking the misleading message in Web Inspector console. Please feel free to file a new bug about timers being halted, and I&apos;ll try to hunt down the duplicate later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289169</commentid>
    <comment_count>2</comment_count>
    <who name="">jonah</who>
    <bug_when>2010-10-04 14:52:31 -0700</bug_when>
    <thetext>I think I&apos;ve narrowed down the js behavior I was seeing in relation to this bug. I have download links which trigger the &quot;failed to load resource&quot; error message. These links hava javascript onclick handlers which trigger a setTimeout timer which in turn triggers an ajax request. I believe an ajax request in flight when the &quot;failed to load resource&quot; error is triggered will be canceled. I&apos;ll see if I can reduce this to a simplified example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>995903</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-03-31 09:58:12 -0700</bug_when>
    <thetext>*** Bug 72357 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>995907</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2014-03-31 10:10:52 -0700</bug_when>
    <thetext>&lt;rdar://problem/12743141&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1010472</commentid>
    <comment_count>5</comment_count>
    <who name="ojab">ojab</who>
    <bug_when>2014-05-20 06:22:58 -0700</bug_when>
    <thetext>JFYI: this happens in Ruby on Rails applications with turbolinks enabled (which is the default since RoR 4.0) when downloading attachments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>