[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 #21 from Boris Zbarsky <bzbarsky@mit.edu> ---
> You should create the array object upon construction of the event

Construction or dispatch?  Dispatch would make more sense, since that's when
the path is determined, and events can be redispatched.

Apart from that, I totally agree with comment 20.

Also, one more issue: I suggest you create the array by creating a WebIDL
sequence<EventTarget> in your prose and then explicitly invoking the "convert
to an ECMAScript value" concept from WebIDL.  That will actually rigorously
define how the array is set up and avoid different implementations disagreeing
about whether to use [[Set]] or [[DefineOwnProperty]] for the array entries.

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

Received on Thursday, 1 May 2014 04:42:39 UTC