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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28601

            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
member?


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
[[Get]]??

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 4 May 2015 20:57:54 UTC