Expand all

package mw.testKitchen.InternalEventSender

Sends analytics events to the event intake service immediately using the Beacon API.

Previously events were added to a queue which drained after 5 seconds, when the document was hidden, or when the document was unloaded. This made it difficult to reason about when events were submitted and contributed to event loss (see T384687), so events are now sent as soon as they are received.