blob: 5216828030c16a48a15ee55ed02d14f7c970901a [file] [log] [blame]
Tests that DOM Timers are throttled in subframes that are cross-origin, and not in same-origin frames
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Received message: timerReachedMaxNestingLevel
Received message: timerReachedMaxNestingLevel
Checking that DOM Timers are throttled in cross origin frame
Received message: throttled[cross]: true
Received message: throttled[same]: false
PASS throttledState['cross'] is "true"
PASS throttledState['same'] is "false"
Interacted with cross-origin frame
Interacted with same-origin frame
Received message: throttled[cross]: false
Received message: throttled[same]: false
PASS throttledState['cross'] is "false"
PASS throttledState['same'] is "false"
PASS successfullyParsed is true
TEST COMPLETE