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

Unified Diff: LayoutTests/fast/files/blob-slice-test-expected.txt

Issue 57483002: Implement File constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed most feedback. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/files/blob-slice-test.html ('k') | LayoutTests/fast/files/file-constructor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/files/blob-slice-test-expected.txt
diff --git a/LayoutTests/fast/files/blob-slice-test-expected.txt b/LayoutTests/fast/files/blob-slice-test-expected.txt
index 0f274d3dbd99ae45e2447b311952393dce8d1a75..2f12c4fd073baa44ec6aaec29700be179246e7c1 100644
--- a/LayoutTests/fast/files/blob-slice-test-expected.txt
+++ b/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
« no previous file with comments | « LayoutTests/fast/files/blob-slice-test.html ('k') | LayoutTests/fast/files/file-constructor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698