| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 uncaught_exception: ["Uncaught ", "%0"], | 57 uncaught_exception: ["Uncaught ", "%0"], |
| 58 stack_trace: ["Stack Trace:\n", "%0"], | 58 stack_trace: ["Stack Trace:\n", "%0"], |
| 59 called_non_callable: ["%0", " is not a function"], | 59 called_non_callable: ["%0", " is not a function"], |
| 60 undefined_method: ["Object ", "%1", " has no method '", "%0", "'"
], | 60 undefined_method: ["Object ", "%1", " has no method '", "%0", "'"
], |
| 61 property_not_function: ["Property '", "%0", "' of object ", "%1", " is
not a function"], | 61 property_not_function: ["Property '", "%0", "' of object ", "%1", " is
not a function"], |
| 62 cannot_convert_to_primitive: ["Cannot convert object to primitive value"], | 62 cannot_convert_to_primitive: ["Cannot convert object to primitive value"], |
| 63 not_constructor: ["%0", " is not a constructor"], | 63 not_constructor: ["%0", " is not a constructor"], |
| 64 not_defined: ["%0", " is not defined"], | 64 not_defined: ["%0", " is not defined"], |
| 65 non_object_property_load: ["Cannot read property '", "%0", "' of ", "%1"]
, | 65 non_object_property_load: ["Cannot read property '", "%0", "' of ", "%1"]
, |
| 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"], | |
| 68 with_expression: ["%0", " has no properties"], | 67 with_expression: ["%0", " has no properties"], |
| 69 illegal_invocation: ["Illegal invocation"], | 68 illegal_invocation: ["Illegal invocation"], |
| 70 no_setter_in_callback: ["Cannot set property ", "%0", " of ", "%1", "
which has only a getter"], | 69 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"], | 70 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"], | 71 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"], | 72 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"], | 73 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"], | 74 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"], | 75 undefined_or_null_to_object: ["Cannot convert undefined or null to object"], |
| 77 reduce_no_initial: ["Reduce of empty array with no initial value"]
, | 76 reduce_no_initial: ["Reduce of empty array with no initial value"]
, |
| (...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1347 %GetAndClearOverflowedStackTrace(this); | 1346 %GetAndClearOverflowedStackTrace(this); |
| 1348 }; | 1347 }; |
| 1349 | 1348 |
| 1350 %DefineOrRedefineAccessorProperty( | 1349 %DefineOrRedefineAccessorProperty( |
| 1351 boilerplate, 'stack', getter, setter, DONT_ENUM); | 1350 boilerplate, 'stack', getter, setter, DONT_ENUM); |
| 1352 | 1351 |
| 1353 return boilerplate; | 1352 return boilerplate; |
| 1354 } | 1353 } |
| 1355 | 1354 |
| 1356 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); | 1355 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); |
| OLD | NEW |