4 https://bugzilla.mozilla.org/show_bug.cgi?id=1017932
8 <title>Test for Bug
1017932</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <script type=
"application/javascript">
13 /** Test for Bug
1017932 **/
14 var doc = new Document;
15 ok(doc instanceof Document,
"Should have a document");
16 ok(!(doc instanceof XMLDocument),
"Should not be an XMLDocument");
17 ok(!(
"load" in doc),
"Should not have a load() method");
18 is(Object.getPrototypeOf(doc), Document.prototype,
19 "Should have the right proto");
23 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=1017932">Mozilla Bug
1017932</a>
25 <div id=
"content" style=
"display: none">