[Webkit-unassigned] [Bug 17502] assertion failure loader == m_loader in XMLHttpRequest::didFinishLoading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 23 11:22:03 PST 2008


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





------- Comment #1 from julien.chaffraix at gmail.com  2008-02-23 11:22 PDT -------
Created an attachment (id=19302)
 --> (http://bugs.webkit.org/attachment.cgi?id=19302&action=view)
test case

Explanation :

the readystatechange listener is called from processSyncLoadResults line
changeState(Sent).
When we call open in the previous listener, we first set m_aborted to true in
internalAbort but later in open we set it to false.
As a consequence, when we come to processSyncLoadResults the previous
XMLHttpRequest is not cancelled (m_aborted is false) and then triggers the
assertion as m_loader != 0 (we have created an async XHR in the listener).


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