1 Test the Blob.slice() behavior for Blobs made of multiple parts.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS blobContents is "2"
9 PASS fileContents is "2"
11 PASS blobContents is "23456789"
13 PASS fileContents is "23456789"
15 PASS blobContents is ""
17 PASS fileContents is ""
19 PASS blobContents is ""
21 PASS fileContents is ""
23 PASS blobContents is ""
25 PASS fileContents is ""
26 Blob .slice(2, 2147483647)
27 PASS blobContents is "23456789"
28 File .slice(2, 2147483647)
29 PASS fileContents is "23456789"
30 Blob .slice(2, -2147483648)
31 PASS blobContents is ""
32 File .slice(2, -2147483648)
33 PASS fileContents is ""
34 Blob .slice(2, 9223372036854775000)
35 PASS blobContents is "23456789"
36 File .slice(2, 9223372036854775000)
37 PASS fileContents is "23456789"
38 Blob .slice(2, -9223372036854775000)
39 PASS blobContents is ""
40 File .slice(2, -9223372036854775000)
41 PASS fileContents is ""
43 PASS blobContents is "8"
45 PASS fileContents is "8"
47 PASS blobContents is ""
49 PASS fileContents is ""
51 PASS blobContents is ""
53 PASS fileContents is ""
55 PASS blobContents is ""
57 PASS fileContents is ""
58 Blob .slice(-2, 2147483647)
59 PASS blobContents is "89"
60 File .slice(-2, 2147483647)
61 PASS fileContents is "89"
62 Blob .slice(-2, -2147483648)
63 PASS blobContents is ""
64 File .slice(-2, -2147483648)
65 PASS fileContents is ""
66 Blob .slice(-2, 9223372036854775000)
67 PASS blobContents is "89"
68 File .slice(-2, 9223372036854775000)
69 PASS fileContents is "89"
70 Blob .slice(-2, -9223372036854775000)
71 PASS blobContents is ""
72 File .slice(-2, -9223372036854775000)
73 PASS fileContents is ""
75 PASS blobContents is "0123456789"
77 PASS fileContents is "0123456789"
79 PASS blobContents is "23456789"
81 PASS fileContents is "23456789"
83 PASS blobContents is "89"
85 PASS fileContents is "89"
87 PASS blobContents is ""
89 PASS fileContents is ""
91 PASS blobContents is "0123456789"
93 PASS fileContents is "0123456789"
94 Blob .slice(2147483647)
95 PASS blobContents is ""
96 File .slice(2147483647)
97 PASS fileContents is ""
98 Blob .slice(-2147483648)
99 PASS blobContents is "0123456789"
100 File .slice(-2147483648)
101 PASS fileContents is "0123456789"
102 Blob .slice(9223372036854775000)
103 PASS blobContents is ""
104 File .slice(9223372036854775000)
105 PASS fileContents is ""
106 Blob .slice(-9223372036854775000)
107 PASS blobContents is "0123456789"
108 File .slice(-9223372036854775000)
109 PASS fileContents is "0123456789"
111 PASS blobContents is "0123456789"
113 PASS fileContents is "0123456789"
114 PASS successfullyParsed is true