<?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>16337</bug_id>
          
          <creation_ts>2012-03-12 21:16:44 +0000</creation_ts>
          <short_desc>initEvent()</short_desc>
          <delta_ts>2012-04-27 23:59:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-dom/2011JanMar/0068.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LC, needsReview</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>travil</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65401</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-12 21:16:44 +0000</bug_when>
    <thetext>In most implementations initEvent() can be invoked after dispatch as well.  
I am not sure why we should disallow that. If we do disallow that, it  
unsetting the &quot;trusted flag&quot; does not make much sense, as that can never  
be set in the first place for events an author has control over that are  
not yet dispatched.

It also makes the &quot;requirement&quot; on Event.type twice using different  
terminology.


-- 
Anne van Kesteren
http://annevankesteren.nl/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65402</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-12 21:18:31 +0000</bug_when>
    <thetext>Ooops. Missed my header info...

PORT of TRACKER ISSUE-186...
[see http://lists.w3.org/Archives/Public/www-dom/2011JanMar/0068.html]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65403</commentid>
    <comment_count>2</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-12 21:20:37 +0000</bug_when>
    <thetext>[see http://lists.w3.org/Archives/Public/www-dom/2011JanMar/0071.html]

On 3/4/11 10:21 AM, Anne van Kesteren wrote:
&gt; In most implementations initEvent() can be invoked after dispatch as
&gt; well. I am not sure why we should disallow that.

I believe pages use this to redispatch events....

-Boris</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66950</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-04-23 16:31:17 +0000</bug_when>
    <thetext>Agree with allowing initEvent to be invoked after dispatch.

I&apos;m looking through the spec to find places that say things to the contrary...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67152</commentid>
    <comment_count>4</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-04-27 23:59:44 +0000</bug_when>
    <thetext>With the latest update today, I&apos;ve resolved this issue so that initEvent can be invoked after dispatch for both trusted and untrusted events. I fixed the few places in the spec that were incongruent with this notion. This should now line up property with DOM4.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>