title: Code Working Fine on jsFiddle but not on Local System
body: <p>This code is working fine on jsFiddle but not on my system.
  <a href="http://jsfiddle.net/saurabh_saxena/NYm8G/1/" rel="nofollow">JsFiddle</a></p>
  
  <p>I have checked from the draft (Pressing Ctrl + Shift + Enter on jsFiddle), added this code to head section &amp; modified like below:</p>
  
  <pre><code>window.addEvent('load', function() {
      window.webkitRequestFileSystem(window.TEMPORARY, 2*1024*1024, function(fs) {
          fs.root.getFile('test', {create: true}, function(fileEntry) {
              alert(fileEntry.toURL());
              fileEntry.createWriter(function(fileWriter) {
                  var builder = new WebKitBlobBuilder();
                  builder.append("Saurabh");
                  builder.append("\n");
                  builder.append("Saxena");
  
                  var blob = builder.getBlob('text/plain');
  
                  fileWriter.onwriteend = function() {
                      // navigate to file, will download
                      location.href = fileEntry.toURL();
                  };
                  fileWriter.write(blob);
              }, function() {});
          }, function() {});
      }, function() {});
  });
  </code></pre>