[whatwg/xhr] [do not merge] Specify target of progress events (#246)

The algorithm for "fire a progress event" requires a name and a target,
but only half of the 14 usages specify a target. This is ambiguous
because both the `XMLHttpRequestEventTarget` and the
`XMLHttpRequestUpload` support a "progress" event.

Consistently specify the intended target with each invocation. Also
modify a preposition in the algorithm's definition to match the
prevailing usage.

---

For those more familiar with the spec than I, the intended target may be clear in context. Still, it seems like the ambiguity may have allowed discrepancies amongst implementations. I'm wondering if resolving this will require a survey on what's currently deployed.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/xhr/pull/246

-- Commit Summary --

  * Specify target of progress events

-- File Changes --

    M xhr.bs (14)

-- Patch Links --

https://github.com/whatwg/xhr/pull/246.patch
https://github.com/whatwg/xhr/pull/246.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/246

Received on Wednesday, 17 April 2019 17:33:33 UTC