Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: LayoutTests/fast/files/blob-parts-slice-test.html

Issue 57483002: Implement File constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Answered feedback, part 2. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="resources/blob-slice-common.js"></script>
5 <script>
6 var sliceParams = [
7 [2, 3],
8 [2, 12],
9 [2, 2],
10 [2, 1],
11 [2, -12],
12 [2, 2147483647],
13 [2, -2147483648],
14 [2, 9223372036854775000],
15 [2, -9223372036854775000],
16 [-2, -1],
17 [-2, -2],
18 [-2, -3],
19 [-2, -12],
20 [-2, 2147483647],
21 [-2, -2147483648],
22 [-2, 9223372036854775000],
23 [-2, -9223372036854775000],
24 [0],
25 [2],
26 [-2],
27 [12],
28 [-12],
29 [2147483647],
30 [-2147483648],
31 [9223372036854775000],
32 [-9223372036854775000],
33 [],
34 ];
35
36 function runTests()
37 {
38 blob = new Blob(["0", new File(["12"], "slice-piece.txt"),
39 new Blob(["345"]), "6789"]);
40 file = new File(["0", new File(["12"], "slice-piece.txt"),
41 new Blob(["345"]), "6789"], "slice-text.txt");
42
43 runNextTest();
44 }
45
46 if (window.testRunner) {
47 testRunner.dumpAsText();
48 testRunner.waitUntilDone();
49 }
50 </script>
51 </head>
52 <body onload="runTests()">
53 <pre id='console'></pre>
54 </body>
55 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/files/blob-parts-slice-test-expected.txt » ('j') | LayoutTests/fast/files/file-constructor.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698