Index: third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt |
index 81e3fad57c407ecc089ec6e46cbcdd50b927d8ea..d5eb656bf9129c5971aa4bbf1f38952d74367891 100644 |
--- a/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt |
@@ -16,9 +16,9 @@ PASS (new File([], null)) instanceof window.File is true |
PASS (new File([], 1)) instanceof window.File is true |
PASS (new File([], '')) instanceof window.File is true |
PASS (new File([], document)) instanceof window.File is true |
-PASS new File('hello', 'world.html') threw exception TypeError: Failed to construct 'File': The 1st argument is neither an array, nor does it have indexed properties.. |
-PASS new File(0, 'world.html') threw exception TypeError: Failed to construct 'File': The 1st argument is neither an array, nor does it have indexed properties.. |
-PASS new File(null, 'world.html') threw exception TypeError: Failed to construct 'File': The 1st argument is neither an array, nor does it have indexed properties.. |
+PASS new File('hello', 'world.html') threw exception TypeError: Failed to construct 'File': The provided value cannot be converted to a sequence.. |
+PASS new File(0, 'world.html') threw exception TypeError: Failed to construct 'File': The provided value cannot be converted to a sequence.. |
+PASS new File(null, 'world.html') threw exception TypeError: Failed to construct 'File': The provided value cannot be converted to a sequence.. |
PASS (new File([], 'world.html')) instanceof window.File is true |
PASS (new File(['stringPrimitive'], 'world.html')) instanceof window.File is true |
PASS (new File([String('stringObject')], 'world.html')) instanceof window.File is true |
@@ -99,8 +99,8 @@ PASS new File([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).b |
PASS new File([new Blob([(new Int32Array(100)).buffer]), new File([new Uint16Array(100).buffer], 'world.txt'), (new Uint8Array(100)).buffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer], 'world.html').size is 1200 |
PASS new Blob([new Blob([new Int32Array(100)]), new File([new Uint16Array(100)], 'world.txt'), new Uint8Array(100), new Float32Array(100), new DataView(new ArrayBuffer(100))]).size is 1200 |
PASS new Blob([new Blob([(new Int32Array(100)).buffer]), new File([new Uint16Array(100).buffer], 'world.txt'), (new Uint8Array(100)).buffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is 1200 |
-PASS new File({length: 0}, 'world.txt').size is 0 |
-PASS new File({length: 1, 0: 'string'}, 'world.txt').size is 6 |
+PASS new File(createIterable([{done:true}]), 'world.txt').size is 0 |
+PASS new File(createIterable([{done:false, value:'string'},{done:true}]), 'world.txt').size is 6 |
PASS successfullyParsed is true |
TEST COMPLETE |