Closed Bug 929689 Opened 11 years ago Closed 10 years ago

NewTabUtils.jsm js exceptions

Categories

(Firefox for Metro Graveyard :: Firefox Start, defect, P2)

x86_64
Windows 8
defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 30

People

(Reporter: ally, Assigned: jimm)

References

Details

(Whiteboard: p=1 s=it-30c-29a-28b.1 r=ff30)

Attachments

(1 file, 1 obsolete file)

[JavaScript Error: "[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]" {file: "resource://gre/modules/NewTabUtils.jsm" line: 223}]
[JavaScript Error: "Not a number" {file: "resource://gre/modules/PlacesDBUtils.jsm" line: 975}]
[JavaScript Error: "[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]" {file: "resource://gre/modules/NewTabUtils.jsm" line: 223}]

m-c from monday, these were not here last week. appeared upon startup, not a new profile.
The NewTabUtils errors are trying to read the "browser.newtabpage.enabled" pref.  We may want to add this to metro.js:

 pref("browser.newtabpage.enabled", true);

(Or should it be false?)
I think we want this set to true so our thumbnails update - 

http://mxr.mozilla.org/mozilla-central/ident?i=AllPages&tree=mozilla-central&filter=
Attached patch fix (obsolete) — Splinter Review
I've been doing update testing over on oak, and I keep seeing this in the console. Adding this pref solves the problem and doesn't appear to mess with our about:start thumbnails in any way.
Assignee: nobody → jmathies
Attachment #8372421 - Flags: review?(mbrubeck)
Status: NEW → ASSIGNED
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: p=0 s=it-30c-29a-28b.1
Target Milestone: --- → Firefox 30
Whiteboard: p=0 s=it-30c-29a-28b.1 → p=1 s=it-30c-29a-28b.1
Whiteboard: p=1 s=it-30c-29a-28b.1 → p=1 s=it-30c-29a-28b.1 r=ff30
Target Milestone: Firefox 30 → ---
Blocks: metrobacklog
No longer blocks: metrov1backlog
Attachment #8372421 - Flags: review?(mbrubeck) → review+
Attached patch exportSplinter Review
Attachment #8372421 - Attachment is obsolete: true
Attachment #8373543 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/integration/fx-team/rev/1c7a9d75142f
Keywords: checkin-needed
Whiteboard: p=1 s=it-30c-29a-28b.1 r=ff30 → p=1 s=it-30c-29a-28b.1 r=ff30[fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/1c7a9d75142f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: p=1 s=it-30c-29a-28b.1 r=ff30[fixed-in-fx-team] → p=1 s=it-30c-29a-28b.1 r=ff30
Target Milestone: --- → Firefox 30
Could anyone please give guidance in order for the QA to verify this?
Flags: needinfo?(jmathies)
(In reply to Manuela Muntean [:Manuela] [QA] from comment #7)
> Could anyone please give guidance in order for the QA to verify this?

Open the browser, hit ctrl-shift-j, wait ten seconds. you shouldn't see any exceptions in NewTabUtils code in the console.
Flags: needinfo?(jmathies)
(In reply to Jim Mathies [:jimm] from comment #8)
> (In reply to Manuela Muntean [:Manuela] [QA] from comment #7)
> > Could anyone please give guidance in order for the QA to verify this?
> 
> Open the browser, hit ctrl-shift-j, wait ten seconds. you shouldn't see any
> exceptions in NewTabUtils code in the console.

Verified as fixed with latest Nightly on Win 8 64-bit, for iteration IT-30C-29A-28B.1 (it #24)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: