W3C home > Mailing lists > Public > public-html@w3.org > April 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 07 Apr 2011 13:00:50 +0000
To: public-html@w3.org
Message-ID: <bug-12443-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12443

           Summary: DataTransfer's setData() and clearData() should return
                    booleans
           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,
                    public-html@w3.org


These methods from
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-datatransfer-interface
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:
http://msdn.microsoft.com/en-us/library/ms536352.aspx
http://msdn.microsoft.com/en-us/library/ms536744.aspx
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:27 GMT