Bug 13148
Summary: | Need to support named constants for XMLHttpRequest states | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
Component: | XML | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | sam |
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Alexey Proskuryakov
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
FYI: The names are still in flux.
Alexey Proskuryakov
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;