Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: src/messages.js

Issue 7056041: Reapply: "Make instanceof and Object.getPrototypeOf work for proxies, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix for Runtime_GetPrototype Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/runtime.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 null_to_object: ["Cannot convert null to object"], 185 null_to_object: ["Cannot convert null to object"],
186 reduce_no_initial: ["Reduce of empty array with no initial valu e"], 186 reduce_no_initial: ["Reduce of empty array with no initial valu e"],
187 getter_must_be_callable: ["Getter must be a function: ", "%0"], 187 getter_must_be_callable: ["Getter must be a function: ", "%0"],
188 setter_must_be_callable: ["Setter must be a function: ", "%0"], 188 setter_must_be_callable: ["Setter must be a function: ", "%0"],
189 value_and_accessor: ["Invalid property. A property cannot both have accessors and be writable or have a value: ", "%0"], 189 value_and_accessor: ["Invalid property. A property cannot both have accessors and be writable or have a value: ", "%0"],
190 proto_object_or_null: ["Object prototype may only be an Object or null"], 190 proto_object_or_null: ["Object prototype may only be an Object or null"],
191 property_desc_object: ["Property description must be an object: ", "%0"], 191 property_desc_object: ["Property description must be an object: ", "%0"],
192 redefine_disallowed: ["Cannot redefine property: ", "%0"], 192 redefine_disallowed: ["Cannot redefine property: ", "%0"],
193 define_disallowed: ["Cannot define property, object is not exte nsible: ", "%0"], 193 define_disallowed: ["Cannot define property, object is not exte nsible: ", "%0"],
194 non_extensible_proto: ["%0", " is not extensible"], 194 non_extensible_proto: ["%0", " is not extensible"],
195 handler_non_object: ["Proxy.", "%0", " called with non-object as handler"],
195 handler_trap_missing: ["Proxy handler ", "%0", " has no '", "%1", "' trap"], 196 handler_trap_missing: ["Proxy handler ", "%0", " has no '", "%1", "' trap"],
197 proxy_prop_not_configurable: ["Trap ", "%1", " of proxy handler ", "%0", " returned non-configurable descriptor for property ", "%2"],
198 proxy_non_object_prop_names: ["Trap ", "%1", " returned non-object ", "%0 "],
199 proxy_repeated_prop_name: ["Trap ", "%1", " returned repeated property name ", "%2"],
196 // RangeError 200 // RangeError
197 invalid_array_length: ["Invalid array length"], 201 invalid_array_length: ["Invalid array length"],
198 stack_overflow: ["Maximum call stack size exceeded"], 202 stack_overflow: ["Maximum call stack size exceeded"],
199 // SyntaxError 203 // SyntaxError
200 unable_to_parse: ["Parse error"], 204 unable_to_parse: ["Parse error"],
201 duplicate_regexp_flag: ["Duplicate RegExp flag ", "%0"], 205 duplicate_regexp_flag: ["Duplicate RegExp flag ", "%0"],
202 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], 206 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"],
203 illegal_break: ["Illegal break statement"], 207 illegal_break: ["Illegal break statement"],
204 illegal_continue: ["Illegal continue statement"], 208 illegal_continue: ["Illegal continue statement"],
205 illegal_return: ["Illegal return statement"], 209 illegal_return: ["Illegal return statement"],
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 else throw e; 1091 else throw e;
1088 } 1092 }
1089 } 1093 }
1090 1094
1091 1095
1092 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', errorToString]); 1096 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', errorToString]);
1093 1097
1094 // Boilerplate for exceptions for stack overflows. Used from 1098 // Boilerplate for exceptions for stack overflows. Used from
1095 // Isolate::StackOverflow(). 1099 // Isolate::StackOverflow().
1096 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 1100 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698