summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt143
1 files changed, 116 insertions, 27 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt b/third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt
index 0f274d3..2f12c4f 100644
--- a/third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/files/blob-slice-test-expected.txt
@@ -1,28 +1,117 @@
-Slicing from 2 to 3: 2
-Slicing from 2 to 12: 23456789
-Slicing from 2 to 2:
-Slicing from 2 to 1:
-Slicing from 2 to -12:
-Slicing from 2 to 2147483647: 23456789
-Slicing from 2 to -2147483648:
-Slicing from 2 to 9223372036854775000: 23456789
-Slicing from 2 to -9223372036854775000:
-Slicing from -2 to -1: 8
-Slicing from -2 to -2:
-Slicing from -2 to -3:
-Slicing from -2 to -12:
-Slicing from -2 to 2147483647: 89
-Slicing from -2 to -2147483648:
-Slicing from -2 to 9223372036854775000: 89
-Slicing from -2 to -9223372036854775000:
-Slicing from 0: 0123456789
-Slicing from 2: 23456789
-Slicing from -2: 89
-Slicing from 12:
-Slicing from -12: 0123456789
-Slicing from 2147483647:
-Slicing from -2147483648: 0123456789
-Slicing from 9223372036854775000:
-Slicing from -9223372036854775000: 0123456789
-Slicing without parameters: 0123456789
+Test Blob.slice().
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Blob .slice(2, 3)
+PASS blobContents is "2"
+File .slice(2, 3)
+PASS fileContents is "2"
+Blob .slice(2, 12)
+PASS blobContents is "23456789"
+File .slice(2, 12)
+PASS fileContents is "23456789"
+Blob .slice(2, 2)
+PASS blobContents is ""
+File .slice(2, 2)
+PASS fileContents is ""
+Blob .slice(2, 1)
+PASS blobContents is ""
+File .slice(2, 1)
+PASS fileContents is ""
+Blob .slice(2, -12)
+PASS blobContents is ""
+File .slice(2, -12)
+PASS fileContents is ""
+Blob .slice(2, 2147483647)
+PASS blobContents is "23456789"
+File .slice(2, 2147483647)
+PASS fileContents is "23456789"
+Blob .slice(2, -2147483648)
+PASS blobContents is ""
+File .slice(2, -2147483648)
+PASS fileContents is ""
+Blob .slice(2, 9223372036854775000)
+PASS blobContents is "23456789"
+File .slice(2, 9223372036854775000)
+PASS fileContents is "23456789"
+Blob .slice(2, -9223372036854775000)
+PASS blobContents is ""
+File .slice(2, -9223372036854775000)
+PASS fileContents is ""
+Blob .slice(-2, -1)
+PASS blobContents is "8"
+File .slice(-2, -1)
+PASS fileContents is "8"
+Blob .slice(-2, -2)
+PASS blobContents is ""
+File .slice(-2, -2)
+PASS fileContents is ""
+Blob .slice(-2, -3)
+PASS blobContents is ""
+File .slice(-2, -3)
+PASS fileContents is ""
+Blob .slice(-2, -12)
+PASS blobContents is ""
+File .slice(-2, -12)
+PASS fileContents is ""
+Blob .slice(-2, 2147483647)
+PASS blobContents is "89"
+File .slice(-2, 2147483647)
+PASS fileContents is "89"
+Blob .slice(-2, -2147483648)
+PASS blobContents is ""
+File .slice(-2, -2147483648)
+PASS fileContents is ""
+Blob .slice(-2, 9223372036854775000)
+PASS blobContents is "89"
+File .slice(-2, 9223372036854775000)
+PASS fileContents is "89"
+Blob .slice(-2, -9223372036854775000)
+PASS blobContents is ""
+File .slice(-2, -9223372036854775000)
+PASS fileContents is ""
+Blob .slice(0)
+PASS blobContents is "0123456789"
+File .slice(0)
+PASS fileContents is "0123456789"
+Blob .slice(2)
+PASS blobContents is "23456789"
+File .slice(2)
+PASS fileContents is "23456789"
+Blob .slice(-2)
+PASS blobContents is "89"
+File .slice(-2)
+PASS fileContents is "89"
+Blob .slice(12)
+PASS blobContents is ""
+File .slice(12)
+PASS fileContents is ""
+Blob .slice(-12)
+PASS blobContents is "0123456789"
+File .slice(-12)
+PASS fileContents is "0123456789"
+Blob .slice(2147483647)
+PASS blobContents is ""
+File .slice(2147483647)
+PASS fileContents is ""
+Blob .slice(-2147483648)
+PASS blobContents is "0123456789"
+File .slice(-2147483648)
+PASS fileContents is "0123456789"
+Blob .slice(9223372036854775000)
+PASS blobContents is ""
+File .slice(9223372036854775000)
+PASS fileContents is ""
+Blob .slice(-9223372036854775000)
+PASS blobContents is "0123456789"
+File .slice(-9223372036854775000)
+PASS fileContents is "0123456789"
+Blob .slice()
+PASS blobContents is "0123456789"
+File .slice()
+PASS fileContents is "0123456789"
+PASS successfullyParsed is true
+
+TEST COMPLETE