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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun
ction object"], | 96 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun
ction object"], |
97 observe_invalid_accept: ["Object.observe accept must be an array of str
ings."], | 97 observe_invalid_accept: ["Object.observe accept must be an array of str
ings."], |
98 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], | 98 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], |
99 observe_perform_non_string: ["Invalid non-string changeType"], | 99 observe_perform_non_string: ["Invalid non-string changeType"], |
100 observe_perform_non_function: ["Cannot perform non-function"], | 100 observe_perform_non_function: ["Cannot perform non-function"], |
101 observe_notify_non_notifier: ["notify called on non-notifier object"], | 101 observe_notify_non_notifier: ["notify called on non-notifier object"], |
102 not_typed_array: ["this is not a typed array."], | 102 not_typed_array: ["this is not a typed array."], |
103 invalid_argument: ["invalid_argument"], | 103 invalid_argument: ["invalid_argument"], |
104 data_view_not_array_buffer: ["First argument to DataView constructor must b
e an ArrayBuffer"], | 104 data_view_not_array_buffer: ["First argument to DataView constructor must b
e an ArrayBuffer"], |
105 constructor_not_function: ["Constructor ", "%0", " requires 'new'"], | 105 constructor_not_function: ["Constructor ", "%0", " requires 'new'"], |
| 106 not_a_symbol: ["%0", " is not a symbol"], |
106 not_a_promise: ["%0", " is not a promise"], | 107 not_a_promise: ["%0", " is not a promise"], |
107 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function
"], | 108 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function
"], |
108 promise_cyclic: ["Chaining cycle detected for promise ", "%0"], | 109 promise_cyclic: ["Chaining cycle detected for promise ", "%0"], |
109 array_functions_on_frozen: ["Cannot modify frozen array elements"], | 110 array_functions_on_frozen: ["Cannot modify frozen array elements"], |
110 array_functions_change_sealed: ["Cannot add/remove sealed array elements"], | 111 array_functions_change_sealed: ["Cannot add/remove sealed array elements"], |
111 first_argument_not_regexp: ["First argument to ", "%0", " must not be a re
gular expression"], | 112 first_argument_not_regexp: ["First argument to ", "%0", " must not be a re
gular expression"], |
112 // RangeError | 113 // RangeError |
113 invalid_array_length: ["Invalid array length"], | 114 invalid_array_length: ["Invalid array length"], |
114 invalid_array_buffer_length: ["Invalid array buffer length"], | 115 invalid_array_buffer_length: ["Invalid array buffer length"], |
115 invalid_string_length: ["Invalid string length"], | 116 invalid_string_length: ["Invalid string length"], |
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1347 %GetAndClearOverflowedStackTrace(this); | 1348 %GetAndClearOverflowedStackTrace(this); |
1348 }; | 1349 }; |
1349 | 1350 |
1350 %DefineOrRedefineAccessorProperty( | 1351 %DefineOrRedefineAccessorProperty( |
1351 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1352 boilerplate, 'stack', getter, setter, DONT_ENUM); |
1352 | 1353 |
1353 return boilerplate; | 1354 return boilerplate; |
1354 } | 1355 } |
1355 | 1356 |
1356 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1357 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
OLD | NEW |