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

[Bug 28601] New: Converting an ECMAScript value to a dictionary; use [[GetOwnProperty]] or [[Get]]?

From: <bugzilla@jessica.w3.org>
Date: Mon, 04 May 2015 20:57:46 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28601-3890@http.www.w3.org/Bugs/Public/>

            Bug ID: 28601
           Summary: Converting an ECMAScript value to a dictionary; use
                    [[GetOwnProperty]] or [[Get]]?
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: travil@microsoft.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

Should we use [[GetOwnProperty]] or [[Get]] for checking the dictionary for a

Asking because with accessors on prototypes of Event objects, can I pass an
event object instance in the dictionary parameter for an event constructor and
have it work?

In http://heycam.github.io/webidl/#es-dictionary, is ambiguously says:

"For each dictionary member member declared on dictionary, in order"

It reads (to me) like "on" is a [[GetOwnProperty]], but perhaps it should be

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 4 May 2015 20:58:23 UTC

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