<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12443</bug_id>
          
          <creation_ts>2011-04-07 13:00:49 +0000</creation_ts>
          <short_desc>DataTransfer&apos;s setData() and clearData() should return booleans</short_desc>
          <delta_ts>2011-08-04 05:35:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hallvord R. M. Steen">hsteen</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47233</commentid>
    <comment_count>0</comment_count>
    <who name="Hallvord R. M. Steen">hsteen</who>
    <bug_when>2011-04-07 13:00:49 +0000</bug_when>
    <thetext>These methods from http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#the-datatransfer-interface are currently spec&apos;ed as void, should return a boolean value indicating whether the operation passed or failed. 

This is how Microsoft has spec&apos;ed these methods:
http://msdn.microsoft.com/en-us/library/ms536352.aspx
http://msdn.microsoft.com/en-us/library/ms536744.aspx
and while it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48580</commentid>
    <comment_count>1</comment_count>
    <who name="Hallvord R. M. Steen">hsteen</who>
    <bug_when>2011-05-18 06:43:49 +0000</bug_when>
    <thetext>With the DnD-derived model where these methods operate on a DataTransfer object and not directly on the clipboard, we can not really give the script feedback on whether they succeeded or not, because we won&apos;t know that until the script has completed. Invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53977</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:35:01 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>