Closed Bug 553901 Opened 15 years ago Closed 15 years ago

noscript ns.versionComparator calling CreateInstance when a service for this CID already exists

Categories

(Firefox :: Extension Compatibility, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: ma1)

Details

#2 Break (aMsg=0x7fff5fbfa260 "###!!! ASSERTION: You are calling CreateInstance \"{c6e47036-ca94-4be3-963a-9abd8705f7a8}\" when a service for this CID already exists!: 'Error', #3 NS_DebugBreak_P #4 nsComponentManagerImpl::CreateInstance #5 nsJSCID::CreateInstance #6 NS_InvokeByIndex_P #7 XPCWrappedNative::CallMethod #8 XPC_WN_CallMethod #9 js_Invoke (gdb) p cx->fp->down->script->filename $6 = 0x117aab8fd "chrome://noscript/content/Main.js" (gdb) p cx->fp->down->script->lineno $7 = 1 var ns = singleton = { ... versionComparator: CC["@mozilla.org/xpcom/version-comparator;1"].createInstance(CI.nsIVersionComparator), please use getService instead.
Fixed in latest development build, thanks.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.