| OLD | NEW |
| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefine
d for '", "%1", "' trap"], | 200 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefine
d for '", "%1", "' trap"], |
| 201 proxy_prop_not_configurable: ["Trap ", "%1", " of proxy handler ", "%0",
" returned non-configurable descriptor for property ", "%2"], | 201 proxy_prop_not_configurable: ["Trap ", "%1", " of proxy handler ", "%0",
" returned non-configurable descriptor for property ", "%2"], |
| 202 proxy_non_object_prop_names: ["Trap ", "%1", " returned non-object ", "%0
"], | 202 proxy_non_object_prop_names: ["Trap ", "%1", " returned non-object ", "%0
"], |
| 203 proxy_repeated_prop_name: ["Trap ", "%1", " returned repeated property
name ", "%2"], | 203 proxy_repeated_prop_name: ["Trap ", "%1", " returned repeated property
name ", "%2"], |
| 204 invalid_weakmap_key: ["Invalid value used as weak map key"], | 204 invalid_weakmap_key: ["Invalid value used as weak map key"], |
| 205 // RangeError | 205 // RangeError |
| 206 invalid_array_length: ["Invalid array length"], | 206 invalid_array_length: ["Invalid array length"], |
| 207 stack_overflow: ["Maximum call stack size exceeded"], | 207 stack_overflow: ["Maximum call stack size exceeded"], |
| 208 // SyntaxError | 208 // SyntaxError |
| 209 unable_to_parse: ["Parse error"], | 209 unable_to_parse: ["Parse error"], |
| 210 duplicate_regexp_flag: ["Duplicate RegExp flag ", "%0"], | 210 invalid_regexp_flags: ["Invalid flags supplied to RegExp construct
or '", "%0", "'"], |
| 211 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], | 211 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], |
| 212 illegal_break: ["Illegal break statement"], | 212 illegal_break: ["Illegal break statement"], |
| 213 illegal_continue: ["Illegal continue statement"], | 213 illegal_continue: ["Illegal continue statement"], |
| 214 illegal_return: ["Illegal return statement"], | 214 illegal_return: ["Illegal return statement"], |
| 215 error_loading_debugger: ["Error loading debugger"], | 215 error_loading_debugger: ["Error loading debugger"], |
| 216 no_input_to_regexp: ["No input to ", "%0"], | 216 no_input_to_regexp: ["No input to ", "%0"], |
| 217 invalid_json: ["String '", "%0", "' is not valid JSON"], | 217 invalid_json: ["String '", "%0", "' is not valid JSON"], |
| 218 circular_structure: ["Converting circular structure to JSON"], | 218 circular_structure: ["Converting circular structure to JSON"], |
| 219 obj_ctor_property_non_object: ["Object.", "%0", " called on non-object"], | 219 obj_ctor_property_non_object: ["Object.", "%0", " called on non-object"], |
| 220 called_on_null_or_undefined: ["%0", " called on null or undefined"], | 220 called_on_null_or_undefined: ["%0", " called on null or undefined"], |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 else throw e; | 1121 else throw e; |
| 1122 } | 1122 } |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 | 1125 |
| 1126 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', errorToString]); | 1126 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', errorToString]); |
| 1127 | 1127 |
| 1128 // Boilerplate for exceptions for stack overflows. Used from | 1128 // Boilerplate for exceptions for stack overflows. Used from |
| 1129 // Isolate::StackOverflow(). | 1129 // Isolate::StackOverflow(). |
| 1130 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); | 1130 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); |
| OLD | NEW |