Closed Bug 459490 Opened 16 years ago Closed 15 years ago

Console error when checking for Sunbird or Thunderbird software updates "Exception 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIDocShellHistory.useGlobalHistory] in browser.xml"

Categories

(Toolkit :: Application Update, defect, P3)

1.9.1 Branch
x86
Windows XP
defect

Tracking

()

VERIFIED FIXED
mozilla1.9.1b3

People

(Reporter: ssitter, Assigned: robert.strong.bugs)

Details

(Keywords: verified1.9.1)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081011 Calendar/1.0pre (BuildID: 20081011023826)

Steps to Reproduce:
  1. Start Sunbird with clean profile
  2. Open menu Help -> Check for Updates...
  3. Check Tools -> Error Console

Actual Results:

Update dialog shows normal behavior and reports that no updates where found. But Error Console reports:

Error: [Exception... "Component returned failure code: 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIDocShellHistory.useGlobalHistory]"  nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)"  location: "JS frame :: chrome://global/content/bindings/browser.xml ::  :: line 643"  data: no]
Source File: chrome://global/content/bindings/browser.xml
Line: 647

Expected Results:
  No error.
Summary: Console error when checking for Sunbird software updates → Console error when checking for Sunbird software updates "Exception 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIDocShellHistory.useGlobalHistory] in browser.xml"
This bug also occurs with Shredder--even in safe mode

I'm not sure what product would be the best assignment; thus, I may have to open a separate bug for Shredder and let the devs figure it out.
IMO indicates there's a serious problem; should be on radar for 1.0.
Flags: blocking-calendar1.0?
Component: Sunbird Only → Application Update
Flags: blocking-calendar1.0?
Product: Calendar → Toolkit
QA Contact: sunbird → application.update
Version: Trunk → 1.9.1 Branch
Summary: Console error when checking for Sunbird software updates "Exception 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIDocShellHistory.useGlobalHistory] in browser.xml" → Console error when checking for Sunbird or Thunderbird software updates "Exception 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIDocShellHistory.useGlobalHistory] in browser.xml"
There is a xul:browser in the software update ui that is displayed for Major Updates billboard page and License page. If this error didn't happen previously then it sounds like something changed in xul:browser. If not then it sounds like Sunbird is missing something in its build.
or error reporting changed (which it has recently) so this is now reported.

bent: could your work on error reporting caused this to now report to the error console?
Attachment #359073 - Attachment description: likely fix - untested → patch - rev1
Attachment #359073 - Flags: review?(dtownsend)
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #359073 - Flags: review?(dtownsend) → review+
Comment on attachment 359073 [details] [diff] [review]
patch - rev1

Seems sensible we should have the history disabled here anyway, regardless of whether it fixes the error or not
Comment on attachment 359073 [details] [diff] [review]
patch - rev1

Drivers, I'd like to get this in while we are still doing the major update test... simple / safe fix where we disable history for the widget used by the update billboard and license.
Attachment #359073 - Flags: approval1.9.1?
I doubt this is an error reporting difference... I seem to remember similar
issues (and a similar fix) at songbird.
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/c969af636d82
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Priority: -- → P3
Is this really fixed?  I still get the error:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090130 Lightning/1.0pre
This is fixed on trunk and after it bakes for another day it will likely get approved for 1.9.1 which is what you are running.
Comment on attachment 359073 [details] [diff] [review]
patch - rev1

a191=beltzner
Attachment #359073 - Flags: approval1.9.1? → approval1.9.1+
Pushed to mozilla-1.9.1
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/00c9f0eacc58
Keywords: fixed1.9.1
Target Milestone: --- → mozilla1.9.1b3
Verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090214 Calendar/1.0pre.

Verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090214 Lightning/1.0pre Shredder/3.0b2pre.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: