[Webkit-unassigned] [Bug 25981] New: jQuery load() issue.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 23 17:59:27 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25981

           Summary: jQuery load() issue.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: a.j.r.williams at gmail.com


Just updated to the latest nightly (r44078), and this bug with jQuerys load()
function has popped up. Here's how to (hopefully) reproduce it:

1) create a file with the current code:

                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
                <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en">
                <head>
                        <meta http-equiv="Content-Type" content="text/html;
charset=utf-8"/>
                        <title>tabs</title>
                  <script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
                        <script type="text/javascript" charset="utf-8">
                          $(document).ready(function(){
                        $("a").click(function(){
                              var a = this;
                        $('#page').load(a.href, function(responseText,
textStatus, req){
                          console.log("Loading: "+textStatus)
                        });
                        return false;
                        });
                    });
                        </script>       
                </head>
                <body>
                  <a href="http://google.com" rel="load">Google</a>
                  <div id="page">
                  </div>
                </body>
                </html>

2) open it in safari (r44078), open the error console, and spam the link (it's
fine if you press it once or twice, thus the need to spam it)
3) Instead of executing the requests one at a time (and outputting "Loading:
success" in the console for as many times as you spammed the link), it'll just
freeze (just the javascript, not the application) and stop the requests
completely.

I've tested it in the prior nightly (r44015) and it's functioning fine.


-- 
Configure bugmail: https://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