test_baselinecoverage.xhtml (1077B)
1 <?xml version="1.0"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> 7 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?> 8 9 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 10 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" /> 11 <script type="application/javascript"><![CDATA[ 12 SimpleTest.waitForExplicitFinish(); 13 SimpleTest.requestFlakyTimeout("Baseline coverage stabilization delay."); 14 15 async function delayBaseline() { 16 SimpleTest.ok(true, "Collecting baseline coverage for XUL (.xul) file types."); 17 await new Promise((c) => setTimeout(c, 30 * 1000)); 18 SimpleTest.finish(); 19 } 20 21 delayBaseline(); 22 ]]></script> 23 24 <body xmlns="http://www.w3.org/1999/xhtml" style="height: 300px; overflow: auto;" /> 25 </window>