<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 - Update DataTransfer.prototype.types to a frozen array that updates on changes"
   href="https://bugs.webkit.org/show_bug.cgi?id=162932">162932</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Update DataTransfer.prototype.types to a frozen array that updates on changes
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari Technology Preview
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </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 Editing
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>d&#64;domenic.me
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In <a href="https://github.com/whatwg/html/issues/11#issuecomment-249155408">https://github.com/whatwg/html/issues/11#issuecomment-249155408</a> we discussed aligning all browsers on a new model for DataTransfer.prototype.types. It has the following changes from WebKit's model:

- Return a FrozenArray, instead of an array
- Keep returning the same object until changes are made, instead of returning a new object each time. (This helps make dataTransfer.types === dataTransfer.types, which is false in Chrome currently.)

The spec pull request is up at <a href="https://github.com/whatwg/html/pull/1860">https://github.com/whatwg/html/pull/1860</a>, with web platform tests (unfortunately manual) available at <a href="https://github.com/w3c/web-platform-tests/pull/3871">https://github.com/w3c/web-platform-tests/pull/3871</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>