<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>32156</bug_id>
          
          <creation_ts>2009-12-04 06:45:35 -0800</creation_ts>
          <short_desc>Browser history inconsistent when changing location.hash in an Iframe child document</short_desc>
          <delta_ts>2010-09-07 11:15:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>History</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>40451</dup_id>
          
          <bug_file_loc>http://benalman.com/code/projects/jquery-bbq/examples/bug-webkit-hash-iframe/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="&quot;Cowboy&quot; Ben Alman">cowboy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aroben</cc>
    
    <cc>bartzy</cc>
    
    <cc>beidson</cc>
    
    <cc>christopher.ricca</cc>
    
    <cc>hgweb2</cc>
    
    <cc>mihaip</cc>
    
    <cc>ryan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>168753</commentid>
    <comment_count>0</comment_count>
    <who name="&quot;Cowboy&quot; Ben Alman">cowboy</who>
    <bug_when>2009-12-04 06:45:35 -0800</bug_when>
    <thetext>When the location.hash is changed in a document loaded in an Iframe, history entries are not always created correctly. This has been tested in OS X Safari Version 4.0.4 (5531.21.10) / Windows Chrome 3.0.195.33 / OS X Webkit nightly r51669

Synopsis:

Given an Iframe like this: &lt;iframe src=&quot;page.html#begin&quot;&gt;&lt;/iframe&gt;

If that page.html location.hash is then set to #middle and #end, when the back button is pressed, #middle can be reached, but #begin cannot.

This page has a complete description and working example:
http://benalman.com/code/projects/jquery-bbq/examples/bug-webkit-hash-iframe/

This may be related to bugs 14959 and 17333, but I felt this description was sufficiently different to warrant a separate ticket.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209627</commentid>
    <comment_count>1</comment_count>
    <who name="Hamish">hgweb2</who>
    <bug_when>2010-04-07 07:14:36 -0700</bug_when>
    <thetext>I have also come across this. Other major browsers like Firefox and IE 6/7/8 all work correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274769</commentid>
    <comment_count>2</comment_count>
    <who name="Bar Ziony">bartzy</who>
    <bug_when>2010-09-06 13:41:24 -0700</bug_when>
    <thetext>I also came across this.

Why this is not getting any attention ?

Thanks,
Bar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275173</commentid>
    <comment_count>3</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-09-07 11:15:22 -0700</bug_when>
    <thetext>I am not able to reproduce this in current WebKit nighly builds (r66819) or the current Chrome stable channel (version 6.0.472.53, cut around WebKit revision r63707).

Since I&apos;m pretty sure that http://trac.webkit.org/changeset/61207 is what fixed this, I&apos;m marking this as a dupe of the bug that was attached to.

*** This bug has been marked as a duplicate of bug 40451 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>