W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 09 Jul 2013 03:31:54 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22600-3890-smZSwhc9q6@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC