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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 proto_non_object: ["Proxy.", "%0", " called with non-object as pr
ototype"], | 87 proto_non_object: ["Proxy.", "%0", " called with non-object as pr
ototype"], |
88 trap_function_expected: ["Proxy.", "%0", " called with non-function for
'", "%1", "' trap"], | 88 trap_function_expected: ["Proxy.", "%0", " called with non-function for
'", "%1", "' trap"], |
89 handler_trap_missing: ["Proxy handler ", "%0", " has no '", "%1", "'
trap"], | 89 handler_trap_missing: ["Proxy handler ", "%0", " has no '", "%1", "'
trap"], |
90 handler_trap_must_be_callable: ["Proxy handler ", "%0", " has non-callable '",
"%1", "' trap"], | 90 handler_trap_must_be_callable: ["Proxy handler ", "%0", " has non-callable '",
"%1", "' trap"], |
91 handler_returned_false: ["Proxy handler ", "%0", " returned false from
'", "%1", "' trap"], | 91 handler_returned_false: ["Proxy handler ", "%0", " returned false from
'", "%1", "' trap"], |
92 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefined f
rom '", "%1", "' trap"], | 92 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefined f
rom '", "%1", "' trap"], |
93 proxy_prop_not_configurable: ["Proxy handler ", "%0", " returned non-configu
rable descriptor for property '", "%2", "' from '", "%1", "' trap"], | 93 proxy_prop_not_configurable: ["Proxy handler ", "%0", " returned non-configu
rable descriptor for property '", "%2", "' from '", "%1", "' trap"], |
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 invalid_weakset_value: ["Invalid value used as weak set value"], |
97 not_date_object: ["this is not a Date object."], | 98 not_date_object: ["this is not a Date object."], |
98 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec
t"], | 99 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec
t"], |
99 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct
ion"], | 100 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"], | 101 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun
ction object"], |
101 observe_invalid_accept: ["Object.observe accept must be an array of str
ings."], | 102 observe_invalid_accept: ["Object.observe accept must be an array of str
ings."], |
102 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], | 103 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p
roperty"], |
103 observe_perform_non_string: ["Invalid non-string changeType"], | 104 observe_perform_non_string: ["Invalid non-string changeType"], |
104 observe_perform_non_function: ["Cannot perform non-function"], | 105 observe_perform_non_function: ["Cannot perform non-function"], |
105 observe_notify_non_notifier: ["notify called on non-notifier object"], | 106 observe_notify_non_notifier: ["notify called on non-notifier object"], |
106 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], | 107 proto_poison_pill: ["Generic use of __proto__ accessor not allowed
"], |
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1332 %SetOverflowedStackTrace(this, void 0); | 1333 %SetOverflowedStackTrace(this, void 0); |
1333 } | 1334 } |
1334 | 1335 |
1335 %DefineOrRedefineAccessorProperty( | 1336 %DefineOrRedefineAccessorProperty( |
1336 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1337 boilerplate, 'stack', getter, setter, DONT_ENUM); |
1337 | 1338 |
1338 return boilerplate; | 1339 return boilerplate; |
1339 } | 1340 } |
1340 | 1341 |
1341 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1342 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
OLD | NEW |