Make EventSource inherit from EventTarget, not API.
Trigger the open event for EventSource asynchronously.