Bug 449371 Firefox/Thunderbird crashes at exit [@ gdk_display_x11_finalize], p=Brian...
[wine-gecko.git] / testing / mochitest / tests / test_bug6296.html
blob9ce38ef730c20b2952db315a4efaa0dfe15e5b99
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=6296
5 -->
6 <head>
7 <title>Test for Bug 6296</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=6296">Mozilla Bug 6296</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
16 <A HREF="../testdata/test.gif" id="foo" NAME="anchor1" ALT="this is a test of the image
17 attribute">Hi</A>
18 </div>
19 <pre id="test">
20 <script class="testbody" type="text/javascript">
22 /** Test for Bug 6296 **/
23 is($("foo").name, "anchor1", "accessing an anchor name should work, and not crash either!")
28 </script>
29 </pre>
30 </body>
31 </html>