[Webkit-unassigned] [Bug 112295] New: Custom bindings for Cliipboard::types() shouldn't return null if empty
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 13 15:14:30 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=112295
Summary: Custom bindings for Cliipboard::types() shouldn't
return null if empty
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dcheng at chromium.org
CC: eric at webkit.org
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).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list