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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27276</bug_id>
          
          <creation_ts>2014-11-07 17:53:30 +0000</creation_ts>
          <short_desc>Ensure importScripts(&quot;http://... 404 error ...&quot;) is clearly defined</short_desc>
          <delta_ts>2015-09-22 06:55:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#importing-scripts-and-libraries</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114670</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-11-07 17:53:30 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/workers.html
Multipage: https://html.spec.whatwg.org/multipage/#importing-scripts-and-libraries
Complete: https://html.spec.whatwg.org/#importing-scripts-and-libraries
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
Ensure importScripts(&quot;http://... 404 error ...&quot;) is clearly defined

Posted from: 91.182.51.213 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114673</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-11-07 17:54:53 +0000</bug_when>
    <thetext>http://www.w3c-test.org/workers/WorkerGlobalScope_importScripts_NetworkErr.htm tests for a NetworkError.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116861</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-01-06 23:58:30 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8874.
Check-in comment: Clarify what &apos;failed&apos; means in importScripts().
https://html5.org/tools/web-apps-tracker?from=8873&amp;to=8874</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116883</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-01-07 08:51:12 +0000</bug_when>
    <thetext>That&apos;s almost certainly not what&apos;s implemented though. HTTP 404 error is executed for scripts. Only actual network errors cause failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116930</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-01-08 18:45:16 +0000</bug_when>
    <thetext>We should fix that for importScripts(), unless someone relies on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116944</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-01-09 06:27:16 +0000</bug_when>
    <thetext>Why? What&apos;s the advantage? And what set of status codes should we accept instead post-redirect? 200-299?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116979</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-01-09 23:35:06 +0000</bug_when>
    <thetext>The advantage is just to reduce the amount of script that gets executed when the author isn&apos;t expecting script to be executed. Just like honouring MIME types or magic signatures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123270</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-22 06:55:52 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/pull/166</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>