Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <?xml-stylesheet type="text/css" href="chrome://global/skin"?> |
michael@0 | 3 | <window title="Mozilla Bug 824917" |
michael@0 | 4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 5 | |
michael@0 | 6 | <iframe type="content"></iframe> |
michael@0 | 7 | |
michael@0 | 8 | <script type="application/javascript"> |
michael@0 | 9 | <![CDATA[ |
michael@0 | 10 | /** Test for Bug 799299 **/ |
michael@0 | 11 | var SimpleTest = opener.wrappedJSObject.SimpleTest; |
michael@0 | 12 | var ok = opener.wrappedJSObject.ok; |
michael@0 | 13 | |
michael@0 | 14 | var doc = frames[0].document; |
michael@0 | 15 | ok(doc.createElement("body") instanceof HTMLBodyElement, |
michael@0 | 16 | "Should be instance of HTMLBodyElement"); |
michael@0 | 17 | ok(doc.createElement("div") instanceof HTMLDivElement, |
michael@0 | 18 | "Should be instance of HTMLDivElement"); |
michael@0 | 19 | ok(doc.createElement("frameset") instanceof HTMLFrameSetElement, |
michael@0 | 20 | "Should be instance of HTMLFrameSetElement"); |
michael@0 | 21 | ok(doc.createElement("h1") instanceof HTMLHeadingElement, |
michael@0 | 22 | "Should be instance of HTMLHeadingElement"); |
michael@0 | 23 | ok(doc.createElement("label") instanceof HTMLLabelElement, |
michael@0 | 24 | "Should be instance of HTMLLabelElement"); |
michael@0 | 25 | |
michael@0 | 26 | window.close(); |
michael@0 | 27 | opener.wrappedJSObject.SimpleTest.finish(); |
michael@0 | 28 | ]]> |
michael@0 | 29 | </script> |
michael@0 | 30 | </window> |