WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
45992
XMLHttpRequest: readystatechange event is not dispatched when asynchronous send() is called.
https://bugs.webkit.org/show_bug.cgi?id=45992
Summary
XMLHttpRequest: readystatechange event is not dispatched when asynchronous se...
Jian Li
Reported
2010-09-17 13:32:36 PDT
XMLHttpRequest: readystatechange event with state DONE is not dispatched when abort() is called. Test:
http://tc.labs.opera.com/apis/XMLHttpRequest/abort-after-send.htm
Attachments
Add attachment
proposed patch, testcase, etc.
Jian Li
Comment 1
2010-09-17 15:37:59 PDT
It should be: readystatechange event is not dispatched when asynchronous send() is called.
Jian Li
Comment 2
2010-09-17 15:39:42 PDT
Per the XHR spec: 8. If the asynchronous flag is true run these substeps: 1. Set the send() flag to true. 2. Dispatch a readystatechange event. The state does not change. The event is dispatched for historical reasons.
Jian Li
Comment 3
2010-09-17 16:10:26 PDT
Closed. Should be readystatechange event is not dispatched when open() is called.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug