Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / blob-slice-test.html
blobe6a2989ecb135037de8c7ecefb1b7e4216db0afc
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/blob-slice-common.js"></script>
6 <script>
7 description("Test Blob.slice().");
9 var sliceTestCases = [
10 [2, 3, "2"],
11 [2, 12, "23456789"],
12 [2, 2, ""],
13 [2, 1, ""],
14 [2, -12, ""],
15 [2, 2147483647, "23456789"],
16 [2, -2147483648, ""],
17 [2, 9223372036854775000, "23456789"],
18 [2, -9223372036854775000, ""],
19 [-2, -1, "8"],
20 [-2, -2, ""],
21 [-2, -3, ""],
22 [-2, -12, ""],
23 [-2, 2147483647, "89"],
24 [-2, -2147483648, ""],
25 [-2, 9223372036854775000, "89"],
26 [-2, -9223372036854775000, ""],
27 [0, null, "0123456789"],
28 [2, null, "23456789"],
29 [-2, null, "89"],
30 [12, null, ""],
31 [-12, null, "0123456789"],
32 [2147483647, null, ""],
33 [-2147483648, null, "0123456789"],
34 [9223372036854775000, null, ""],
35 [-9223372036854775000, null, "0123456789"],
36 [null, null, "0123456789"],
39 function runTests()
41 blob = new Blob(["0123456789"]);
42 file = new File(["0123456789"], "slice-test.txt");
44 runNextTest();
47 window.jsTestIsAsync = true;
48 </script>
49 </head>
50 <body onload="runTests()">
51 <pre id='console'></pre>
52 </body>
53 </html>