blob: 226c04af5fcee9bf070f7c65114e852e6d445fa4 [file] [log] [blame]
Tests various use cases when cloning MessagePorts.
Should be a series of SUCCESS messages, followed with DONE.
SUCCESS: Posting port to itself: Error: InvalidStateError: DOM Exception 11
SUCCESS: Posting entangled port: Error: InvalidStateError: DOM Exception 11
SUCCESS: Posting cloned port.
SUCCESS: Posted messages to cloned port.
SUCCESS: Cloned both endpoints of a channel.
SUCCESS: Got closed port with event message closed
DONE