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

Unified Diff: LayoutTests/fast/files/script-tests/blob-constructor.js

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/files/script-tests/blob-constructor.js
diff --git a/LayoutTests/fast/files/script-tests/blob-constructor.js b/LayoutTests/fast/files/script-tests/blob-constructor.js
index 3174e4dc9ee06f71d49e58e5d356577c0c1ed68c..4bfb49cbbafd8eeb65a2249ee369ce2be26f247d 100644
--- a/LayoutTests/fast/files/script-tests/blob-constructor.js
+++ b/LayoutTests/fast/files/script-tests/blob-constructor.js
@@ -24,7 +24,7 @@ shouldBeTrue("(new Blob([new Blob([new Blob])])) instanceof window.Blob");
shouldBe("(new Blob([12])).size", "2");
shouldBe("(new Blob([[]])).size", "0"); // [].toString() is the empty string
shouldBe("(new Blob([{}])).size", "15");; // {}.toString() is the string "[object Object]"
-shouldBe("(new Blob([document])).size", "21"); // document.toString() is the string "[object HTMLDocument]"
+shouldBe("(new Blob([document])).size", "21"); // document.toString() is the string "[object HTMLDocument]"
var toStringingObj = { toString: function() { return "A string"; } };
shouldBe("(new Blob([toStringingObj])).size", "8");

Powered by Google App Engine
This is Rietveld 408576698