mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1180507 - Don't hardcode defaultChromeURI in BrowserCLH.js r=mfinkle
This commit is contained in:
parent
e6be0311a5
commit
2d7de836a8
@ -93,7 +93,11 @@ BrowserCLH.prototype = {
|
||||
};
|
||||
|
||||
let flags = "chrome,dialog=no,all";
|
||||
browserWin = openWindow(null, "chrome://browser/content/browser.xul", "_blank", flags, args);
|
||||
let chromeURL = "chrome://browser/content/browser.xul";
|
||||
try {
|
||||
chromeURL = Services.prefs.getCharPref("toolkit.defaultChromeURI");
|
||||
} catch(e) {}
|
||||
browserWin = openWindow(null, chromeURL, "_blank", flags, args);
|
||||
}
|
||||
|
||||
aCmdLine.preventDefault = true;
|
||||
|
Loading…
Reference in New Issue
Block a user