Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / workers / worker-read-blob-async.html
blob324b7fe17685308fad3222891f0413146504ec48
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <input type="file" name="file" id="file" onchange="onInputFileChange(testFileInfoList)" multiple>
5 <pre id='console'></pre>
7 <script src="../resources/setup-for-read-common.js"></script>
8 <script>
9 var testFileInfoList = [
10 { 'name': 'non-existent', 'path': '../resources/non-existent' },
11 { 'name': 'empty-file', 'path': '../resources/empty-file' },
12 { 'name': 'file1', 'path': '../resources/UTF8.txt' },
13 { 'name': 'file2', 'path': '../resources/UTF8-2.txt' },
14 { 'name': 'file3', 'path': '../resources/UTF8-3.txt' },
17 function startTest(testFiles)
19 startWorker(testFiles, "resources/worker-read-blob-async.js");
22 if (window.eventSender) {
23 testRunner.dumpAsText();
24 testRunner.waitUntilDone();
25 window.onload = function() { runTests(testFileInfoList); }
27 </script>
28 </body>
29 </html>