Re: [whatwg/dom] Add a realm argument to "create an event" (#349)

> I think target's relevant Realm would always be correct. Would be annoying to require a Realm argument everywhere. 

I ran some tests and this is not interoperable -_-.

- Chrome uses target's relevant Realm
- Gecko might use target's relevant Realm, but since it does the currently-nonstandard-but-oft-debated thing where adopting an element changes its relevant Realm, it's not interoperable with Chrome
- Edge appears to not use the target's relevant Realm, but instead maybe the realm of the document in which target finds itself or something similar
- Haven't tested WebKit yet.

Let's leave that for a separate issue.

-- 
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/349#issuecomment-256467780

Received on Wednesday, 26 October 2016 20:31:34 UTC