[Bug 21066] Provide an event path API

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21066

--- Comment #37 from Hayato Ito <hayato@chromium.org> ---
(In reply to comment #34)
> Right, XMLHttpRequest is not a Node, Indexed DB has a tree of non-Node
> EventTarget objects, etc.

Thank you.

I've checked the spec here.
http://dom.spec.whatwg.org/#dispatching-events
> 5.7.4 - If event's target attribute value is participating in a tree, let event path be a static ordered list of all its ancestors in tree order, and let event path be the empty list otherwise.

An event path only includes *something* which can participate in a tree. I
assumed that it's always a Node since whatever participates in a *DOM tree* is
always a Node.

If index-db has a tree of EventTargets, I think we cannot use NodeList here.
That makes sense. Let's change that to an array of EventTargets if there is no
objection.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 11 July 2013 04:35:14 UTC