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

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> ---
> "For each dictionary member member declared on dictionary, in order"

If you look at how "dictionary" is defined, it comes from "For each dictionary
dictionary in dictionaries" and "dictionaries" is "a list consisting of D and
all of D’s inherited dictionaries" where D is an IDL dictionary type.

So "dictionary" in the above phrase is an IDL dictionary type, not a JS value
or IDL value, and "declared on dictionary" means as a member of the relevant
dictionary type.

There is not checking for a member going on at all, in other words.  You just
take all the members listed in your IDL, and for each one you do a [[Get]] on
the JS object.

And to answer your question in comment 0, for the typical way events are
defined, you can in fact pass an event instance to that event's constructor and
it will work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 4 May 2015 21:57:37 UTC