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

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