<?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>9148</bug_id>
          
          <creation_ts>2006-05-28 08:41:15 -0700</creation_ts>
          <short_desc>Setting location.href is not registered in history</short_desc>
          <delta_ts>2007-07-22 20:51:01 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>9150</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>beidson</cc>
    
    <cc>ggaren</cc>
    
    <cc>rachael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43850</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-05-28 08:41:15 -0700</bug_when>
    <thetext>Setting location.href to load a page does not cause that URL to be recorded in the history.  When a link to the previously loaded page appears later, that link is rendered as unvisited rather than visited.

In Firefox 1.5.0.3 on Mac OS X, a page loaded via location.href is recorded in history.

In MSIE 6 on WinXP SP2, a page loaded via location.href is also recorded in history.

This behavior occurs in Safari 2.0.3 (417.9.3) on Mac OS X 10.4.6 (8I127) as well as locally-built WebKit r14551.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43851</commentid>
    <comment_count>1</comment_count>
      <attachid>8578</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-05-28 08:45:55 -0700</bug_when>
    <thetext>Created attachment 8578
Test v1

Test demonstrating the problem with setting location.href.  It may be possible to simplify this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9274</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2007-05-23 17:42:21 -0700</bug_when>
    <thetext>I&apos;m quite interested to know what the actual correct behavior is.  I know that Safari 2.0 and ToT both act differently from FFX, which puts all 3 items in history, but do we know which is actually &quot;correct&quot;?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9270</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-05-23 20:43:17 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I&apos;m quite interested to know what the actual correct behavior is.  I know that
&gt; Safari 2.0 and ToT both act differently from FFX, which puts all 3 items in
&gt; history, but do we know which is actually &quot;correct&quot;?

NOTE: I filed this bug because I noticed a difference in behavior between Safari/WebKit, Firefox and MSIE 6.  I do not know what the correct behavior is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8174</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2007-06-07 11:47:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/5257045&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5160</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-07-08 14:58:05 -0700</bug_when>
    <thetext>This bug was not fixed by the fix for Bug 13400.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4528</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-07-17 07:48:26 -0700</bug_when>
    <thetext>May be fixed by:  http://trac.webkit.org/projects/webkit/changeset/24353

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4002</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-07-22 20:51:01 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; May be fixed by:  http://trac.webkit.org/projects/webkit/changeset/24353

This appears to be fixed now.  (The test case doesn&apos;t work with DRT, but it works in Safari.)

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8578</attachid>
            <date>2006-05-28 08:45:55 -0700</date>
            <delta_ts>2006-05-28 08:45:55 -0700</delta_ts>
            <desc>Test v1</desc>
            <filename>bug-9148-test-v1.diff</filename>
            <type>text/plain</type>
            <size>2250</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL2Zhc3QvaGlzdG9yeS9yZXNvdXJjZXMvbG9jYXRpb24uaHJlZi1o
aXN0b3J5LTIuaHRtbAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9mYXN0L2hpc3RvcnkvcmVz
b3VyY2VzL2xvY2F0aW9uLmhyZWYtaGlzdG9yeS0yLmh0bWwJKHJldmlzaW9uIDApCisrKyBMYXlv
dXRUZXN0cy9mYXN0L2hpc3RvcnkvcmVzb3VyY2VzL2xvY2F0aW9uLmhyZWYtaGlzdG9yeS0yLmh0
bWwJKHJldmlzaW9uIDApCkBAIC0wLDAgKzEsMTMgQEAKKzxodG1sPgorPGhlYWQ+Cis8c2NyaXB0
PgorZnVuY3Rpb24gcnVuVGVzdCgpIHsKKyAgICBsb2NhdGlvbi5ocmVmPSIuL2xvY2F0aW9uLmhy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