mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 239753 - Allow 'browser.xul' as well as 'navigator.xul' to increase functionality on Firefox.
r=rginda@hacksrus.com
This commit is contained in:
parent
282fcc9c33
commit
1bf50f6e9c
@ -81,7 +81,7 @@ function isWindowFiltered (window)
|
||||
var rv = ((href.search (/^chrome:\/\/venkman\//) != -1 &&
|
||||
href.search (/test/) == -1) ||
|
||||
(console.prefs["enableChromeFilter"] &&
|
||||
href.search (/navigator.xul($|\?)/) == -1));
|
||||
href.search (/(navigator|browser).xul($|\?)/) == -1));
|
||||
//dd ("isWindowFiltered " + window.location.href + ", returning " + rv);
|
||||
return rv;
|
||||
}
|
||||
|
@ -211,7 +211,8 @@ function WindowRecord (win, baseURL)
|
||||
|
||||
this.reserveChildren(true);
|
||||
this.shortName = getFileFromPath (this.url);
|
||||
if (console.prefs["enableChromeFilter"] && this.shortName == "navigator.xul")
|
||||
if (console.prefs["enableChromeFilter"] &&
|
||||
(this.shortName == "navigator.xul" || this.shortName == "browser.xul"))
|
||||
{
|
||||
this.displayName = MSG_NAVIGATOR_XUL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user