PageRenderTime 703ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 686ms

/toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xul

http://github.com/zpao/v8monkey
Unknown | 31 lines | 26 code | 5 blank | 0 comment | 0 complexity | ad2402239d2d470989a58504da3f409c MD5 | raw file
 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" type="text/css"?>
 4
 5<window title="Popup Attribute Tests"
 6  onload="setTimeout(runTest, 0);"
 7  xmlns:html="http://www.w3.org/1999/xhtml"
 8  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 9
10  <title>Popup Attribute Tests</title>
11  <script type="application/javascript"
12          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
13
14<script>
15SimpleTest.waitForExplicitFinish();
16function runTest()
17{
18  window.open("window_popup_preventdefault_chrome.xul", "_blank", "chrome,width=600,height=600");
19}
20</script>
21
22<body xmlns="http://www.w3.org/1999/xhtml">
23<p id="display">
24</p>
25<div id="content" style="display: none">
26</div>
27<pre id="test">
28</pre>
29</body>
30
31</window>