[Webkit-unassigned] [Bug 14169] AJAX/JavaScript crash bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 16 05:35:50 PDT 2007


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





------- Comment #2 from ac at alastc.com  2007-06-16 05:35 PDT -------
I have, the latest nightly hangs when you select something in the Flash and the
AJAX call is made.

The variable containing the new content contains the whole page instead of just
the new content, which means that the setRequestHeader did not work:

        // Load new contents
        var newContent = $.ajax({
          type: "GET",
          url: newUrl,
          beforeSend: function(xhr) {
                xhr.setRequestHeader("User-Agent", "XMLHTTP");
                },
          async: false
        }).responseText;

However, due to issue with IE I had tested for that:

        if( $(newContent).eq(0).is("#content") == false) {
                newContent = $("#content", newContent);
        }

That should cut the new page down to the content section, but it seems to be
hanging here, which presumably it shouldn't? (I would assume it should either
throw an error or complete it?)

Thanks,

-Alastair


-- 
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