blob: d6a916f893e94d9d9b7de47ad5ed2fc024275407 [file] [log] [blame]
This tests that requestIdleCallback identifier starts from 1 in each document.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS requestIdleCallback(() => { }) is 1
PASS requestIdleCallback(() => { }) is 2
PASS iframe1.contentWindow.requestIdleCallback(() => { }) is 1
PASS iframe2.contentWindow.requestIdleCallback(() => { }) is 1
PASS iframe1.contentWindow.requestIdleCallback(() => { }) is 2
PASS iframe1.contentWindow.requestIdleCallback(() => { }) is 3
PASS iframe2.contentWindow.requestIdleCallback(() => { }) is 2
PASS successfullyParsed is true
TEST COMPLETE