Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap

This commit is contained in:
Boris Zbarsky 2013-02-08 15:03:07 +00:00
parent 058aaf14da
commit 704f7c0de4
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=533596
var expando = unwrapped.expando;
is(utils.getClassName(expando), 'Proxy', 'properly wrapped');
is(typeof expando.QueryInterface, 'function', 'double wrapped');
is(typeof expando.querySelector, 'function', 'double wrapped');
ok(unwrapped.testme(expando),
"content didn't get a proxy, but another double wrapped object");

View File

@ -14,7 +14,7 @@
.getInterface(Ci.nsIDOMWindowUtils);
return utils.getClassName(obj) != "Proxy" &&
typeof obj.QueryInterface == 'function';
typeof obj.querySelector == 'function';
}
</script>
</head>