mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 359718 - Page info: Security tab never shown. r=gavin, mpa=darin.
This commit is contained in:
parent
8a7df0cbd7
commit
33537036df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user