dom/tests/mochitest/geolocation/test_windowClose.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:cac32b991114
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=493615
5 -->
6 <head>
7 <title>Test for geolocation in chrome </title>
8 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9 <script type="text/javascript" src="geolocation_common.js"></script>
10
11 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
12 </head>
13 <body>
14 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=493615">Mozilla Bug 493615</a>
15 <p id="display"></p>
16 <div id="content" style="display: none">
17
18 </div>
19 <pre id="test">
20 <script class="testbody" type="text/javascript">
21
22 function done() {
23 ok(1, "no crash, so pass.");
24 SimpleTest.finish();
25 }
26
27 SimpleTest.waitForExplicitFinish();
28 force_prompt(true, function() {
29 window.open("windowTest.html");
30 });
31
32 </script>
33 </pre>
34 </body>
35 </html>
36

mercurial