Closed
Bug 722660
Opened 13 years ago
Closed 13 years ago
BROWSER_NEW_TAB_URL variable should keep the getter of "browser.newtab.url" (don't be lazy getter)
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 722263
People
(Reporter: teramako, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0a1) Gecko/20120130 Firefox/12.0a1
Build ID: 20120130031142
Steps to reproduce:
1. open about:config
2. edit "browser.newtab.url" to "about:newtab" or reset the value
3. click "Open a new tab" in the tabs-bar
4. the blank page is not the modified url (edited by No.2)
https://hg.mozilla.org/mozilla-central/rev/746adaa9c9da
--- b/browser/base/content/utilityOverlay.js
+++ b/browser/base/content/utilityOverlay.js
> XPCOMUtils.defineLazyGetter(this, "BROWSER_NEW_TAB_URL", function () {
> return Services.prefs.getCharPref("browser.newtab.url") || "about:blank";
> });
I think BROWSER_NEW_TAB_URL variable should be a getter instead of a lazy getter
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
QA Contact: untriaged → tabbed.browser
You need to log in
before you can comment on or make changes to this bug.
Description
•