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

Unified Diff: src/messages.js

Issue 20818005: Implemented String.prototype.repeat as per ES6 draft 07-15-13, section 15.5.3.21 (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 7 years, 5 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 | « no previous file | src/string.js » ('j') | src/string.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index 92ac1bc46aac4a8e525b34accca62980848b6e92..436e0fc338b8c6049d1b99a82002dad2106bc0c6 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -126,6 +126,8 @@ var kMessages = {
stack_overflow: ["Maximum call stack size exceeded"],
invalid_time_value: ["Invalid time value"],
+
+ invalid_count_value: ["Invalid count value"],
// SyntaxError
paren_in_arg_string: ["Function arg string contains parenthesis"],
not_isvar: ["builtin %IS_VAR: not a variable"],
@@ -1181,7 +1183,7 @@ function SetUpError() {
// Store the error function in both the global object
// and the runtime object. The function is fetched
// from the runtime object when throwing errors from
- // within the runtime system to avoid strange side
+ // within the runtime system to avoid stack side
// effects when overwriting the error functions from
// user code.
var name = f.name;
« no previous file with comments | « no previous file | src/string.js » ('j') | src/string.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698