title: How to use window.requestFileSystem of FileSystem API?
body: <p>I have written below code in javascript:</p>
  
  <p>javascript code:</p>
  
  <pre><code>var fs=null;
  
          function initFS() {
              window.requestFileSystem =window.requestFileSystem || window.webkitRequestFileSystem;
                 window.requestFileSystem (window.TEMPORARY, 1024 * 1024, function (filesystem) {
                  fs = filesystem;
              }, errorHandler);
          }
  </code></pre>
  
  <p>html code:</p>
  
  <pre><code>&lt;input type="button"  id="button2" name="click" value="show" onclick="initFS();" /&gt;
  </code></pre>
  
  <p>but after clicking on show button in <code>initFS function</code>, after line <code>window.requestFileSystem (window.TEMPORARY, 1024 * 1024, function (filesystem) {</code><br>
  it is showing error as "uncaught type error". Is there  any mistake in my code?</p>