Source code

Revision control

Copy as Markdown

Other Tools

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
<!--
-->
<window title="Mozilla Bug 985827"
<iframe id="t"></iframe>
<!-- test code goes here -->
<script type="application/javascript">
<![CDATA[
/** Test for Bug 985827 **/
addLoadEvent(function() {
var ok = parent.ok;
var is = parent.is;
var nav = document.getElementById("t").contentWindow.navigator;
ok(Cu.isXrayWrapper(nav), "Should have an Xray here");
});
]]>
</script>
</window>