| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 apply_non_function: ["Function.prototype.apply was called on ", "%0
", ", which is a ", "%1", " and not a function"], | 71 apply_non_function: ["Function.prototype.apply was called on ", "%0
", ", which is a ", "%1", " and not a function"], |
| 72 apply_wrong_args: ["Function.prototype.apply: Arguments list has
wrong type"], | 72 apply_wrong_args: ["Function.prototype.apply: Arguments list has
wrong type"], |
| 73 invalid_in_operator_use: ["Cannot use 'in' operator to search for '", "%
0", "' in ", "%1"], | 73 invalid_in_operator_use: ["Cannot use 'in' operator to search for '", "%
0", "' in ", "%1"], |
| 74 instanceof_function_expected: ["Expecting a function in instanceof check, but
got ", "%0"], | 74 instanceof_function_expected: ["Expecting a function in instanceof check, but
got ", "%0"], |
| 75 instanceof_nonobject_proto: ["Function has non-object prototype '", "%0", "
' in instanceof check"], | 75 instanceof_nonobject_proto: ["Function has non-object prototype '", "%0", "
' in instanceof check"], |
| 76 undefined_or_null_to_object: ["Cannot convert undefined or null to object"], | 76 undefined_or_null_to_object: ["Cannot convert undefined or null to object"], |
| 77 reduce_no_initial: ["Reduce of empty array with no initial value"]
, | 77 reduce_no_initial: ["Reduce of empty array with no initial value"]
, |
| 78 getter_must_be_callable: ["Getter must be a function: ", "%0"], | 78 getter_must_be_callable: ["Getter must be a function: ", "%0"], |
| 79 setter_must_be_callable: ["Setter must be a function: ", "%0"], | 79 setter_must_be_callable: ["Setter must be a function: ", "%0"], |
| 80 value_and_accessor: ["Invalid property. A property cannot both hav
e accessors and be writable or have a value, ", "%0"], | 80 value_and_accessor: ["Invalid property. A property cannot both hav
e accessors and be writable or have a value, ", "%0"], |
| 81 proto_object_or_null: ["Object prototype may only be an Object or nul
l"], | 81 proto_object_or_null: ["Object prototype may only be an Object or nul
l: ", "%0"], |
| 82 property_desc_object: ["Property description must be an object: ", "%
0"], | 82 property_desc_object: ["Property description must be an object: ", "%
0"], |
| 83 redefine_disallowed: ["Cannot redefine property: ", "%0"], | 83 redefine_disallowed: ["Cannot redefine property: ", "%0"], |
| 84 define_disallowed: ["Cannot define property:", "%0", ", object is
not extensible."], | 84 define_disallowed: ["Cannot define property:", "%0", ", object is
not extensible."], |
| 85 non_extensible_proto: ["%0", " is not extensible"], | 85 non_extensible_proto: ["%0", " is not extensible"], |
| 86 handler_non_object: ["Proxy.", "%0", " called with non-object as ha
ndler"], | 86 handler_non_object: ["Proxy.", "%0", " called with non-object as ha
ndler"], |
| 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"], |
| (...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 %GetAndClearOverflowedStackTrace(this); | 1356 %GetAndClearOverflowedStackTrace(this); |
| 1357 }; | 1357 }; |
| 1358 | 1358 |
| 1359 %DefineOrRedefineAccessorProperty( | 1359 %DefineOrRedefineAccessorProperty( |
| 1360 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1360 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1361 | 1361 |
| 1362 return boilerplate; | 1362 return boilerplate; |
| 1363 } | 1363 } |
| 1364 | 1364 |
| 1365 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1365 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |