Closed Bug 279213 Opened 20 years ago Closed 20 years ago

The JavaScript error occurs by Startup.(Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]")

Categories

(Toolkit :: Startup and Profile System, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sugar.waffle, Assigned: benjamin)

References

()

Details

The following JavaScript errors occur whenever Firefox is started, and the
JavaScript console is opened. 
There is no problem in the Windows version. 

It is likely to depend on bug271153. 

Reproducible: Always
Steps to Reproduce:
1. start Firefox and open JavaScript Console

JavaScript error message:
Error: [Exception... "Component returned failure code: 0x8000ffff
(NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff
(NS_ERROR_UNEXPECTED)"  location: "JS frame ::
file:///Users/sek/Desktop/Firefox.app/Contents/MacOS/components/nsDefaultCLH.js
:: clh_handle :: line 81"  data: no] Source File:
file:///Users/sek/Desktop/Firefox.app/Contents/MacOS/components/nsDefaultCLH.js
Line: 81

Mac OS X 10.3.7
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050120
Firefox/1.0+
1. not realted to bug271153.
2. shoudn't be a mac specific issue (the pref "toolkit.defaultChromeURI" is only
defined for xulrunner / sunbird).
Assignee: firefox → bsmedberg
Component: General → XRE Startup
Product: Firefox → Toolkit
Version: Trunk → unspecified
The exception is intentional. Is there some way to suppress the debug output for
"intentional" exceptions?
I wish there were, perhaps some Components.pushVerboseExceptionReporting(true),
Components.popVerboseExceptionReporting() that worked on the current context.
This bug appears to prevents me from typing the euro sign (ctrl+alt+5) in any
input (chrome/browser) or textarea.
It just won't show.

It works in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b)
Gecko/20050114 Firefox/1.0+
but not in the 20050119 build.
sorry for spamming.
This bug (€-sign) started another date
OS: MacOS X → All
Hardware: Macintosh → All
Summary: [OSX]The JavaScript error occurs by Startup.(Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]") → The JavaScript error occurs by Startup.(Error: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]")
The following comment ( https://bugzilla.mozilla.org/show_bug.cgi?id=284398#c7 )
leads me to believe this issue may be resolved though I am unable to confirm one
way or the other.
No, bug 284398 is unrelated.
Fixed with the checkin for bug 283694 - marking fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Component: XRE Startup → Startup and Profile System
QA Contact: general → startup
You need to log in before you can comment on or make changes to this bug.