[Bug 25458] [Shadow]: The return type of Event.path should be EventTarget[], instead of NodeList

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

--- Comment #25 from Hayato Ito <hayato@chromium.org> ---
+Dimitri to CC List.

(In reply to Boris Zbarsky from comment #24)
> If this API is not exposing the full, immutable-during-the-dispatch event
> path from the target to the root, then it should be a method, not a getter,
> imo.  And it needs a better name.

That reminds me of the old discussion here.
See the comment https://code.google.com/p/chromium/issues/detail?id=234030#c22

Dimitri, WDYT?


One more note:

As I recall, the same event object can be *re-used* between event dispatching
if we dispatch an event explicitly by calling EventTarget.dispatchEvent(event),
re-using the same event object.
So the result of event.path could be *different* anyway for the same event
object.

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

Received on Thursday, 1 May 2014 06:47:58 UTC