Bug 1613552 [wpt PR 21618] - Fix timeout vs. task-queue race conditions in promise...
[gecko.git] / widget / tests / test_mouse_scroll.xhtml
blobecb0e24bc297711be6530524428a537f5ecb3a17
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
4 type="text/css"?>
5 <window title="Testing composition, text and query content events"
6 onload="setTimeout(onLoad, 0);"
7 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
11 <body xmlns="http://www.w3.org/1999/xhtml">
12 <div id="content" style="display: none">
14 </div>
15 <pre id="test">
16 </pre>
17 </body>
19 <script class="testbody" type="application/javascript">
20 <![CDATA[
22 SimpleTest.waitForExplicitFinish();
23 function onLoad()
25 SpecialPowers.pushPrefEnv({"set": [
26 ["security.data_uri.unique_opaque_origin", false]]}, runTest);
29 function runTest()
31 window.openDialog("window_mouse_scroll_win.html", "_blank",
32 "chrome,width=600,height=600,noopener", window);
34 ]]>
35 </script>
36 </window>