Closed
Bug 314931
Opened 19 years ago
Closed 19 years ago
Use content-specific DOMCI macros for XSLT in nsLayoutModule.cpp
Categories
(Core :: XSLT, defect, P3)
Core
XSLT
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: benjamin, Assigned: peterv)
References
Details
Attachments
(1 file)
(deleted),
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
Now that transformiix is built in to layout, it can use the content-specific DOMCI macros in nsLayoutModule. From bug 304494 comment 16.
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Comment 1•19 years ago
|
||
We didn't have a way to make classes internal to content constructable, so I've added a small array to map from DOMClassInfo ID to contract ID.
Attachment #202388 -
Flags: superreview?(jst)
Attachment #202388 -
Flags: review?(jst)
Comment 2•19 years ago
|
||
Comment on attachment 202388 [details] [diff] [review]
v1
r+sr=jst
Attachment #202388 -
Flags: superreview?(jst)
Attachment #202388 -
Flags: superreview+
Attachment #202388 -
Flags: review?(jst)
Attachment #202388 -
Flags: review+
Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 3•19 years ago
|
||
Could this possibly have affected Tp on btek? It went up a bit after this checkin...
Comment 4•19 years ago
|
||
With a build from after this checkin I get:
###!!! ASSERTION: Whaaa, JS environment name clash!: 's->mType == nsGlobalNameStruct::eTypeNotInitialized || s->mType == nsGlobalNameStruct::eTypeInterface', file ../../../../mozilla/dom/src/base/nsScriptNameSpaceManager.cpp, line 642
at startup. The stack is:
#2 0xb7f18fc4 in NSGlue_Assertion (aStr=0xb69c0f78 "Whaaa, JS environment name clash!",
aExpr=0xb69c0f10 "s->mType == nsGlobalNameStruct::eTypeNotInitialized || s->mType == nsGlobalNameStruct::eTypeInterface",
aFile=0xb69c0b18 "../../../../mozilla/dom/src/base/nsScriptNameSpaceManager.cpp",
aLine=642) at nsDebug.cpp:110
#3 0xb6760baa in nsScriptNameSpaceManager::RegisterExternalClassName (this=0x82e50b8,
aClassName=0xbfffe538 "XPathEvaluator", aCID=@0x81f9230)
at ../../../../mozilla/dom/src/base/nsScriptNameSpaceManager.cpp:640
#4 0xb673cb4f in nsDOMClassInfo::RegisterExternalClasses ()
at ../../../../mozilla/dom/src/base/nsDOMClassInfo.cpp:1595
#5 0xb67435fb in nsDOMClassInfo::Init ()
At this point we have:
(gdb) p s->mType
$1 = eTypeClassConstructor
Any idea what's up here?
Comment 5•19 years ago
|
||
I also get the same for:
#3 0xb6760baa in nsScriptNameSpaceManager::RegisterExternalClassName (this=0x82e50b8,
aClassName=0xbfffe538 "XPathException", aCID=@0x81f9230)
#3 0xb6760baa in nsScriptNameSpaceManager::RegisterExternalClassName (this=0x82e50b8,
aClassName=0xbfffe538 "XPathNSResolver", aCID=@0x81f9230)
#3 0xb6760baa in nsScriptNameSpaceManager::RegisterExternalClassName (this=0x82e50b8,
aClassName=0xbfffe538 "XPathResult", aCID=@0x81f9230)
#3 0xb6760baa in nsScriptNameSpaceManager::RegisterExternalClassName (this=0x82e50b8,
aClassName=0xbfffe538 "XSLTProcessor", aCID=@0x81f9230)
Assignee | ||
Comment 6•19 years ago
|
||
Not sure how this could affect Tp. If it does it should actually cause it to go down a bit :-/.
The assertions you're seeing are probably coming from stale entries in the category for external classes (they became internal with this patch). I'm not sure what we can/should do to get rid of those. Though throwing away the component registry should clear the catgeories and solve it for you, iirc.
Comment 7•19 years ago
|
||
I removed components/compreg.dat. Doesn't help -- the assertions are still there. Or did you mean something else when you said "component registry"?
Assignee | ||
Comment 8•19 years ago
|
||
Anyone who sees the asserts, remove the stale transformiix lib if you have one in your components directory (it's now integrated into the layout lib) and blow away the component registry.
You need to log in
before you can comment on or make changes to this bug.
Description
•