test_group_scrollframe_activation.html (1528B)
1 <!DOCTYPE HTML> 2 <html> 3 <!-- 4 https://bugzilla.mozilla.org/show_bug.cgi?id=1151663 5 --> 6 7 <head> 8 <meta charset="utf-8"> 9 <title>Tests related to scrollframe activation</title> 10 <script src="/tests/SimpleTest/SimpleTest.js"></script> 11 <script type="application/javascript" src="apz_test_native_event_utils.js"></script> 12 <script type="application/javascript" src="apz_test_utils.js"></script> 13 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 14 <script type="application/javascript"> 15 if (isApzEnabled()) { 16 SimpleTest.waitForExplicitFinish(); 17 18 let prefs = [ 19 ["apz.test.logging_enabled", true] 20 ]; 21 22 var subtests = [ 23 { file: "helper_scrollframe_activation_on_load.html", prefs }, 24 { file: "helper_bug982141.html", prefs }, 25 ]; 26 27 if (getPlatform() != "android") { 28 // promiseMoveMouseAndScrollWheelOver in helper_check_dp_size doesn't 29 // work on android. Trying to use promiseNativeTouchDrag on android 30 // leads to very large display ports (larger than even the bad case 31 // below), not sure why. 32 subtests.push( 33 { file: "helper_check_dp_size.html", prefs } 34 ); 35 } 36 37 window.onload = function() { 38 runSubtestsSeriallyInFreshWindows(subtests) 39 .then(SimpleTest.finish, SimpleTest.finishWithFailure); 40 }; 41 } 42 </script> 43 </head> 44 45 <body> 46 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1151663">Mozilla Bug 1151663</a> 47 </body> 48 49 </html>