- From: Tobie Langel <notifications@github.com>
- Date: Tue, 22 Aug 2017 13:21:37 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <heycam/webidl/pull/421/review/57771904@github.com>
tobie commented on this pull request.
> @@ -3460,7 +3457,9 @@ interfaces that have interface members with these names.
typeof SessionManager.prototype.values; // Evaluates to "function"
var it = sm.values(); // values() returns an iterator object
- String(it); // Evaluates to "[object SessionManager Iterator]"
+ String(it); // Evaluates to "[object SessionManagerIterator]"
I don't think we should change this now.
> </blockquote>
In the ECMAScript language binding, the [=interface prototype object=]
for the <code class="idl">SessionManager</code> [=interface=]
has a <code>values</code> method that is a function, which, when invoked,
returns an iterator object that itself has a <code>next</code> method that returns the
- next value to be iterated over. It has <code>values</code> and <code>entries</code>
- methods that iterate over the indexes of the list of session objects
- and [index, session object] pairs, respectively. It also has
+ next value to be iterated over. It has <code>keys</code> and <code>entries</code>
+ methods that iterate over the usernames of session objects
+ and [username, Session object] pairs, respectively. It also has
Can you use the tuple/pair notation from infra here (either `(username, Session object)` or `username/Session object`)?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/421#pullrequestreview-57771904
Received on Tuesday, 22 August 2017 13:22:02 UTC