Add a mochitest for __parent__ wrapping.

This commit is contained in:
mrbkap@gmail.com 2007-08-07 19:18:05 -07:00
parent bc7aaf737e
commit 356f527fb9

View File

@ -44,6 +44,9 @@
} catch (e) {
ok(false, 'window.eval does not throw an exception');
}
is(Object.prototype.toString.call(Object.__parent__),
'[object XPCCrossOriginWrapper]', '__parent__ returns an XOW');
</script>
</body>
</html>