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

[Bug 20458] New: 4.2.22: converting IDL value to IDL type?

From: <bugzilla@jessica.w3.org>
Date: Thu, 20 Dec 2012 09:24:09 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20458-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20458

            Bug ID: 20458
           Summary: 4.2.22: converting IDL value to IDL type?
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: jmdyck@ibiblio.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

In "4.2.22. Nullable types -- T?",
in the IDL->ECMAscript conversion,
the second bullet says:

    Otherwise, the ECMAScript value is the result of converting the
    IDL nullable type value to the inner IDL type T.

which incorrectly implies that you can get an ECMAScript value when you convert
an IDL value to an IDL type.

I think you need to change:
    to the inner IDL type T
to:
    using the rules for the inner IDL type T

Or perhaps change the whole bullet to something like:

    Otherwise, the IDL value must be a value of the nullable type's
    inner type T. The ECMAScript value is the result of converting
    the IDL value using the rules for T.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 20 December 2012 09:24:15 UTC

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