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 345613003: Map/Set: Implement constructor parameter handling (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ascii art Created 6 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 | « src/collection.js ('k') | test/mjsunit/harmony/collections.js » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // ------------------------------------------------------------------- 5 // -------------------------------------------------------------------
6 6
7 var kMessages = { 7 var kMessages = {
8 // Error 8 // Error
9 cyclic_proto: ["Cyclic __proto__ value"], 9 cyclic_proto: ["Cyclic __proto__ value"],
10 code_gen_from_strings: ["%0"], 10 code_gen_from_strings: ["%0"],
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 invalid_argument: ["invalid_argument"], 82 invalid_argument: ["invalid_argument"],
83 data_view_not_array_buffer: ["First argument to DataView constructor must b e an ArrayBuffer"], 83 data_view_not_array_buffer: ["First argument to DataView constructor must b e an ArrayBuffer"],
84 constructor_not_function: ["Constructor ", "%0", " requires 'new'"], 84 constructor_not_function: ["Constructor ", "%0", " requires 'new'"],
85 not_a_symbol: ["%0", " is not a symbol"], 85 not_a_symbol: ["%0", " is not a symbol"],
86 not_a_promise: ["%0", " is not a promise"], 86 not_a_promise: ["%0", " is not a promise"],
87 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function "], 87 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function "],
88 promise_cyclic: ["Chaining cycle detected for promise ", "%0"], 88 promise_cyclic: ["Chaining cycle detected for promise ", "%0"],
89 array_functions_on_frozen: ["Cannot modify frozen array elements"], 89 array_functions_on_frozen: ["Cannot modify frozen array elements"],
90 array_functions_change_sealed: ["Cannot add/remove sealed array elements"], 90 array_functions_change_sealed: ["Cannot add/remove sealed array elements"],
91 first_argument_not_regexp: ["First argument to ", "%0", " must not be a re gular expression"], 91 first_argument_not_regexp: ["First argument to ", "%0", " must not be a re gular expression"],
92 not_iterable: ["%0", " is not iterable"],
93 not_an_iterator: ["%0", " is not an iterator"],
94 iterator_result_not_an_object: ["Iterator result ", "%0", " is not an object"] ,
95 iterator_value_not_an_object: ["Iterator value ", "%0", " is not an entry obj ect"],
92 // RangeError 96 // RangeError
93 invalid_array_length: ["Invalid array length"], 97 invalid_array_length: ["Invalid array length"],
94 invalid_array_buffer_length: ["Invalid array buffer length"], 98 invalid_array_buffer_length: ["Invalid array buffer length"],
95 invalid_string_length: ["Invalid string length"], 99 invalid_string_length: ["Invalid string length"],
96 invalid_typed_array_offset: ["Start offset is too large:"], 100 invalid_typed_array_offset: ["Start offset is too large:"],
97 invalid_typed_array_length: ["Invalid typed array length"], 101 invalid_typed_array_length: ["Invalid typed array length"],
98 invalid_typed_array_alignment: ["%0", " of ", "%1", " should be a multiple of ", "%2"], 102 invalid_typed_array_alignment: ["%0", " of ", "%1", " should be a multiple of ", "%2"],
99 typed_array_set_source_too_large: 103 typed_array_set_source_too_large:
100 ["Source is too large"], 104 ["Source is too large"],
101 typed_array_set_negative_offset: 105 typed_array_set_negative_offset:
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 return result; 1338 return result;
1335 }; 1339 };
1336 1340
1337 %DefineOrRedefineAccessorProperty( 1341 %DefineOrRedefineAccessorProperty(
1338 boilerplate, 'stack', getter, setter, DONT_ENUM); 1342 boilerplate, 'stack', getter, setter, DONT_ENUM);
1339 1343
1340 return boilerplate; 1344 return boilerplate;
1341 } 1345 }
1342 1346
1343 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1347 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « src/collection.js ('k') | test/mjsunit/harmony/collections.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698