4 <script src=
"../../resources/js-test.js"></script>
5 <script src=
"resources/blob-slice-common.js"></script>
7 description("Test Blob.slice().");
15 [2, 2147483647, "23456789"],
17 [2, 9223372036854775000, "23456789"],
18 [2, -9223372036854775000, ""],
23 [-2, 2147483647, "89"],
24 [-2, -2147483648, ""],
25 [-2, 9223372036854775000, "89"],
26 [-2, -9223372036854775000, ""],
27 [0, null, "0123456789"],
28 [2, null, "23456789"],
31 [-12, null, "0123456789"],
32 [2147483647, null, ""],
33 [-2147483648, null, "0123456789"],
34 [9223372036854775000, null, ""],
35 [-9223372036854775000, null, "0123456789"],
36 [null, null, "0123456789"],
41 blob
= new Blob(["0123456789"]);
42 file
= new File(["0123456789"], "slice-test.txt");
47 window
.jsTestIsAsync
= true;
50 <body onload=
"runTests()">
51 <pre id='console'
></pre>