<?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>23792</bug_id>
          
          <creation_ts>2013-11-11 10:05:12 +0000</creation_ts>
          <short_desc>Event dispatching algorithm doesn&apos;t support the load event fired at window</short_desc>
          <delta_ts>2013-11-12 18:51:02 +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>DOM</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>---</target_milestone>
          
          <blocked>23806</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Ms2ger">Ms2ger</assigned_to>
          <cc>mike</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>96118</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-11-11 10:05:12 +0000</bug_when>
    <thetext>&lt;http://www.whatwg.org/html/#the-end&gt; step 7.2 has

&gt; If the Document is in a browsing context, fire a simple event
&gt; named load at the Document&apos;s Window object, but with its target
&gt; set to the Document object (and the currentTarget set to the
&gt; Window object).

This would mean having to fix up the target somewhere in the middle of &lt;http://dom.spec.whatwg.org/#concept-event-dispatch&gt;. We should make the algorithm support this use case instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96189</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-11-12 18:47:43 +0000</bug_when>
    <thetext>https://github.com/whatwg/dom/commit/d0f2c0bbc940061ac2a4623553de5c26409cce96</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>