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

[Bug 16767] New: Allow user objects for Array[] types

From: <bugzilla@jessica.w3.org>
Date: Wed, 18 Apr 2012 07:52:15 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16767-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16767

           Summary: Allow user objects for Array[] types
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


Why does Array[] conversion from JS value to IDL value not accept a user object
like {'0':'foo', 'length':1}? (It uses the same rule as sequence<T> which
throws TypeError for user objects, if I'm reading it correctly.)

-- 
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 Wednesday, 18 April 2012 07:52:23 UTC

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