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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 proxy_non_object_prop_names: ["Trap '", "%1", "' returned non-object ", "%0"
], | 94 proxy_non_object_prop_names: ["Trap '", "%1", "' returned non-object ", "%0"
], |
95 proxy_repeated_prop_name: ["Trap '", "%1", "' returned repeated property
name '", "%2", "'"], | 95 proxy_repeated_prop_name: ["Trap '", "%1", "' returned repeated property
name '", "%2", "'"], |
96 invalid_weakmap_key: ["Invalid value used as weak map key"], | 96 invalid_weakmap_key: ["Invalid value used as weak map key"], |
97 not_date_object: ["this is not a Date object."], | 97 not_date_object: ["this is not a Date object."], |
98 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec
t"], | 98 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec
t"], |
99 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct
ion"], | 99 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct
ion"], |
100 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun
ction object"], | 100 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun
ction object"], |
101 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], | 101 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], |
102 observe_notify_non_notifier: ["notify called on non-notifier object"], | 102 observe_notify_non_notifier: ["notify called on non-notifier object"], |
103 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], | 103 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], |
| 104 parameterless_typed_array_constr: |
| 105 ["%0"," constructor should have at least one ar
gument."], |
104 // RangeError | 106 // RangeError |
105 invalid_array_length: ["Invalid array length"], | 107 invalid_array_length: ["Invalid array length"], |
106 invalid_array_buffer_length: ["Invalid array buffer length"], | 108 invalid_array_buffer_length: ["Invalid array buffer length"], |
107 invalid_typed_array_offset: ["Start offset is too large"], | 109 invalid_typed_array_offset: ["Start offset is too large"], |
108 invalid_typed_array_length: ["Length is too large"], | 110 invalid_typed_array_length: ["Length is too large"], |
109 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], | 111 invalid_typed_array_alignment: ["%0", "of", "%1", "should be a multiple of", "
%3"], |
110 stack_overflow: ["Maximum call stack size exceeded"], | 112 stack_overflow: ["Maximum call stack size exceeded"], |
111 invalid_time_value: ["Invalid time value"], | 113 invalid_time_value: ["Invalid time value"], |
112 // SyntaxError | 114 // SyntaxError |
113 paren_in_arg_string: ["Function arg string contains parenthesis"], | 115 paren_in_arg_string: ["Function arg string contains parenthesis"], |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1316 %SetOverflowedStackTrace(this, void 0); | 1318 %SetOverflowedStackTrace(this, void 0); |
1317 } | 1319 } |
1318 | 1320 |
1319 %DefineOrRedefineAccessorProperty( | 1321 %DefineOrRedefineAccessorProperty( |
1320 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1322 boilerplate, 'stack', getter, setter, DONT_ENUM); |
1321 | 1323 |
1322 return boilerplate; | 1324 return boilerplate; |
1323 } | 1325 } |
1324 | 1326 |
1325 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1327 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
OLD | NEW |