test_group_fission.html (3574B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Various tests that spawn in out-of-process iframes.</title> 6 <script src="/tests/SimpleTest/SimpleTest.js"></script> 7 <script type="application/javascript" src="apz_test_utils.js"></script> 8 <script type="application/javascript" src="apz_test_native_event_utils.js"></script> 9 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> 10 <script type="application/javascript"> 11 12 var prefs = [ 13 ]; 14 15 var logging_prefs = [ 16 ...prefs, 17 ["apz.test.logging_enabled", true], 18 ] 19 20 var animation_prefs = [ 21 ...prefs, 22 // To avoid throttling requestAnimationFrame callbacks in invisible 23 // iframes 24 ["layout.throttled_frame_rate", 60], 25 ]; 26 27 var hit_test_prefs = [ 28 ...logging_prefs, 29 ["test.events.async.enabled", true], 30 ]; 31 32 var subtests = [ 33 { 34 "file": "helper_fission_checkerboard_severity.html", 35 "prefs": logging_prefs 36 }, 37 { 38 "file": "helper_fission_force_empty_hit_region.html", 39 "prefs": hit_test_prefs 40 }, 41 { 42 "file": "helper_fission_inactivescroller_positionedcontent.html", 43 "prefs": hit_test_prefs 44 }, 45 { 46 "file": "helper_fission_initial_displayport.html", 47 "prefs": logging_prefs 48 }, 49 { "file": "helper_fission_large_subframe.html", "prefs": logging_prefs }, 50 { "file": "helper_fission_setResolution.html", "prefs": prefs }, 51 { 52 "file": "helper_fission_tap.html", 53 "prefs": [["apz.max_tap_time", 10000]], 54 }, 55 { 56 "file": "helper_fission_tap_in_nested_iframe_on_zoomed.html", 57 "prefs": [["apz.max_tap_time", 10000]], 58 }, 59 { 60 "file": "helper_fission_tap_on_zoomed.html", 61 "prefs": [["apz.max_tap_time", 10000]], 62 }, 63 { "file": "helper_fission_touch.html", "prefs": prefs }, 64 { "file": "helper_fission_transforms.html", "prefs": prefs }, 65 { 66 "file": "helper_fission_animation_styling_in_oopif.html", 67 "prefs": animation_prefs 68 }, 69 { 70 "file": "helper_fission_animation_styling_in_transformed_oopif.html", 71 "prefs": animation_prefs 72 }, 73 { 74 "file": "helper_fission_irregular_areas.html", 75 "prefs": hit_test_prefs 76 }, 77 { 78 "file": "helper_fission_empty_clip.html", 79 "prefs": hit_test_prefs 80 }, 81 { 82 "file": "helper_fission_unresolved_clip.html", 83 "prefs": hit_test_prefs 84 }, 85 { 86 "file": "helper_fission_inactivescroller_under_oopif.html", 87 "prefs": hit_test_prefs 88 } 89 ]; 90 91 if (getPlatform() != "android") { 92 subtests.push( 93 { // Skip on Android because of missing native wheel event support 94 "file": "helper_fission_event_region_override.html", 95 "prefs": [["apz.test.mac.synth_wheel_input", true]] 96 }, 97 { 98 "file": "helper_fission_scroll_handoff.html", 99 "prefs": prefs 100 }, 101 { 102 "file": "helper_fission_scroll_oopif.html", 103 "prefs": [["apz.test.mac.synth_wheel_input", true]] 104 }, 105 ); 106 } 107 108 if (isApzEnabled()) { 109 // This has a lot of subtests, and Android emulators are slow. 110 SimpleTest.requestLongerTimeout(2); 111 SimpleTest.waitForExplicitFinish(); 112 window.onload = function () { 113 runSubtestsSeriallyInFreshWindows(subtests) 114 .then(SimpleTest.finish, SimpleTest.finishWithFailure); 115 }; 116 } 117 118 </script> 119 </head> 120 <body> 121 </body> 122 </html>