test_group_paint_skip.html (962B)
1 <!DOCTYPE> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Tests for paint skip</title> 6 <script src="/tests/SimpleTest/SimpleTest.js"></script> 7 <script type="application/javascript" src="apz_test_utils.js"></script> 8 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 9 <script type="application/javascript"> 10 11 let prefs = [ 12 ["apz.paint_skipping.enabled", true], 13 ["apz.test.logging_enabled", true], 14 ]; 15 16 var subtests = [ 17 {"file": "helper_paint_skip_instant_absolute_scroll_position_update.html", prefs}, 18 {"file": "helper_paint_skip_instant_relative_scroll_position_update.html", prefs}, 19 {"file": "helper_first_paint_instant_relative_scroll_position_update.html", prefs}, 20 ]; 21 22 if (isApzEnabled()) { 23 SimpleTest.waitForExplicitFinish(); 24 window.onload = function() { 25 runSubtestsSeriallyInFreshWindows(subtests) 26 .then(SimpleTest.finish, SimpleTest.finishWithFailure); 27 }; 28 } 29 30 </script> 31 </head> 32 <body> 33 </body> 34 </html>