[Webkit-unassigned] [Bug 162932] New: Update DataTransfer.prototype.types to a frozen array that updates on changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 4 13:23:39 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=162932
Bug ID: 162932
Summary: Update DataTransfer.prototype.types to a frozen array
that updates on changes
Classification: Unclassified
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: d at domenic.me
In https://github.com/whatwg/html/issues/11#issuecomment-249155408 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 https://github.com/whatwg/html/pull/1860, with web platform tests (unfortunately manual) available at https://github.com/w3c/web-platform-tests/pull/3871
--
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/20161004/c33b0416/attachment.html>
More information about the webkit-unassigned
mailing list