<?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>6389</bug_id>
          
          <creation_ts>2006-01-05 16:07:19 -0800</creation_ts>
          <short_desc>REGRESSION: Problem loading porland.citysearch.com home page</short_desc>
          <delta_ts>2006-02-05 06:24:20 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>5210</dup_id>
          
          <bug_file_loc>http://portland.citysearch.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shawn Smith">chezsmithy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27821</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Smith">chezsmithy</who>
    <bug_when>2006-01-05 16:07:19 -0800</bug_when>
    <thetext>Going to http://portland.citysearch.com shows the header then it begins to flash as what looks like a 
rendering loop starts.  The page never seems to complete rendering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27899</commentid>
    <comment_count>1</comment_count>
    <who name="Shawn Smith">chezsmithy</who>
    <bug_when>2006-01-06 20:06:31 -0800</bug_when>
    <thetext>Still broken in the January 6th Nightly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27922</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-01-07 06:28:49 -0800</bug_when>
    <thetext>Confirmed, this one needs reduction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31384</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-04 18:30:30 -0800</bug_when>
    <thetext>This is definitely NOT a rendering loop.  After the page is initially loaded, a new URL is then continually reloaded via JavaScript: http://portland.citysearch.com/1

Furthermore, I tried loading the page using Firefox, saving it as &quot;web page, complete&quot; to disk, then loading the copy on disk in Safari.  Guess what?  No weird reload bug, although I did see this in the JavaScript console:

Undefined value
file:///tmp/bug-6389/portland-citysearch-com_files/menu_builder_yp.js
Line 21

This smells like a browser sniffing bug to me.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31385</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-04 18:33:29 -0800</bug_when>
    <thetext>Actually, this is a regression, too.  Works for me in Safari 2.0.3 (417.8) on 10.4.4.

Adding Regression keyword, bumping to priority P1, updating summary.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31387</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-04 19:48:39 -0800</bug_when>
    <thetext>Interesting.  If you stop the insane reloads and bring up the Web Inspector, the very last element that the inspector shows is the following:

        &lt;script language=&quot;JavaScript&quot;&gt;&lt;!--
          insertLocationsOptions(&apos;savedLocs&apos;);
          insertLocationsOptions(&apos;recLocs&apos;);
        //--&gt;&lt;/script&gt;

This JS function is defined in the menu_builder_yp.js file, and the function is using a local variable named &quot;location&quot;.  I wonder if the scope of this variable isn&apos;t being obeyed and the window.location variable is getting written to?  That would explain the reloads, and why the page only renders so far each time.

What I don&apos;t understand is why the page loads successfully if it&apos;s loaded from disk?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31410</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-02-05 00:37:02 -0800</bug_when>
    <thetext>Woks for me in ToT. Fixed as bug 5210, perhaps?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31438</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-05 05:32:45 -0800</bug_when>
    <thetext>I *knew* that JavaScript variable bug sounded familiar.  Thanks, Alexey!

Works for me as of ToT r12574.  Marking RESOLVED/DUPLICATE of Bug 5210.


*** This bug has been marked as a duplicate of 5210 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31447</commentid>
    <comment_count>8</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-05 06:24:20 -0800</bug_when>
    <thetext>I just reverted my Subversion tree back to r12564 and rebuilt to confirm that the fix to Bug 5210 really is what fixed this bug.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>