dom/tests/mochitest/chrome/focus_window2.xul

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:bc3a999eaa5a
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3
4 <window id="other-document"
5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7 <script type="application/javascript"
8 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
9
10 <script>
11 <![CDATA[
12
13 function focused()
14 {
15 if (window.arguments)
16 setTimeout(function () window.arguments[0](window, window.arguments[1]), 0);
17 }
18
19 SimpleTest.waitForFocus(focused);
20
21 ]]>
22 </script>
23
24 <button id="other" label="OK"/>
25 <textbox id="other-textbox" value="test"/>
26
27 </window>

mercurial