[Webkit-unassigned] [Bug 149474] Web IDL: DOM "onfoo" attributes should be configurable and enumerable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 22 14:50:08 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149474
--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
Yes, Window is defined with [PrimaryGlobal]:
https://html.spec.whatwg.org/multipage/browsers.html#the-window-object
As per the Web IDL spec [1], if the interface has [Global] or [PrimaryGlobal], the attributes should be on the instance rather than the prototype.
However, our bindings generator currently has an exception that makes attributes that are on the instance non-configurable.
If an attribute is not enumerable, it likely means that it has [NotEnumerable] on it in the WebKit IDL because they should be enumerable by default.
[1] https://heycam.github.io/webidl/#es-attributes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150922/ed224023/attachment-0001.html>
More information about the webkit-unassigned
mailing list