<?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>6679</bug_id>
          
          <creation_ts>2006-01-19 17:18:43 -0800</creation_ts>
          <short_desc>evalAfterBackForwardNavigation causes hang when page can&apos;t be cached</short_desc>
          <delta_ts>2007-10-18 00:56:43 -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>Tools / Tests</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28936</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-19 17:18:43 -0800</bug_when>
    <thetext>evalAfterBackForwardNavigation causes hang when page can&apos;t be cached

I was trying to write a test case for back/forward navigation where cacheing the page should be 
disallowed.  This hangs DRT because evalAfterBackForwardNavigation keeps getting called by my onload 
every time the first page is reload.  We need some sort of loop check for evalAfterBackForwardNavigation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28937</commentid>
    <comment_count>1</comment_count>
      <attachid>5789</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-01-19 17:19:32 -0800</bug_when>
    <thetext>Created attachment 5789
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30355</commentid>
    <comment_count>2</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2006-01-27 15:41:29 -0800</bug_when>
    <thetext>I didn&apos;t consider a page not making it into the cache when I wrote the NavigationController class.

The simple solution here is to have evalAfterBackForwardNavigation execute only once per page. In the future, if someone wants to use it more than once on a page, they can dream up a more interesting hashing solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30357</commentid>
    <comment_count>3</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2006-01-27 15:47:10 -0800</bug_when>
    <thetext>We could also use something like

     if (!navigationController.didNavigate) {...}

or

     navigationController.setState(true)
     if (!navigationController.getState())

to make things arbitrarily extensible.

valueForUndefinedKey would be helpful here, but it doesn&apos;t work yet.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5789</attachid>
            <date>2006-01-19 17:19:32 -0800</date>
            <delta_ts>2006-01-19 17:19:32 -0800</delta_ts>
            <desc>test case</desc>
            <filename>embed-after-back-forward.tgz</filename>
            <type>application/x-gzip</type>
            <size>510</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">H4sIAJI60EMAA+2VzXKbMBDHuZanUDnhgw0YYw5VmEnb6bGXJg8goyVRiyUPEnE9mbx7JeHEnYzt
dPLhHLq/ixBaaZfdPytYLoCPWWOgGy9Y/WvcqG7NOj65Nss2eB1Sy3w2s2OWFenMz7Np6kf3mJVF
kKX5fJbmeZrmQZoV5TQPSPpK/o/Sa8M6QgLQIDgc/mTGl0KeIqDTQl2dq5BeA+NV+IEaYVqo1OIn
1CYBJw5NrCSuwJBaSQPSaOLVQpxakq1aaDLsC6muO7EyVdj0sjZCSb9LyB4uQJtzt/E7uxFXzK3F
o/A2JBbWQmfiiCsJ0eiTfyUaEq+F5Go9adlG9cbt/2LP6lRrrUfeyLFvdSKVEc3mqz0vtufdhbtw
jDV88PuUE3J73A3vl6tzfQG/TbwN+6DpmglzaTPR3gflLO8eRyEfcrPvU/etTuCGtT6vn209vg3l
+CvF0dH8Rz47NLmvGk0GHThvdKH4hijZKsbPoiFvkZWIW/LCILqrz6IOtOq7GvSglkOtJEqcuhJ3
pnfjVffe4keCXfnezodr8mVRHOr/jm3/z8r5vLT9f5oX04AUbxfSjv+8///j7/siH0/c/3ZSPqp/
WRYZ3v+ngK6qH31t668/0mRVvXc4CIIgCIIgCIIgCIIgCIIgCIIgCIIgyDP5A/iO/e4AKAAA
</data>

          </attachment>
      

    </bug>

</bugzilla>