blob: f4b3da353f03a17b62ba99975bafc5c53010de1d [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: DataCloneError: The object can not be cloned.
SUCCESS: Posting entangled port: DataCloneError: The object can not be cloned.
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