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

Side by Side Diff: src/messages.js

Issue 8392036: Fix error handling in Date.prototype.toISOString. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Lasse Reichstein. Created 9 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/macros.py ('k') | src/runtime.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "handler_trap_must_be_callable", ["Proxy handler ", "%0", " has non-callab le '", "%1", "' trap"], 191 "handler_trap_must_be_callable", ["Proxy handler ", "%0", " has non-callab le '", "%1", "' trap"],
192 "handler_returned_false", ["Proxy handler ", "%0", " returned false from '", "%1", "' trap"], 192 "handler_returned_false", ["Proxy handler ", "%0", " returned false from '", "%1", "' trap"],
193 "handler_returned_undefined", ["Proxy handler ", "%0", " returned undefi ned from '", "%1", "' trap"], 193 "handler_returned_undefined", ["Proxy handler ", "%0", " returned undefi ned from '", "%1", "' trap"],
194 "proxy_prop_not_configurable", ["Proxy handler ", "%0", " returned non-co nfigurable descriptor for property '", "%2", "' from '", "%1", "' trap"], 194 "proxy_prop_not_configurable", ["Proxy handler ", "%0", " returned non-co nfigurable descriptor for property '", "%2", "' from '", "%1", "' trap"],
195 "proxy_non_object_prop_names", ["Trap '", "%1", "' returned non-object ", "%0"], 195 "proxy_non_object_prop_names", ["Trap '", "%1", "' returned non-object ", "%0"],
196 "proxy_repeated_prop_name", ["Trap '", "%1", "' returned repeated prop erty name '", "%2", "'"], 196 "proxy_repeated_prop_name", ["Trap '", "%1", "' returned repeated prop erty name '", "%2", "'"],
197 "invalid_weakmap_key", ["Invalid value used as weak map key"], 197 "invalid_weakmap_key", ["Invalid value used as weak map key"],
198 // RangeError 198 // RangeError
199 "invalid_array_length", ["Invalid array length"], 199 "invalid_array_length", ["Invalid array length"],
200 "stack_overflow", ["Maximum call stack size exceeded"], 200 "stack_overflow", ["Maximum call stack size exceeded"],
201 "invalid_time_value", ["Invalid time value"],
201 // SyntaxError 202 // SyntaxError
202 "unable_to_parse", ["Parse error"], 203 "unable_to_parse", ["Parse error"],
203 "invalid_regexp_flags", ["Invalid flags supplied to RegExp constru ctor '", "%0", "'"], 204 "invalid_regexp_flags", ["Invalid flags supplied to RegExp constru ctor '", "%0", "'"],
204 "invalid_regexp", ["Invalid RegExp pattern /", "%0", "/"], 205 "invalid_regexp", ["Invalid RegExp pattern /", "%0", "/"],
205 "illegal_break", ["Illegal break statement"], 206 "illegal_break", ["Illegal break statement"],
206 "illegal_continue", ["Illegal continue statement"], 207 "illegal_continue", ["Illegal continue statement"],
207 "illegal_return", ["Illegal return statement"], 208 "illegal_return", ["Illegal return statement"],
208 "error_loading_debugger", ["Error loading debugger"], 209 "error_loading_debugger", ["Error loading debugger"],
209 "no_input_to_regexp", ["No input to ", "%0"], 210 "no_input_to_regexp", ["No input to ", "%0"],
210 "invalid_json", ["String '", "%0", "' is not valid JSON"], 211 "invalid_json", ["String '", "%0", "' is not valid JSON"],
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 throw e; 1189 throw e;
1189 } 1190 }
1190 } 1191 }
1191 1192
1192 1193
1193 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]); 1194 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]);
1194 1195
1195 // Boilerplate for exceptions for stack overflows. Used from 1196 // Boilerplate for exceptions for stack overflows. Used from
1196 // Isolate::StackOverflow(). 1197 // Isolate::StackOverflow().
1197 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 1198 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « src/macros.py ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698