W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 16386] Issue in example provided for es-sequence in WebIDL.

From: <bugzilla@jessica.w3.org>
Date: Mon, 19 Mar 2012 08:32:17 +0000
To: public-script-coord@w3.org
Message-Id: <E1S9Y0n-0002gq-2e@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16386

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2012-03-19 08:32:16 UTC ---
Hi Vineet, thanks for the comment, but the example is correct.  Operations that
return a sequence<T> type will create a new JS Array object each time the
Function is called.  I've mentioned this now in the comment:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.482;r2=1.483;f=h

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 19 March 2012 08:32:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC