blob: 2e745a6d87855e72305baa597b8e78c619895165 [file] [log] [blame]
CONSOLE MESSAGE: line 10: MessageEvent received in main world
CONSOLE MESSAGE: line 11: detail was {"foo":5,"bar":"hello","targetWorld":"main"}
CONSOLE MESSAGE: MessageEvent received in isolated world
CONSOLE MESSAGE: detail was {"foo":5,"bar":"hello","targetWorld":"isolated"}
Tests that properties of MessageEvents initialized with initMessageEvent() are cloned when accessed in isolated worlds.