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

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Dec 2012 05:29:57 +0000
To: public-script-coord@w3.org
Message-ID: <bug-16767-3890-8dMjmAP0vF@http.www.w3.org/Bugs/Public/>

--- Comment #22 from Cameron McCormack <cam@mcc.id.au> ---
OK, I withdraw my earlier held reservations about converting any kind of
platform object to sequences:


This change:

  * makes any kind of object acceptable to be converted to sequences, array
    dictionaries, callback functions and callback interface types -- except for
    Date and RegExp objects, since they're only treated as their corresponding
    IDL types (or object, of course)

  * makes the corresponding change for the "convert ES value to IDL union type
    value" algorithm

  * ensures that the "convert ES value to IDL sequence value" and "... to
    dictionary value" and "... to callback function/interface value" algorithms
    all prevent a Date or RegExp object from being converted

I think this makes overload resolution and type conversion even simpler than it
was before.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 11 December 2012 05:30:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:08 UTC