Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / workers / worker-read-file-sync.html
blob106eba44526668dc13328df1ddb12800e7615d41
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': 'UTF8-file', 'path': '../resources/UTF8.txt' },
13 { 'name': 'UTF16BE-BOM-file', 'path': '../resources/UTF16BE-BOM.txt' },
14 { 'name': 'UTF16LE-BOM-file', 'path': '../resources/UTF16LE-BOM.txt' },
15 { 'name': 'UTF8-BOM-file', 'path': '../resources/UTF8-BOM.txt' },
16 { 'name': 'UTF16BE-file', 'path': '../resources/UTF16BE.txt' },
17 { 'name': 'binary-file', 'path': '../resources/binary-file' },
20 function startTest(testFiles)
22 startWorker(testFiles, "resources/worker-read-file-sync.js");
25 if (window.eventSender) {
26 testRunner.dumpAsText();
27 testRunner.waitUntilDone();
28 window.onload = function() { runTests(testFileInfoList); }
30 </script>
31 </body>
32 </html>