mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
Add a mochitest for __parent__ wrapping.
This commit is contained in:
parent
bc7aaf737e
commit
356f527fb9
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user