Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/FileAPI/idlharness.worker.js

Issue 1991603002: Move the FileAPI directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move platform-specific expectations for FileAPI Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 importScripts("/resources/testharness.js"); 1 importScripts("/resources/testharness.js");
2 importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js"); 2 importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
3 3
4 var request = new XMLHttpRequest(); 4 var request = new XMLHttpRequest();
5 request.open("GET", "idlharness.idl"); 5 request.open("GET", "idlharness.idl");
6 request.send(); 6 request.send();
7 request.onload = function() { 7 request.onload = function() {
8 var idl_array = new IdlArray(); 8 var idl_array = new IdlArray();
9 var idls = request.responseText; 9 var idls = request.responseText;
10 10
(...skipping 25 matching lines...) Expand all
36 idl_array.add_objects({ 36 idl_array.add_objects({
37 Blob: ['new Blob(["TEST"])'], 37 Blob: ['new Blob(["TEST"])'],
38 File: ['new File(["myFileBits"], "myFileName")'], 38 File: ['new File(["myFileBits"], "myFileName")'],
39 FileReader: ['new FileReader()'], 39 FileReader: ['new FileReader()'],
40 FileReaderSync: ['new FileReaderSync()'] 40 FileReaderSync: ['new FileReaderSync()']
41 }); 41 });
42 42
43 idl_array.test(); 43 idl_array.test();
44 done(); 44 done();
45 }; 45 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698