<?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>20004</bug_id>
          
          <creation_ts>2012-11-19 10:19:21 +0000</creation_ts>
          <short_desc>Maybe DataTransfer should have a constructor, for use with synthetic events. If there are no use cases for synthetic drag events, maybe drop the DragEvent constructor instead?</short_desc>
          <delta_ts>2013-03-06 20:51:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#datatransfer</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78461</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-11-19 10:19:21 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html
Multipage: http://www.whatwg.org/C#datatransfer
Complete: http://www.whatwg.org/c#datatransfer

Comment:
Maybe DataTransfer should have a constructor, for use with synthetic events.
If there are no use cases for synthetic drag events, maybe drop the DragEvent
constructor instead?

Posted from: 81.231.170.159
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4) Presto/2.12.388 Version/12.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84036</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-03-06 20:49:55 +0000</bug_when>
    <thetext>Creating a DataTransfer object is rather complicated because to make that object work the browser has to do magic in the background, deeply embedded in the way drag events fire.

The DragEvent constructor is there just for consistency with other interfaces. It&apos;s not useful, but I don&apos;t know if it&apos;s more confusing to remove it or keep it.

I&apos;ve added a note to this effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84038</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-03-06 20:51:51 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7735.
Check-in comment: Point out that the constructor isn&apos;t really useful here.
http://html5.org/tools/web-apps-tracker?from=7734&amp;to=7735</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>