WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 13148
Need to support named constants for XMLHttpRequest states
https://bugs.webkit.org/show_bug.cgi?id=13148
Summary
Need to support named constants for XMLHttpRequest states
Alexey Proskuryakov
Reported
2007-03-21 14:01:38 PDT
XMLHttpRequest draft spec has recently introduced named constants for state values, which we do not support: interface XMLHttpRequest { ... const unsigned short UNINITIALIZED = 0; const unsigned short OPEN = 1; const unsigned short SENT = 2; const unsigned short RECEIVING = 3; const unsigned short LOADED = 4;
Attachments
Add attachment
proposed patch, testcase, etc.
Anne van Kesteren
Comment 1
2007-04-02 15:37:25 PDT
FYI: The names are still in flux.
Alexey Proskuryakov
Comment 2
2008-04-18 00:31:15 PDT
Support for named constants was landed by Sam Weinig in <
http://trac.webkit.org/projects/webkit/changeset/32037
>. + const unsigned short UNSENT = 0; + const unsigned short OPENED = 1; + const unsigned short HEADERS_RECEIVED = 2; + const unsigned short LOADING = 3; + const unsigned short DONE = 4;
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