Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / not-enough-arguments.html
blob883b5a4c1b51b2a98084d0530c7b322c91026d65
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script src="resources/fs-test-util.js"></script>
5 </head>
6 <body>
7 <input type="file">
8 <script>
9 description('This test tries calling various FileAPI functions with too few arguments.');
11 var reader = new FileReader();
13 shouldThrow('reader.readAsArrayBuffer()');
14 shouldThrow('reader.readAsBinaryString()');
15 shouldThrow('reader.readAsText()');
16 shouldThrow('reader.readAsDataURL()');
18 var fileInput = document.getElementsByTagName('input')[0];
20 shouldThrow('fileInput.files.item()');
21 </script>
22 </body>
23 </html>