Closed
Bug 394990
Opened 17 years ago
Closed 17 years ago
Running xpcshell tests: Components.classes['@mozilla.org/xre/app-info;1'] has no properties
Categories
(Toolkit Graveyard :: XULRunner, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: WeirdAl, Assigned: mossop)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
Gavin
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
Somehow, I'm getting a conflict between nsBrowserContentHandler.js and xpcshell tests for extension manager. I'm also seeing our old friend:
###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property!
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a8pre) Gecko/2007090420 Minefield/3.0a8pre
Flags: blocking1.9?
Updated•17 years ago
|
Attachment #279696 -
Attachment mime type: text/x-log → text/plain
Assignee | ||
Comment 1•17 years ago
|
||
What does this have to do with bug 378216?
Reporter | ||
Comment 2•17 years ago
|
||
I don't recall off the top of my head. I think it was just looking at cvs blame, where the code came from.
Assignee | ||
Comment 4•17 years ago
|
||
This isnt to do with any testcases. Simply running a debug build xpcshell on trunk currently produces the following:
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "Components.classes['@mozilla.org/xre/app-info;1'] has no properties" {file: "file:///Users/dave/mozilla/build/minefield-debug/dist/bin/components/nsBrowserContentHandler.js" line: 750}]' when calling method: [nsIModule::registerSelf]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "<unknown>" data: yes]
************************************************************
js> quit()
WARNING: nsExceptionService ignoring thread destruction after shutdown: file /Users/dave/mozilla/source/HEAD/mozilla/xpcom/base/nsExceptionService.cpp, line 191
nsStringStats
=> mAllocCount: 936
=> mReallocCount: 0
=> mFreeCount: 936
=> mShareCount: 44
=> mAdoptCount: 7
=> mAdoptFreeCount: 7
No longer blocks: 378216
Assignee | ||
Comment 5•17 years ago
|
||
This simply plows on in the event there is no app-info.
Updated•17 years ago
|
Attachment #285011 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #285011 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][has reviews]
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][has reviews] → [has patch][has reviews][needs approval]
Updated•17 years ago
|
Attachment #285011 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Whiteboard: [has patch][has reviews][needs approval] → [has patch][has reviews]
Comment 6•17 years ago
|
||
Checking in browser/components/nsBrowserContentHandler.js;
/cvsroot/mozilla/browser/components/nsBrowserContentHandler.js,v <-- nsBrowserContentHandler.js
new revision: 1.46; previous revision: 1.45
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][has reviews]
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•