tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

idlharness.any.js (399B)


      1 // META: script=/resources/WebIDLParser.js
      2 // META: script=/resources/idlharness.js
      3 // META: timeout=long
      4 
      5 'use strict';
      6 
      7 // https://w3c.github.io/FileAPI/
      8 
      9 idl_test(
     10  ['FileAPI'],
     11  ['dom', 'html', 'url'],
     12  idl_array => {
     13    idl_array.add_objects({
     14      Blob: ['new Blob(["TEST"])'],
     15      File: ['new File(["myFileBits"], "myFileName")'],
     16      FileReader: ['new FileReader()']
     17    });
     18  }
     19 );