Closed
Bug 937393
Opened 11 years ago
Closed 10 years ago
Define the "browser.newtab.enabled" pref in metro.js to avoid exceptions
Categories
(Firefox for Metro Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 929689
People
(Reporter: TimAbraldes, Unassigned)
Details
I have been seeing this in my error console: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getBoolPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/NewTabUtils.jsm :: <TOP_LEVEL> :: line 223" data: no] resource://gre/modules/NewTabUtils.jsm 223 It looks like NewTabUtils.jsm expects the pref "browser.newtab.enabled" to exist, but in metro we don't define this pref. [1] https://mxr.mozilla.org/mozilla-central/source/toolkit/modules/NewTabUtils.jsm?r=1accaa61b257#218
Updated•10 years ago
|
Blocks: metrobacklog
Whiteboard: p=0
Updated•10 years ago
|
Assignee: nobody → ally
Updated•10 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
QA Contact: kamiljoz
Whiteboard: p=0 → p=0 s=it-30c-29a-28b.3 r=ff30
Updated•10 years ago
|
Whiteboard: p=0 s=it-30c-29a-28b.3 r=ff30 → p=1 s=it-30c-29a-28b.3 r=ff30
Comment 1•10 years ago
|
||
looks like thee pref is actually "browser.newtabpage.enabled" [1] and we already have that in metro.js line 43 on m-c. Tim, I see the pref and I don't see the error on today's m-c. Is that the case for you? https://mxr.mozilla.org/mozilla-central/source/toolkit/modules/NewTabUtils.jsm#39
Flags: needinfo?(tabraldes)
Reporter | ||
Comment 2•10 years ago
|
||
Looks like jimm fixed this in bug 929689
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(tabraldes)
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Assignee: ally → nobody
No longer blocks: metrobacklog
QA Contact: kamiljoz
Whiteboard: p=1 s=it-30c-29a-28b.3 r=ff30
Comment 3•10 years ago
|
||
wfm :)
You need to log in
before you can comment on or make changes to this bug.
Description
•