- From: <bugzilla@jessica.w3.org>
- Date: Thu, 07 Apr 2011 13:00:50 +0000
- To: public-html@w3.org
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 UTC