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

Unified Diff: src/messages.js

Issue 99573002: Promises: some adaptations to spec (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Throw on non-function resolver Created 6 years, 11 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 | « no previous file | src/promise.js » ('j') | src/promise.js » ('J')
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 c7096724ace127053e80327f116de8c3d34ac646..20d5f991a547ad4514941c3043ef8982ab7e44ff 100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -109,8 +109,9 @@ var kMessages = {
invalid_argument: ["invalid_argument"],
data_view_not_array_buffer: ["First argument to DataView constructor must be an ArrayBuffer"],
constructor_not_function: ["Constructor ", "%0", " requires 'new'"],
- not_a_promise: ["%0", "is not a promise"],
- promise_cyclic: ["Chaining cycle detected for promise", "%0"],
+ 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"],
array_functions_on_frozen: ["Cannot modify frozen array elements"],
array_functions_change_sealed: ["Cannot add/remove sealed array elements"],
// RangeError
« no previous file with comments | « no previous file | src/promise.js » ('j') | src/promise.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698