4 https://bugzilla.mozilla.org/show_bug.cgi?id=803730
8 <title>Test for Bug
803730</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=803730">Mozilla Bug
803730</a>
15 <div id=
"content" style=
"display: none">
18 <script type=
"application/javascript">
20 /** Test for Bug
803730 **/
22 isNode: function(obj) {
23 return !!(obj instanceof Node);
27 var elem = document.createElement(
"span");
30 for (var x =
0; x <
100000; x++) {
36 is(falseCount,
0,
"elem instanceof Node working correctly.");