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

Closes #352.

Some tests at https://github.com/w3c/web-platform-tests/pull/4088, but they are not exhaustive. I don't feel up to the task of writing a test for every instance of "fire" in the spec.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/354

-- Commit Summary --

  * Use the relevant realm of the event target when firing an event

-- File Changes --

    M dom.bs (7)
    M dom.html (11)

-- Patch Links --

https://github.com/whatwg/dom/pull/354.patch
https://github.com/whatwg/dom/pull/354.diff

-- 
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

Received on Thursday, 27 October 2016 17:27:20 UTC