Bug 71715

Summary: XMLHttpRequest, XMLHttpRequestUpload should raise ProgressEvent
Product: WebKit Reporter: Dominic Cooney <dominicc>
Component: XMLAssignee: 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
Reported 2011-11-07 12:11:19 PST
The XHR2 spec says XMLHttpRequest and XMLHttpRequestUpload dispatch ProgressEvents <http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#events>. Maybe we should remove XMLHttpRequestProgressEvent?
Attachments
Sam Weinig
Comment 1 2011-11-07 14:59:13 PST
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
Comment 2 2011-11-07 15:02:55 PST
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
Comment 3 2011-11-07 17:33:39 PST
Indeed FF still does this, albeit with a warning in the developer console that totalSize is deprecated.
Note You need to log in before you can comment on or make changes to this bug.