Re: [whatwg/dom] Use the relevant realm of the event target when firing an event (#354)

I'm fine with using the target's Realm for the event, and think this is the sane thing to do.  In particular, that allows us to define behavior for all targets, not just nodes!

I'm not fine with the way the tests are written in https://github.com/w3c/web-platform-tests/pull/4088/files because it presupposes a particular resolution of <https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567>. I would prefer those tests to actually compare the event's Realm to the target's Realm.  I'll comment in that PR.

-- 
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/dom/pull/354#issuecomment-256931645

Received on Friday, 28 October 2016 14:15:40 UTC