NEW 112295
Custom bindings for Cliipboard::types() shouldn't return null if empty
https://bugs.webkit.org/show_bug.cgi?id=112295
Summary Custom bindings for Cliipboard::types() shouldn't return null if empty
Daniel Cheng
Reported 2013-03-13 15:16:56 PDT
The spec does not define DataTransfer.types as a nullable type: 15:06 < dcheng> Question... if the spec defines an attribute to return a DOMString[], it would be incorrect to return null if it's empty right? 15:07 < annevk> dcheng: yes So we shouldn't ever be returning null. Mozilla's implementation of DataTransfer confirms this: http://mxr.mozilla.org/mozilla-central/source/content/events/src/nsDOMDataTransfer.cpp#265 always returns a non-null list (unless the allocator failed).
Attachments
Note You need to log in before you can comment on or make changes to this bug.