<?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>27916</bug_id>
          
          <creation_ts>2015-01-28 11:22:55 +0000</creation_ts>
          <short_desc>Reconsider the load event with window.open(&quot;&quot;, ...)</short_desc>
          <delta_ts>2015-09-01 08:50:13 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#apis-for-creating-and-navigating-browsing-contexts-by-name</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>
    
    <cc>Ms2ger</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117537</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-01-28 11:22:55 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/browsers.html
Multipage: https://html.spec.whatwg.org/multipage/#apis-for-creating-and-navigating-browsing-contexts-by-name
Complete: https://html.spec.whatwg.org/#apis-for-creating-and-navigating-browsing-contexts-by-name
Referrer: 

Comment:
Reconsider the load event with window.open(&quot;&quot;, ...)

Posted from: 91.182.76.126 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117538</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2015-01-28 11:26:03 +0000</bug_when>
    <thetext>http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3386

&lt;!DOCTYPE html&gt;
...&lt;script&gt;
var win = window.open(&apos;&apos;, &apos;&apos;, &apos;&apos;);
win.onload = function(e) { w(e) };
w(win);
&lt;/script&gt;

does not appear to log a load event in either Firefox or Chrome.

However, Firefox appears to dispatch a load event (async, as specced) if you use &apos;about:blank&apos; rather than &apos;&apos;. Chrome doesn&apos;t in that case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117607</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-01-29 23:06:45 +0000</bug_when>
    <thetext>I think this was an intentional rationalisation, IIRC. Are there pages that depend on not sending the load event?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117616</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-01-30 08:49:53 +0000</bug_when>
    <thetext>This was discovered as part of reviewing a test case. Web compat situation unknown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118285</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-03-04 18:59:53 +0000</bug_when>
    <thetext>Well, I&apos;ve reconsidered it, and it seems reasonable to me... Unless there&apos;s a compat need, I think we should stick with it...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>