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

Side by Side Diff: src/messages.js

Issue 328007: Stop throwing exceptions for out-of-range accesses to CanvasArrays.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/factory.cc ('k') | src/objects.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 no_setter_in_callback: "Cannot set property %0 of %1 which has only a getter", 152 no_setter_in_callback: "Cannot set property %0 of %1 which has only a getter",
153 apply_non_function: "Function.prototype.apply was called on %0, which is a %1 and not a function", 153 apply_non_function: "Function.prototype.apply was called on %0, which is a %1 and not a function",
154 apply_wrong_args: "Function.prototype.apply: Arguments list ha s wrong type", 154 apply_wrong_args: "Function.prototype.apply: Arguments list ha s wrong type",
155 invalid_in_operator_use: "Cannot use 'in' operator to search for '%0' in %1", 155 invalid_in_operator_use: "Cannot use 'in' operator to search for '%0' in %1",
156 instanceof_function_expected: "Expecting a function in instanceof check, b ut got %0", 156 instanceof_function_expected: "Expecting a function in instanceof check, b ut got %0",
157 instanceof_nonobject_proto: "Function has non-object prototype '%0' in i nstanceof check", 157 instanceof_nonobject_proto: "Function has non-object prototype '%0' in i nstanceof check",
158 null_to_object: "Cannot convert null to object", 158 null_to_object: "Cannot convert null to object",
159 reduce_no_initial: "Reduce of empty array with no initial value ", 159 reduce_no_initial: "Reduce of empty array with no initial value ",
160 // RangeError 160 // RangeError
161 invalid_array_length: "Invalid array length", 161 invalid_array_length: "Invalid array length",
162 invalid_array_index: "Invalid array index %0", // Currently for CanvasArray types only
163 stack_overflow: "Maximum call stack size exceeded", 162 stack_overflow: "Maximum call stack size exceeded",
164 apply_overflow: "Function.prototype.apply cannot support %0 arguments", 163 apply_overflow: "Function.prototype.apply cannot support %0 arguments",
165 // SyntaxError 164 // SyntaxError
166 unable_to_parse: "Parse error", 165 unable_to_parse: "Parse error",
167 duplicate_regexp_flag: "Duplicate RegExp flag %0", 166 duplicate_regexp_flag: "Duplicate RegExp flag %0",
168 invalid_regexp: "Invalid RegExp pattern /%0/", 167 invalid_regexp: "Invalid RegExp pattern /%0/",
169 illegal_break: "Illegal break statement", 168 illegal_break: "Illegal break statement",
170 illegal_continue: "Illegal continue statement", 169 illegal_continue: "Illegal continue statement",
171 illegal_return: "Illegal return statement", 170 illegal_return: "Illegal return statement",
172 error_loading_debugger: "Error loading debugger", 171 error_loading_debugger: "Error loading debugger",
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } ); 888 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } );
890 } 889 }
891 var message = this.message; 890 var message = this.message;
892 return this.name + (message ? (": " + message) : ""); 891 return this.name + (message ? (": " + message) : "");
893 }, DONT_ENUM); 892 }, DONT_ENUM);
894 893
895 894
896 // Boilerplate for exceptions for stack overflows. Used from 895 // Boilerplate for exceptions for stack overflows. Used from
897 // Top::StackOverflow(). 896 // Top::StackOverflow().
898 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 897 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698