[Webkit-unassigned] [Bug 12732] REGRESSION: Comments fields on ircimages not showing up in nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 24 07:41:23 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12732


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org
          Component|JavaScriptCore              |Page Loading




------- Comment #3 from ap at webkit.org  2007-02-24 07:41 PDT -------
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'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("div");
          tmpXajax.setAttribute("id", this.workId);
          tmpXajax.style.display = "none";
          tmpXajax.style.visibility = "hidden";
          document.body.appendChild(tmpXajax);
        }
      tmpXajax.innerHTML = html;
      var browserHTML = tmpXajax.innerHTML;
      tmpXajax.innerHTML = "";
      return browserHTML;
    };


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list