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

Unified Diff: src/messages.js

Issue 1118273004: Migrate error messages, part 8. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/messages.h ('k') | src/promise.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index 8bfd0bc397fae2c257eb94dd3cdfd68f9e50d264..82acb0c0ce19ec4cc997fed50bead34886577d89 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -85,34 +85,10 @@ var kMessages = {
value_and_accessor: ["Invalid property. A property cannot both have accessors and be writable or have a value, ", "%0"],
proto_object_or_null: ["Object prototype may only be an Object or null: ", "%0"],
non_extensible_proto: ["%0", " is not extensible"],
- handler_non_object: ["Proxy.", "%0", " called with non-object as handler"],
- proto_non_object: ["Proxy.", "%0", " called with non-object as prototype"],
- trap_function_expected: ["Proxy.", "%0", " called with non-function for '", "%1", "' trap"],
- proxy_repeated_prop_name: ["Trap '", "%1", "' returned repeated property name '", "%2", "'"],
invalid_weakmap_key: ["Invalid value used as weak map key"],
invalid_weakset_value: ["Invalid value used in weak set"],
not_date_object: ["this is not a Date object."],
- invalid_argument: ["invalid_argument"],
- data_view_not_array_buffer: ["First argument to DataView constructor must be an ArrayBuffer"],
not_a_symbol: ["%0", " is not a symbol"],
- not_a_promise: ["%0", " is not a promise"],
- resolver_not_a_function: ["Promise resolver ", "%0", " is not a function"],
- promise_cyclic: ["Chaining cycle detected for promise ", "%0"],
- // RangeError
- invalid_array_length: ["Invalid array length"],
- invalid_array_buffer_length: ["Invalid array buffer length"],
- invalid_string_length: ["Invalid string length"],
- invalid_typed_array_offset: ["Start offset is too large:"],
- invalid_typed_array_length: ["Invalid typed array length"],
- invalid_typed_array_alignment: ["%0", " of ", "%1", " should be a multiple of ", "%2"],
- typed_array_set_source_too_large:
- ["Source is too large"],
- typed_array_set_negative_offset:
- ["Start offset is negative"],
- invalid_data_view_offset: ["Start offset is outside the bounds of the buffer"],
- invalid_data_view_length: ["Invalid data view length"],
- invalid_data_view_accessor_offset:
- ["Offset is outside the bounds of the DataView"],
// ReferenceError
invalid_lhs_in_assignment: ["Invalid left-hand side in assignment"],
invalid_lhs_in_for: ["Invalid left-hand side in for-loop"],
« no previous file with comments | « src/messages.h ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698