| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 observe_notify_non_notifier: ["notify called on non-notifier object"], | 105 observe_notify_non_notifier: ["notify called on non-notifier object"], |
| 106 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], | 106 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], |
| 107 parameterless_typed_array_constr: | 107 parameterless_typed_array_constr: |
| 108 ["%0"," constructor should have at least one ar
gument."], | 108 ["%0"," constructor should have at least one ar
gument."], |
| 109 not_typed_array: ["this is not a typed array."], | 109 not_typed_array: ["this is not a typed array."], |
| 110 invalid_argument: ["invalid_argument"], | 110 invalid_argument: ["invalid_argument"], |
| 111 data_view_not_array_buffer: ["First argument to DataView constructor must b
e an ArrayBuffer"], | 111 data_view_not_array_buffer: ["First argument to DataView constructor must b
e an ArrayBuffer"], |
| 112 // RangeError | 112 // RangeError |
| 113 invalid_array_length: ["Invalid array length"], | 113 invalid_array_length: ["Invalid array length"], |
| 114 invalid_array_buffer_length: ["Invalid array buffer length"], | 114 invalid_array_buffer_length: ["Invalid array buffer length"], |
| 115 invalid_typed_array_offset: ["Start offset is too large"], | 115 invalid_typed_array_offset: ["Start offset is too large:"], |
| 116 invalid_typed_array_length: ["Length is too large"], | 116 invalid_typed_array_length: ["Invalid typed array length"], |
| 117 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], | 117 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], |
| 118 typed_array_set_source_too_large: | 118 typed_array_set_source_too_large: |
| 119 ["Source is too large"], | 119 ["Source is too large"], |
| 120 typed_array_set_negative_offset: |
| 121 ["Start offset is negative"], |
| 120 invalid_data_view_offset: ["Start offset is outside the bounds of the buf
fer"], | 122 invalid_data_view_offset: ["Start offset is outside the bounds of the buf
fer"], |
| 121 invalid_data_view_length: ["Length is too large"], | 123 invalid_data_view_length: ["Invalid data view length"], |
| 122 invalid_data_view_accessor_offset: | 124 invalid_data_view_accessor_offset: |
| 123 ["Offset is outside the bounds of the DataView"
], | 125 ["Offset is outside the bounds of the DataView"
], |
| 124 | 126 |
| 125 stack_overflow: ["Maximum call stack size exceeded"], | 127 stack_overflow: ["Maximum call stack size exceeded"], |
| 126 invalid_time_value: ["Invalid time value"], | 128 invalid_time_value: ["Invalid time value"], |
| 127 // SyntaxError | 129 // SyntaxError |
| 128 paren_in_arg_string: ["Function arg string contains parenthesis"], | 130 paren_in_arg_string: ["Function arg string contains parenthesis"], |
| 129 not_isvar: ["builtin %IS_VAR: not a variable"], | 131 not_isvar: ["builtin %IS_VAR: not a variable"], |
| 130 single_function_literal: ["Single function literal required"], | 132 single_function_literal: ["Single function literal required"], |
| 131 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], | 133 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor
'", "%0", "'"], |
| (...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 %SetOverflowedStackTrace(this, void 0); | 1333 %SetOverflowedStackTrace(this, void 0); |
| 1332 } | 1334 } |
| 1333 | 1335 |
| 1334 %DefineOrRedefineAccessorProperty( | 1336 %DefineOrRedefineAccessorProperty( |
| 1335 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1337 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1336 | 1338 |
| 1337 return boilerplate; | 1339 return boilerplate; |
| 1338 } | 1340 } |
| 1339 | 1341 |
| 1340 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1342 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |