Bug 359718 - Page info: Security tab never shown. r=gavin, mpa=darin.

This commit is contained in:
mozilla.mano%sent.com 2006-11-23 09:41:03 +00:00
parent 8a7df0cbd7
commit 33537036df

View File

@ -65,10 +65,12 @@
if ("arguments" in window && window.arguments.length > 0 &&
window.arguments[0] && window.arguments[0].doc)
{
// w = window.arguments[0].doc;
// We don't have separate info for a frame, return null until further notice
// (see bug 138479)
return null;
w = window.arguments[0].doc.defaultView;
if (w != w.top) {
// We don't have separate info for a frame, return null until further notice
// (see bug 138479)
return null;
}
}
else if ("gBrowser" in window.opener)
w = window.opener.gBrowser.contentWindow;