Is there any way to check within JavaScript if XMLHttpRequest
object supports W3C Progress Events? I mean here if setting onload
, onprogress
, onabort
, onerror
, etc. properties to some handler function would have those function called those events, as described.
Additional (bonus) question: is there a way to augment XMLHttpRequest
(e.g. using some timers) to support those events?
Sidenote: I have first found about W3C Progress Events in the context of XMLHttpRequest
here