[Webkit-unassigned] [Bug 164114] DOMStringMap reports properties as non-enumerable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 15:28:40 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=164114

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
Relevant specs:
- https://heycam.github.io/webidl/#getownproperty-guts (2.7-9)
"""
If O implements an interface with a named property setter, then set desc.[[Writable]] to true, otherwise set it to false.
If O implements an interface with the [LegacyUnenumerableNamedProperties] extended attribute, then set desc.[[Enumerable]] to false, otherwise set it to true.
Set desc.[[Configurable]] to true.
"""

- https://html.spec.whatwg.org/multipage/dom.html#domstringmap
Interface is not marked as [LegacyUnenumerableNamedProperties].

So I believe the DOMStringMap's named properties should be Configurable, Enumerable and Writable (because there is a named setter).

We currently do the complete opposite.

-- 
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/20161028/d5846fb7/attachment.html>


More information about the webkit-unassigned mailing list