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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 02:10:56 PDT 2016


            Bug ID: 164114
           Summary: DOMStringMap reports properties as non-enumerable
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com
                CC: cdumez at apple.com

Consider the following HTML: `<div id=map data-size=16></div>`.

In Chrome and Firefox, `Object.getOwnPropertyDescriptor(map.dataset, "zoom").enumerable` is `true`.
In Safari it is `false`, but "zoom" gets listed by `Object.keys`.
However, it does not work with `Object.assign` and also reports `false` in `propertyIsEnumerable` check.

More information about the webkit-unassigned mailing list