dom/tests/mochitest/bugs/test_bug665548.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:86a9b6a9bd85
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=665548
5 -->
6 <head>
7 <title>Test for Bug 665548</title>
8 <script type="application/javascript" src="/MochiKit/packed.js"></script>
9 <script type="application/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=665548">Mozilla Bug 665548</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
16 <iframe name='location'></iframe>
17 </div>
18 <pre id="test">
19 <script type="application/javascript">
20
21 /** Test for Bug 665548 **/
22
23 isnot(window.location, window.frames[0],
24 "window.location shouldn't be the frame named location");
25
26 </script>
27 </pre>
28 </body>
29 </html>

mercurial