Current implementation of EventListeners and EventHandlers in blink does not conform web standards, so we have to redesign it.
Things to do:
* Catch up web standards
* Implement EventListeners and EventHandlers based on blink::CallbackInterfaceBase and blink::CallbackFunctionBase
* Support incumbent realm in EventListeners and EventHandlers
* Restructure class hierarchy
This issue aims at implementing incumbent realm in EventListener/EventHandler.
Current implementation of EventListener and EventHandler in blink does not conform web standards because it dose not support incumbent realm. This can be solved by implementing EventListener/EventHandler based on blink::CallbackInterfaceBase and blink::CallbackFunctionBase.
Also, blink::V8AbstractEventListener set entry realm to invoked event's one, but it should be another one that is relevant to listener. We can fix such incorrect things with this issue too.
Comment 1 by yukishiino@chromium.org
, Aug 9