[Webkit-unassigned] [Bug 16716] New: XHR Handler may call undefined function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 2 17:54:11 PST 2008


           Summary: XHR Handler may call undefined function
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bfulgham at gmail.com

The attached test case (from the Adobe AIR/APOLLO Team) demonstrates a bug in
WebKit where the XHR 'onreadystatechange' handler executes before we have
finished parsing the document.  This is a problem because (1) seemingly
unrelated changes to the html content will cause the behaviour of the
javascript to change, and (2) network latency could cause the javascript to

This is due to that fact that while we are parsing the document, we may not
have seen all the javascript code in the document.  If an 'onreadystatechange'
handler for an XHR fires before we have parsed all the javascript and the
'onreadystatechange' handler depends on the existance of all of the javascript
in the document, then bad things might happen.

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