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