Bug 71715
| Summary: | XMLHttpRequest, XMLHttpRequestUpload should raise ProgressEvent | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Cooney <dominicc> |
| Component: | XML | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | ap, darin, dominicc, jchaffraix, levin, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dominic Cooney
The XHR2 spec says XMLHttpRequest and XMLHttpRequestUpload dispatch ProgressEvents <http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#events>.
Maybe we should remove XMLHttpRequestProgressEvent?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Weinig
I believe the subclass was added for a compatibility issue, thought it may take some revision sleuthing to figure out what the exact issue was.
Sam Weinig
Yeah, it seems it was for compatibility with Firefox, which included the position and totalSize attributes. We could probably get away with just adding those to ProgressEvent if we wanted to.
Dominic Cooney
Indeed FF still does this, albeit with a warning in the developer console that totalSize is deprecated.