<?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>12732</bug_id>
          
          <creation_ts>2007-02-10 21:33:24 -0800</creation_ts>
          <short_desc>REGRESSION: Comments fields on ircimages not showing up in nightly</short_desc>
          <delta_ts>2007-07-17 20:49:07 -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>Page Loading</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>http://ircimages.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, NeedsReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jarvis Badgley">chiper</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>KwhiteRight</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24333</commentid>
    <comment_count>0</comment_count>
    <who name="Jarvis Badgley">chiper</who>
    <bug_when>2007-02-10 21:33:24 -0800</bug_when>
    <thetext>I hit up ircimages.com tonight for the first time in the latest webkit build, just to see how well it ran (it&apos;s kinda sluggish in FF).  I noticed immediately that only the first image would display the comments field.  I checked in both FF and the latest release of Safari and this problem does not occur in them, just in the webkit nightly.

I suspect this is either JavaScript or iframe related, but I&apos;m not sure how ircimages handles their frame creation.

A bit of warning to testers, ircimages is not work safe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24335</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-02-10 22:30:45 -0800</bug_when>
    <thetext>Works with shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).  Does not work with a local debug build of WebKit r19554 with the same software.

The comments that aren&apos;t showing up are &lt;iframe&gt; elements.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23575</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-02-12 21:07:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/4993463&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21835</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-02-24 07:41:22 -0800</bug_when>
    <thetext>This site loads its content in a quite interesting way:

1) HTML markup is retrieved via XMLHttpRequest;
2) then it is assigned via innerHTML to a temporary display:none div;
3) the div&apos;s innerHTML is taken back;
4) the div is cleared;
5) the content is finally written in place - again, via innerHTML.

  This is repeated for several parts of the page, but the main part (with images and comment subframes) is all loaded in a single request. So subframe loading is initiated in step 2, to be immediately canceled in step 4. This confuses WebKit page loading machinery.

    this.getBrowserHTML = function (html)
    {
      tmpXajax = this.$(this.workId);
      if (!tmpXajax)
        {
          tmpXajax = document.createElement(&quot;div&quot;);
          tmpXajax.setAttribute(&quot;id&quot;, this.workId);
          tmpXajax.style.display = &quot;none&quot;;
          tmpXajax.style.visibility = &quot;hidden&quot;;
          document.body.appendChild(tmpXajax);
        }
      tmpXajax.innerHTML = html;
      var browserHTML = tmpXajax.innerHTML;
      tmpXajax.innerHTML = &quot;&quot;;
      return browserHTML;
    };
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4454</commentid>
    <comment_count>4</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2007-07-17 20:49:07 -0700</bug_when>
    <thetext>Committed revision 24396.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>