OLD | NEW |
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], | 101 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], |
102 // RangeError | 102 // RangeError |
103 invalid_array_length: ["Invalid array length"], | 103 invalid_array_length: ["Invalid array length"], |
104 invalid_array_buffer_length: ["Invalid array buffer length"], | 104 invalid_array_buffer_length: ["Invalid array buffer length"], |
105 invalid_typed_array_offset: ["Start offset is too large"], | 105 invalid_typed_array_offset: ["Start offset is too large"], |
106 invalid_typed_array_length: ["Length is too large"], | 106 invalid_typed_array_length: ["Length is too large"], |
107 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], | 107 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], |
108 stack_overflow: ["Maximum call stack size exceeded"], | 108 stack_overflow: ["Maximum call stack size exceeded"], |
109 invalid_time_value: ["Invalid time value"], | 109 invalid_time_value: ["Invalid time value"], |
110 // SyntaxError | 110 // SyntaxError |
111 unable_to_parse: ["Parse error"], | 111 paren_in_arg_string: ["Function arg string contains parenthesis"], |
| 112 not_isvar: ["builtin %IS_VAR: not a variable"], |
| 113 single_function_literal: ["Single function literal required"], |
112 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], | 114 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], |
113 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], | 115 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], |
114 illegal_break: ["Illegal break statement"], | 116 illegal_break: ["Illegal break statement"], |
115 illegal_continue: ["Illegal continue statement"], | 117 illegal_continue: ["Illegal continue statement"], |
116 illegal_return: ["Illegal return statement"], | 118 illegal_return: ["Illegal return statement"], |
117 illegal_let: ["Illegal let declaration outside extended mode
"], | 119 illegal_let: ["Illegal let declaration outside extended mode
"], |
118 error_loading_debugger: ["Error loading debugger"], | 120 error_loading_debugger: ["Error loading debugger"], |
119 no_input_to_regexp: ["No input to ", "%0"], | 121 no_input_to_regexp: ["No input to ", "%0"], |
120 invalid_json: ["String '", "%0", "' is not valid JSON"], | 122 invalid_json: ["String '", "%0", "' is not valid JSON"], |
121 circular_structure: ["Converting circular structure to JSON"], | 123 circular_structure: ["Converting circular structure to JSON"], |
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 %SetOverflowedStackTrace(this, void 0); | 1314 %SetOverflowedStackTrace(this, void 0); |
1313 } | 1315 } |
1314 | 1316 |
1315 %DefineOrRedefineAccessorProperty( | 1317 %DefineOrRedefineAccessorProperty( |
1316 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1318 boilerplate, 'stack', getter, setter, DONT_ENUM); |
1317 | 1319 |
1318 return boilerplate; | 1320 return boilerplate; |
1319 } | 1321 } |
1320 | 1322 |
1321 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1323 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
OLD | NEW |