mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
058aaf14da
commit
704f7c0de4
@ -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");
|
||||
|
@ -14,7 +14,7 @@
|
||||
.getInterface(Ci.nsIDOMWindowUtils);
|
||||
|
||||
return utils.getClassName(obj) != "Proxy" &&
|
||||
typeof obj.QueryInterface == 'function';
|
||||
typeof obj.querySelector == 'function';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user