[Bug 12443] New: DataTransfer's setData() and clearData() should return booleans


           Summary: DataTransfer's setData() and clearData() should return
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: hallvord@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

These methods from
are currently spec'ed as void, should return a boolean value indicating whether
the operation passed or failed. 

This is how Microsoft has spec'ed these methods:
and while it's not a feature most scripts will make use of, it could be useful
if for example a web application expects to run on a platform where the memory
available for clipboard operations is limited, or where another application may
have locked the clipboard when the setData()/clearData() method is called.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 7 April 2011 13:00:55 UTC