WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
162932
Update DataTransfer.prototype.types to a frozen array that updates on changes
https://bugs.webkit.org/show_bug.cgi?id=162932
Summary
Update DataTransfer.prototype.types to a frozen array that updates on changes
Domenic Denicola
Reported
2016-10-04 13:23:39 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug