No subject


Tue May 3 15:05:30 PDT 2016


For the sake of web compatibility and developer experience, I think Safari should match behavior of other browsers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--1477645486.ACeDea1.8703
Date: Fri, 28 Oct 2016 02:04:46 -0700
MIME-Version: 1.0
Content-Type: text/html

<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DOMStringMap reports properties as non-enumerable"
   href="https://bugs.webkit.org/show_bug.cgi?id=164114">164114</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DOMStringMap reports properties as non-enumerable
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari 10
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>macOS 10.12
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>HTML DOM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shvaikalesh&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>cdumez&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Consider the following HTML: `&lt;div id=map data-size=16&gt;&lt;/div&gt;`.

In Chrome and Firefox, `Object.getOwnPropertyDescriptor(map.dataset, &quot;zoom&quot;).enumerable` is `true`.
In Safari it is `false`, but &quot;zoom&quot; 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