4 https://bugzilla.mozilla.org/show_bug.cgi?id=1430164
8 <title>Test for Bug
1430164</title>
9 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"chrome://global/skin"/>
11 <link rel=
"stylesheet" type=
"text/css" href=
"chrome://mochikit/content/tests/SimpleTest/test.css"/>
12 <script type=
"application/javascript">
13 /** Test for Bug
1430164 **/
14 var s = new Cu.Sandbox(window, { sandboxPrototype: window } );
18 t = Cu.evalInSandbox('Node === Node', s);
19 ok(t,
"Object identity should be sane");
21 t = Cu.evalInSandbox('Node === this.Node', s);
22 ok(t,
"Node should match this.Node in toplevel");
24 t = Cu.evalInSandbox('Node === window.Node', s);
25 ok(t,
"Node should match window.Node");
27 ok(false,
"Should not get an exception: " + e);