blob: e04bc4d6ce943cb1542b8254090a42f3ba6bd59b [file] [log] [blame]
Test that intersection observer time is relative to time in the callback context.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS topWindowTime - iframeWindowTime is > 2.5 * timestampTolerance
PASS topWindowEntries.length is 0
PASS iframeWindowEntries.length is 0
PASS topWindowEntries.length is 1
PASS topWindowEntries[0].time is within 124 of topWindowTime
PASS iframeWindowEntries.length is 1
PASS iframeWindowEntries[0].time is within 124 of iframeWindowTime
PASS successfullyParsed is true
TEST COMPLETE