test_group_fullscreen.html (1038B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <script src="/tests/SimpleTest/SimpleTest.js"></script> 6 <script type="application/javascript" src="apz_test_utils.js"></script> 7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> 8 <script type="application/javascript"> 9 if (isApzEnabled()) { 10 SimpleTest.waitForExplicitFinish(); 11 12 const subtests = [ 13 { file: "helper_fullscreen.html", 14 prefs: [ 15 ["apz.test.logging_enabled", true], 16 ["full-screen-api.allow-trusted-requests-only", false], 17 ], 18 }, 19 ]; 20 // Run the actual test in its own window, because it requires that the 21 // root APZC be scrollable. Mochitest pages themselves often run 22 // inside an iframe which means we have no control over the root APZC. 23 window.onload = () => { 24 runSubtestsSeriallyInFreshWindows(subtests) 25 .then(SimpleTest.finish, SimpleTest.finishWithFailure); 26 }; 27 } 28 </script> 29 </head> 30 <body> 31 </body> 32 </html>