[Bug 22600] Need a way to make navigator.plugins supported named properties not enumerable

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

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

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
> It seems like it makes properties enumerable once you've tried to see if
> they're there?

It creates the properties when you try to see if they're there, and creates
them as enumerable.  Just trying to enumerate does _not_ create the properties.
 That's a bug.

That bug is being fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=855611
which will in fact make both the name and the index enumerable, per current
WebIDL spec.

> For now I've just said "The properties exposed in this way must not be
> enumerable".

Unfortunately, that directly contradicts normative requirements WebIDL has
here; we will be tracking WebIDL unless and until it gets changed (simply
because all the code in question is autogenerated in our WebIDL bindings, so
has no choice but to track WebIDL).

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

Received on Tuesday, 9 July 2013 03:31:56 UTC