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

Side by Side Diff: src/messages.js

Issue 10973012: Merged r12600 into 3.13 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.13
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 "called_on_non_object", ["%0", " called on non-object"], 222 "called_on_non_object", ["%0", " called on non-object"],
223 "called_on_null_or_undefined", ["%0", " called on null or undefined"], 223 "called_on_null_or_undefined", ["%0", " called on null or undefined"],
224 "array_indexof_not_defined", ["Array.getIndexOf: Argument undefined"], 224 "array_indexof_not_defined", ["Array.getIndexOf: Argument undefined"],
225 "object_not_extensible", ["Can't add property ", "%0", ", object is not extensible"], 225 "object_not_extensible", ["Can't add property ", "%0", ", object is not extensible"],
226 "illegal_access", ["Illegal access"], 226 "illegal_access", ["Illegal access"],
227 "invalid_preparser_data", ["Invalid preparser data for function ", " %0"], 227 "invalid_preparser_data", ["Invalid preparser data for function ", " %0"],
228 "strict_mode_with", ["Strict mode code may not include a with statement"], 228 "strict_mode_with", ["Strict mode code may not include a with statement"],
229 "strict_catch_variable", ["Catch variable may not be eval or argume nts in strict mode"], 229 "strict_catch_variable", ["Catch variable may not be eval or argume nts in strict mode"],
230 "too_many_arguments", ["Too many arguments in function call (onl y 32766 allowed)"], 230 "too_many_arguments", ["Too many arguments in function call (onl y 32766 allowed)"],
231 "too_many_parameters", ["Too many parameters in function definiti on (only 32766 allowed)"], 231 "too_many_parameters", ["Too many parameters in function definiti on (only 32766 allowed)"],
232 "too_many_variables", ["Too many variables declared (only 32767 allowed)"], 232 "too_many_variables", ["Too many variables declared (only 65535 allowed)"],
233 "strict_param_name", ["Parameter name eval or arguments is not allowed in strict mode"], 233 "strict_param_name", ["Parameter name eval or arguments is not allowed in strict mode"],
234 "strict_param_dupe", ["Strict mode function may not have duplic ate parameter names"], 234 "strict_param_dupe", ["Strict mode function may not have duplic ate parameter names"],
235 "strict_var_name", ["Variable name may not be eval or argumen ts in strict mode"], 235 "strict_var_name", ["Variable name may not be eval or argumen ts in strict mode"],
236 "strict_function_name", ["Function name may not be eval or argumen ts in strict mode"], 236 "strict_function_name", ["Function name may not be eval or argumen ts in strict mode"],
237 "strict_octal_literal", ["Octal literals are not allowed in strict mode."], 237 "strict_octal_literal", ["Octal literals are not allowed in strict mode."],
238 "strict_duplicate_property", ["Duplicate data property in object litera l not allowed in strict mode"], 238 "strict_duplicate_property", ["Duplicate data property in object litera l not allowed in strict mode"],
239 "accessor_data_property", ["Object literal may not have data and acc essor property with the same name"], 239 "accessor_data_property", ["Object literal may not have data and acc essor property with the same name"],
240 "accessor_get_set", ["Object literal may not have multiple get /set accessors with the same name"], 240 "accessor_get_set", ["Object literal may not have multiple get /set accessors with the same name"],
241 "strict_lhs_assignment", ["Assignment to eval or arguments is not a llowed in strict mode"], 241 "strict_lhs_assignment", ["Assignment to eval or arguments is not a llowed in strict mode"],
242 "strict_lhs_postfix", ["Postfix increment/decrement may not have eval or arguments operand in strict mode"], 242 "strict_lhs_postfix", ["Postfix increment/decrement may not have eval or arguments operand in strict mode"],
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 throw e; 1260 throw e;
1261 } 1261 }
1262 } 1262 }
1263 1263
1264 1264
1265 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]); 1265 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]);
1266 1266
1267 // Boilerplate for exceptions for stack overflows. Used from 1267 // Boilerplate for exceptions for stack overflows. Used from
1268 // Isolate::StackOverflow(). 1268 // Isolate::StackOverflow().
1269 var kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 1269 var kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « no previous file | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698