<?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>23359</bug_id>
          
          <creation_ts>2013-09-25 23:21:19 +0000</creation_ts>
          <short_desc>History object should go dead when its Document is not active</short_desc>
          <delta_ts>2013-11-20 01:10:02 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>23358</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bobbyholley</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93836</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-25 23:21:19 +0000</bug_when>
    <thetext>Based on:
   http://www.hixie.ch/tests/adhoc/dom/level0/history/cross-origin/000.html
   http://www.hixie.ch/tests/adhoc/dom/level0/history/cross-origin/001.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96244</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-13 20:48:58 +0000</bug_when>
    <thetext>http://www.hixie.ch/tests/adhoc/dom/level0/history/cross-origin/

Firefox:
   Old history objects work fine, but if the new page is on a different origin, 
   you get a security exception.

Safari and Chrome:
   Old history objects do nothing.

IE9:
   Old history objects throw an exception.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96566</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-19 23:07:59 +0000</bug_when>
    <thetext>bholley says he&apos;s fine with doing nothing or throwing an exception.
I think I&apos;m going to go with throwing an exception.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96567</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-11-19 23:09:33 +0000</bug_when>
    <thetext>(probably SecurityException)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96570</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-11-19 23:20:35 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8302.
Check-in comment: Kill History objects on non-active docs
http://html5.org/tools/web-apps-tracker?from=8301&amp;to=8302</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96575</commentid>
    <comment_count>5</comment_count>
    <who name="Bobby Holley (:bholley)">bobbyholley</who>
    <bug_when>2013-11-20 01:10:02 +0000</bug_when>
    <thetext>I am aligning with this behavior in [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=940783</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>