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

Unified Diff: src/harmony-array.js

Issue 1096243003: Migrate error messages, part 5 (array.js and i18n.js). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/date.js ('k') | src/i18n.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 934d3b77c7f0bb299daeea28c60aa26c4adb4e4a..b24caff9a9f3cd1129d264cf3f7581ad40a39056 100644
--- a/src/harmony-array.js
+++ b/src/harmony-array.js
@@ -174,8 +174,7 @@ function ArrayFill(value /* [, start [, end ] ] */) { // length == 1
}
if ((end - i) > 0 && ObjectIsFrozen(array)) {
- throw MakeTypeError("array_functions_on_frozen",
- ["Array.prototype.fill"]);
+ throw MakeTypeError(kArrayFunctionsOnFrozen);
}
for (; i < end; i++)
« no previous file with comments | « src/date.js ('k') | src/i18n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698