| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 non_object_property_store: ["Cannot set property '", "%0", "' of ", "%1"], | 66 non_object_property_store: ["Cannot set property '", "%0", "' of ", "%1"], |
| 67 non_object_property_call: ["Cannot call method '", "%0", "' of ", "%1"], | 67 non_object_property_call: ["Cannot call method '", "%0", "' of ", "%1"], |
| 68 with_expression: ["%0", " has no properties"], | 68 with_expression: ["%0", " has no properties"], |
| 69 illegal_invocation: ["Illegal invocation"], | 69 illegal_invocation: ["Illegal invocation"], |
| 70 no_setter_in_callback: ["Cannot set property ", "%0", " of ", "%1", "
which has only a getter"], | 70 no_setter_in_callback: ["Cannot set property ", "%0", " of ", "%1", "
which has only a getter"], |
| 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 null_to_object: ["Cannot convert 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"], |
| 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"], |
| (...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1334 %SetOverflowedStackTrace(this, void 0); | 1334 %SetOverflowedStackTrace(this, void 0); |
| 1335 } | 1335 } |
| 1336 | 1336 |
| 1337 %DefineOrRedefineAccessorProperty( | 1337 %DefineOrRedefineAccessorProperty( |
| 1338 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1338 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1339 | 1339 |
| 1340 return boilerplate; | 1340 return boilerplate; |
| 1341 } | 1341 } |
| 1342 | 1342 |
| 1343 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1343 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |