<?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>13255</bug_id>
          
          <creation_ts>2011-07-14 17:11:57 +0000</creation_ts>
          <short_desc>When I use importScripts in my worker to load a separate &quot;library&quot; file, it works, but I get the error:  ReferenceError: Can&apos;t find variable: importScripts (Safari) Uncaught ReferenceError: importScripts is not defined So it&apos;s throwing an error, but that</short_desc>
          <delta_ts>2011-08-08 20:11:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Web Workers (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>travil</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51037</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-07-14 17:11:57 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/workers/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
When I use importScripts in my worker to load a separate &quot;library&quot; file, it
works, but I get the error: 

ReferenceError: Can&apos;t find variable: importScripts (Safari)
Uncaught ReferenceError: importScripts is not defined

So it&apos;s throwing an error, but that error clearly isn&apos;t fatal, and
importScripts *is* working. Can you elaborate on what this error might be, and
how to prevent it, or is it a bug in the way that Chrome and Safari have
implemented it?

Posted from: 174.21.143.105
User agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51497</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2011-07-26 17:58:12 +0000</bug_when>
    <thetext>I don&apos;t believe this is a spec bug.

ReferenceError is a JavaScript error, not a DOM error. It probably means the URL you provided had a problem.

Recommend resolving this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54394</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-08 20:11:18 +0000</bug_when>
    <thetext>Can&apos;t do much without a test case showing the problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>