ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not

DOM 3 Events abort/error bubble, ProgressEvent abort/error do not

State:
CLOSED
Product:
HISTORICAL: Progress Events [features subsumed by XHR; worked stopped]
Raised by:
Philip J├Ągenstedt
Opened on:
2008-07-10
Description:
The DOM 3 abort/error events (http://www.w3.org/TR/DOM-Level-3-Events/events.html) bubble, while the progress events by the same name do not bubble.

First, is formally/practically possible to have two separate events with the same name but different bubbles/cancelable flags? I am not aware of any other such cases so it is reasonable to think that there will be implementation problems because the event name can no longer be uniquely mapped to bubbles/cancelable without taking some other information into account.

It's also not obvious what type of event addEventListener("error", <listener>, true) captures if it is attached to an ancenstor of one node which is a target for ProgressEvent-error and another which is a target for Event-error.

Even though it is possible to work around these problems they would be better be solved at the spec level.

Possible ways forward:

1. Change progress event abort/error to bubble. The problem is that this doesn't really make any sense in the context where progress events are supposed to be used though.

2. Change DOM 3 Events abort/error to not bubble. Is this even remotely possible? In what cases do bubbling abort/error matter?

3. Change the name of progress event's abort/error to something else.

Unconfirmed rumors say that the SVG WG is considering changing SVGAbort/SVGError to not bubble so that they are compatible with progress events, so some kind of synchronization with that is probably a good idea.
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from chaals@opera.com on 2008-10-21)
  2. Re: ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from Olli.Pettay@helsinki.fi on 2008-07-11)
  3. Re: ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from annevk@opera.com on 2008-07-11)
  4. Re: ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from philipj@opera.com on 2008-07-11)
  5. Re: ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from Olli.Pettay@helsinki.fi on 2008-07-11)
  6. ISSUE-38: DOM 3 Events abort/error bubble, ProgressEvent abort/error do not [Progress Events] (from sysbot+tracker@w3.org on 2008-07-10)

Related notes:

http://www.w3.org/2008/07/08-svg-minutes.html#item05

Doug Schepers, 10 Jul 2008, 12:32:25

Closed without making any change

Charles McCathie Nevile, 21 Oct 2008, 10:15:08

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 38.html,v 1.1 2016/01/25 10:26:20 carine Exp $