blob: dfc1684a4a35abb5614beaaebb7a85383bbc26e2 [file] [log] [blame]
Test that exactly one Runtime.executionContextCreated event is fired for each existing context when Runtime.enable is called.
== Running test suite: Runtime.executionContextCreated.OnEnable
-- Running test case: Runtime.executionContextCreated.OnEnable.NoDuplicates
Execution context created: id=0 frameId=0 isPageContext=true
Execution context created: id=1 frameId=1 isPageContext=true
PASS: Should receive 2 executionContextCreated events (for main world in the main frame and the subframe).
PASS: Should have 2 unique contexts.