Home

Class goog.testing.messaging.MockMessageEvent

Creates a new fake MessageEvent.

extends goog.testing.events.Event
Static Method Summary
wrap(<Any Type> data, string= opt_origin, string= opt_lastEventId, ?Window= opt_source, ?Array= opt_ports) ⇒ ?goog.events.BrowserEvent

Wraps a new fake MessageEvent in a BrowserEvent, like how a real MessageEvent would be wrapped.