<?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>18152</bug_id>
          
          <creation_ts>2012-07-18 17:27:38 +0000</creation_ts>
          <short_desc>Setting location before the page is done loading shouldn&apos;t always be a replace load</short_desc>
          <delta_ts>2016-04-19 22:42:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</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/#the-location-interface</bug_file_loc>
          <status_whiteboard>whatwg-resolved</status_whiteboard>
          <keywords>interopIssue</keywords>
          <priority>P1</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>travil</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70770</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:27:38 +0000</bug_when>
    <thetext>This was was cloned from bug 17041 as part of operation convergence.
Originally filed: 2012-05-12 04:00:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-05-12 04:00:46 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html
Multipage: http://www.whatwg.org/C#the-location-interface
Complete: http://www.whatwg.org/c#the-location-interface

Comment:
Setting location before the page is done loading shouldn&apos;t always be a replace
load

Posted from: 71.184.125.56 by bzbarsky@mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/15.0 Firefox/15.0a1
================================================================================
 #1   Boris Zbarsky                                   2012-05-12 04:02:01 +0000 
--------------------------------------------------------------------------------
See http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-July/027372.html for a survey of browser behavior and https://bugzilla.mozilla.org/show_bug.cgi?id=754029#c5 for the reason why the current spec behavior is not really all that great: it makes user interactions race with page loading in undesirable ways.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121057</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 10:47:25 +0000</bug_when>
    <thetext>Already fixed in nightly/ED. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=17041 and https://html5.org/r/7882 and https://github.com/whatwg/html-mirror/commit/06849ebef56d9c44249bfa8876629e6d91e6a37e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121058</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 10:58:31 +0000</bug_when>
    <thetext>Re-opening and re-prioritizing so we can (re)confirm the fix.

And again noting this seems to already be fixed in the W3C nightly/ED. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=17041 and https://html5.org/r/7882 and https://github.com/whatwg/html-mirror/commit/06849ebef56d9c44249bfa8876629e6d91e6a37e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121062</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 11:09:04 +0000</bug_when>
    <thetext>Noting this simply editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121067</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2015-06-16 11:20:23 +0000</bug_when>
    <thetext>Noting that while editorial there&apos;s also a possible interop issue here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125928</commentid>
    <comment_count>5</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-19 22:42:17 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: Fixed and merged

The fix as applied below is now integrated into HTML 5.1
&gt; Checked in as WHATWG revision r7882.
&gt; Check-in comment: Keep pages in history even if they were still loaded when the user navigated away (but still not if a script did it on its own).
http://html5.org/tools/web-apps-tracker?from=7881&amp;to=7882

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>