title: jquery file uploading error
body: <p>I am using a jquery plugin for uploading contents. This plugin use File api.
  when i use chrome there is an error show that</p>
  
  <pre><code>   Uncaught TypeError: Object #&lt;File&gt; has no method 'webkitSlice'.
  </code></pre>
  
  <p>here is the error present</p>
  
  <pre><code>    /**
   * Return the proper slice (packet)
   * @param {Number} packetId 
   * @returns {Blob} Returns a new Blob object containing the data in the specified range of bytes
   */
  function getPacket(packetId){
  
      var startByte = packetId  * self.packetSize,
      endByte = startByte+self.packetSize,
      packet;
  
      if ('mozSlice' in self.file) {
          // mozilla
          packet = self.file.mozSlice(startByte, endByte);
      } else {
          // webkit
          packet = self.file.webkitSlice(startByte, endByte); // here
      }
      return packet;
  }
  </code></pre>
  
  <p>if any one know about this please help me</p>