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

Unified Diff: src/harmony-array.js

Issue 1122033002: Migrate error messages, part 7. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 7 months 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 | « src/collection.js ('k') | src/harmony-regexp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-array.js
diff --git a/src/harmony-array.js b/src/harmony-array.js
index b24caff9a9f3cd1129d264cf3f7581ad40a39056..63c0d43725859d5df08b52c00da0dc3a778885fc 100644
--- a/src/harmony-array.js
+++ b/src/harmony-array.js
@@ -213,7 +213,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) {
var next = iterator.next();
if (!IS_OBJECT(next)) {
- throw MakeTypeError("iterator_result_not_an_object", [next]);
+ throw MakeTypeError(kIteratorResultNotAnObject, next);
}
if (next.done) {
« no previous file with comments | « src/collection.js ('k') | src/harmony-regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698