@@ -91,19 +91,8 @@ <h2>Tests:</h2>
9191 < div > If the counter advanced while you were away from this tab, it's correct.</ div >
9292 </ li >
9393 < li >
94- < p > Can pause execution, dump scheduled callbacks, and continue where it left off</ p >
95- < button onClick ="runTestEight() "> Run Test 8</ button >
96- < div > < b > Click the button above, press "continue" to finish the test after it pauses:</ b > </ div >
97- < button onClick ="continueTestEight() "> continue</ button >
98- < div > < b > Expected:</ b > </ div >
99- < div id ="test-8-expected ">
100- </ div >
101- < div > -------------------------------------------------</ div >
102- < div > If the test didn't progress until you hit "continue" and </ div >
103- < div > you see the same above and below afterwards it's correct.
104- < div > -------------------------------------------------</ div >
105- < div > < b > Actual:</ b > </ div >
106- < div id ="test-8 "> </ div >
94+ < p > Test Eight Removed</ p >
95+ < p > Test 8 was removed because it was testing a feature that was removed from the scheduler.</ p >
10796 </ li >
10897 < li >
10998 < p > Can force a specific framerate</ p >
@@ -156,9 +145,6 @@ <h2>Tests:</h2>
156145 unstable_scheduleCallback : scheduleCallback ,
157146 unstable_cancelCallback : cancelCallback ,
158147 unstable_now : now ,
159- unstable_getFirstCallbackNode : getFirstCallbackNode ,
160- unstable_pauseExecution : pauseExecution ,
161- unstable_continueExecution : continueExecution ,
162148 unstable_forceFrameRate : forceFrameRate ,
163149 unstable_shouldYield : shouldYield ,
164150 unstable_NormalPriority : NormalPriority ,
@@ -587,50 +573,6 @@ <h2>Tests:</h2>
587573 scheduleCallback ( NormalPriority , incrementCounterAndScheduleNextCallback ) ;
588574}
589575
590- function runTestEight ( ) {
591- // Test 8
592- // Pauses execution, dumps the queue, and continues execution
593- clearTestResult ( 8 ) ;
594-
595- function countNodesInStack ( firstCallbackNode ) {
596- var node = firstCallbackNode ;
597- var count = 0 ;
598- if ( node !== null ) {
599- do {
600- count = count + 1 ;
601- node = node . next ;
602- } while ( node !== firstCallbackNode ) ;
603- }
604- return count ;
605- }
606-
607- scheduleCallback ( NormalPriority , ( ) => {
608-
609- // size should be 0
610- updateTestResult ( 8 , `Queue size: ${ countNodesInStack ( getFirstCallbackNode ( ) ) } .` ) ;
611- updateTestResult ( 8 , 'Pausing... press continue to resume.' ) ;
612- pauseExecution ( ) ;
613-
614- scheduleCallback ( NormalPriority , function ( ) {
615- updateTestResult ( 8 , 'Finishing...' ) ;
616- displayTestResult ( 8 ) ;
617- } )
618- scheduleCallback ( NormalPriority , function ( ) {
619- updateTestResult ( 8 , 'Done!' ) ;
620- displayTestResult ( 8 ) ;
621- checkTestResult ( 8 ) ;
622- } )
623-
624- // new size should be 2 now
625- updateTestResult ( 8 , `Queue size: ${ countNodesInStack ( getFirstCallbackNode ( ) ) } .` ) ;
626- displayTestResult ( 8 ) ;
627- } ) ;
628- }
629-
630- function continueTestEight ( ) {
631- continueExecution ( ) ;
632- }
633-
634576function runTestNine ( ) {
635577 clearTestResult ( 9 ) ;
636578 // We have this to make sure that the thing that goes right after it can get a full frame
0 commit comments