mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 843829 - Fix incorrect test. r=mrbkap
This wasn't actually testing anything, because |is| is defined in the scope of the content, so by passing the objects as arguments, we end up re-wrapping them in the content scope, where the distinction between waived and non-waived objects doesn't exist. We're actually just about to remove this test in the next patch, but I wanted to make it correct first. :-)
This commit is contained in:
parent
c6e721524b
commit
fbfd83ce81
@ -44,7 +44,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=821850
|
||||
is(bound.objectField.bar.a, 1, "Field Xrays work on objects");
|
||||
is(bound.contentField.foo, 10, "Field Xrays work on content objects");
|
||||
var hole = bound.contentField.rabbit.hole;
|
||||
is(hole.win, window, "We gain back Xray vision when hitting a native object");
|
||||
ok(hole.win === window, "We gain back Xray vision when hitting a native object");
|
||||
ok(Cu.isXrayWrapper(hole.win), "Really is Xray");
|
||||
|
||||
// This gets invoked by an event handler.
|
||||
|
Loading…
Reference in New Issue
Block a user