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

[Bug 18878] New: [[NativeBrand]] of "Function" doesn't seem to exist in current ES6 drafts

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 Sep 2012 13:16:47 +0000
To: public-script-coord@w3.org
Message-ID: <bug-18878-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18878

           Summary: [[NativeBrand]] of "Function" doesn't seem to exist in
                    current ES6 drafts
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
        AssignedTo: cam@mcc.id.au
        ReportedBy: ayg@aryeh.name
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org


The links to ES6 in WebIDL go to
<http://people.mozilla.org/~jorendorff/es6-draft.html>.  That says:

"""
The value of a [[NativeBrand]] property is a single member of this set of
enumerated values: NativeFunction, NativeArray, StringWrapper, BooleanWrapper,
NumberWrapper, NativeMath, NativeDate, NativeRegExp, NativeError, NativeJSON,
NativeArguments, NativePrivateName.
"""

But this says function objects have a [[NativeBrand]] of Function, which isn't
on the list:

http://dev.w3.org/2006/webapi/WebIDL/#dfn-function-object

Maybe it should be NativeFunction?

-- 
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 Friday, 14 September 2012 13:16:49 UTC

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