Closed tmbrbr closed 2 years ago
MessageEvents are already a source: https://github.com/SAP/project-foxhound/blob/main/dom/events/MessageEvent.cpp#L69
Perhaps add the Origin as an argument in order to keep track of internal (e.g. window.MessageEvent) vs. SSEs.
EventSource sink function here: https://github.com/SAP/project-foxhound/blob/main/dom/base/EventSource.cpp#L630
Server-Sent-Events would be interesting sources and sinks to add: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events
Sinks:
Source: