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

Side by Side Diff: src/messages.js

Issue 555149: Added Object.defineProperty + needed internal functionality:... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/runtime.h » ('j') | no next file with comments »
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 invalid_in_operator_use: "Cannot use 'in' operator to search for '%0' in %1", 155 invalid_in_operator_use: "Cannot use 'in' operator to search for '%0' in %1",
156 instanceof_function_expected: "Expecting a function in instanceof check, b ut got %0", 156 instanceof_function_expected: "Expecting a function in instanceof check, b ut got %0",
157 instanceof_nonobject_proto: "Function has non-object prototype '%0' in i nstanceof check", 157 instanceof_nonobject_proto: "Function has non-object prototype '%0' in i nstanceof check",
158 null_to_object: "Cannot convert null to object", 158 null_to_object: "Cannot convert null to object",
159 reduce_no_initial: "Reduce of empty array with no initial value ", 159 reduce_no_initial: "Reduce of empty array with no initial value ",
160 getter_must_be_callable: "Getter must be a function: %0", 160 getter_must_be_callable: "Getter must be a function: %0",
161 setter_must_be_callable: "Setter must be a function: %0", 161 setter_must_be_callable: "Setter must be a function: %0",
162 value_and_accessor: "Invalid property. A property cannot both h ave accessors and be writable or have a value: %0", 162 value_and_accessor: "Invalid property. A property cannot both h ave accessors and be writable or have a value: %0",
163 proto_object_or_null: "Object prototype may only be an Object or n ull", 163 proto_object_or_null: "Object prototype may only be an Object or n ull",
164 property_desc_object: "Property description must be an object: %0" , 164 property_desc_object: "Property description must be an object: %0" ,
165 redefine_disallowed: "Cannot redefine property: %0",
166 define_disallowed: "Cannot define property, object is not exten sible: %0",
165 // RangeError 167 // RangeError
166 invalid_array_length: "Invalid array length", 168 invalid_array_length: "Invalid array length",
167 stack_overflow: "Maximum call stack size exceeded", 169 stack_overflow: "Maximum call stack size exceeded",
168 apply_overflow: "Function.prototype.apply cannot support %0 arguments", 170 apply_overflow: "Function.prototype.apply cannot support %0 arguments",
169 // SyntaxError 171 // SyntaxError
170 unable_to_parse: "Parse error", 172 unable_to_parse: "Parse error",
171 duplicate_regexp_flag: "Duplicate RegExp flag %0", 173 duplicate_regexp_flag: "Duplicate RegExp flag %0",
172 invalid_regexp: "Invalid RegExp pattern /%0/", 174 invalid_regexp: "Invalid RegExp pattern /%0/",
173 illegal_break: "Illegal break statement", 175 illegal_break: "Illegal break statement",
174 illegal_continue: "Illegal continue statement", 176 illegal_continue: "Illegal continue statement",
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } ); 929 return this.name + ": " + FormatMessage({ type: type, args: this.arguments } );
928 } 930 }
929 var message = this.message; 931 var message = this.message;
930 return this.name + (message ? (": " + message) : ""); 932 return this.name + (message ? (": " + message) : "");
931 }, DONT_ENUM); 933 }, DONT_ENUM);
932 934
933 935
934 // Boilerplate for exceptions for stack overflows. Used from 936 // Boilerplate for exceptions for stack overflows. Used from
935 // Top::StackOverflow(). 937 // Top::StackOverflow().
936 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 938 const kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « no previous file | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698