<?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>22847</bug_id>
          
          <creation_ts>2013-07-31 17:35:59 +0000</creation_ts>
          <short_desc>Add dummy captureEvents/releaseEvents to document/window</short_desc>
          <delta_ts>2013-08-05 18:06:48 +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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olli Pettay">bugs</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>VYV03354</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91466</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2013-07-31 17:35:59 +0000</bug_when>
    <thetext>Looks like some non-old-IE code paths expects the methods to exist.

https://bugzilla.mozilla.org/show_bug.cgi?id=673919#c12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91474</commentid>
    <comment_count>1</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-07-31 21:14:54 +0000</bug_when>
    <thetext>Is routeEvent() also needed? IE11 added dummy captureEvents/releaseEvents, but did not add routeEvent. Chrome didn&apos;t support routeEvent from the start.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91476</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-31 21:24:15 +0000</bug_when>
    <thetext>Should probably keep this closer to the actual DOM Events methods.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91487</commentid>
    <comment_count>3</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2013-07-31 22:30:10 +0000</bug_when>
    <thetext>Ah, routeEvent isn&apos;t needed.

This has nothing to do with event handling. captureEvents/releaseEvents
are just dummy methods. Netscape 4 had some implemention.
The methods should be added to (HTML)Document and window, so I think
HTML spec is the natural place.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91515</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-01 17:27:33 +0000</bug_when>
    <thetext>Ok, can you elaborate on precisely what methods you want added? I need the interfaces they&apos;re on, the method names, their return values, their signatures, and what IDL attributes they should have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91586</commentid>
    <comment_count>5</comment_count>
    <who name="Masatoshi Kimura">VYV03354</who>
    <bug_when>2013-08-04 03:12:15 +0000</bug_when>
    <thetext>Here is my proposal:
[NoInterfaceObject]
interface EventTargetObsolete {
  // dummy no-op methods for lagacy compatibility
  void captureEvents(long eventFlags);
  void releaseEvents(long eventFlags);
};

Window implements EventTargetObsolete;
HTMLDocument implements EventTargetObsolete;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91654</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-08-05 18:06:15 +0000</bug_when>
    <thetext>Oh, it&apos;s on Window _and_ Document, interesting. Ok. Thanks. Done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91655</commentid>
    <comment_count>7</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-08-05 18:06:48 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8127.
Check-in comment: Add some obsolete methods that don&apos;t do anything but are needed for compat.
http://html5.org/tools/web-apps-tracker?from=8126&amp;to=8127</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>