Bug 449371 Firefox/Thunderbird crashes at exit [@ gdk_display_x11_finalize], p=Brian...
[wine-gecko.git] / testing / mochitest / tests / test_bug351601.html
blob3e3db1f2fa2a4ae57d467b2e7a2f922b7794a550
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=351601
5 -->
6 <head>
7 <title>Test for Bug 351601</title>
8 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=351601">Mozilla Bug 351601</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
17 </div>
18 <pre id="test">
19 <script class="testbody" type="text/javascript">
21 /** Test for Bug 351601 **/
23 var foo;
24 var isOK = false;
25 try {
26 foo = navigator.buildID;
27 isOK = true;
28 } catch (ex) { /* do not do anything here, as we are checking result below. */ }
30 if (foo == "0000000000")
31 ok(isOK, "navigator.buildID should never throw");
32 else
33 ok(isOK, "navigator.buildID is not 0000000000, but we can confirm the normal case does not crash.");
34 </script>
35 </pre>
36 </body>
37 </html>