Closed
Bug 655598
Opened 13 years ago
Closed 12 years ago
DOM_CLASSINFO_DOCUMENT_MAP_ENTRIES doesn't have nsIDOMDocument
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: Ms2ger, Unassigned)
Details
Attachments
(1 file)
(deleted),
patch
|
peterv
:
review-
|
Details | Diff | Splinter Review |
As seen in bug 655517.
Comment 1•13 years ago
|
||
Want to fix? ;)
Reporter | ||
Comment 2•13 years ago
|
||
I can, but that doesn't mean I know what effect it will have.
Comment 3•13 years ago
|
||
Comment on attachment 532460 [details] [diff] [review]
Patch v1
Hmm. Well, neither do I. The patch as given will cause duplicate DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocument) for a bunch of document classes and will cause others to contain both DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocument) _and_ DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLDocument). I presume this last is why the entry is not in DOM_CLASSINFO_DOCUMENT_MAP_ENTRIES to start with, but I'm not sure whether the duplication is a problem.
Attachment #532460 -
Flags: review?(bzbarsky) → review?(peterv)
Comment 4•13 years ago
|
||
(In reply to comment #3)
> The patch as given will cause duplicate
> DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocument) for a bunch of document classes
Please don't do that.
> will cause others to contain both DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocument)
> _and_ DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLDocument).
Harmless but unneeded, code that uses this walks the interface chain of every interface in the array anyway, so nsIDOMDocument is hit as part of nsIDOMHTMLDocument
What are we trying to fix exactly?
Comment 5•13 years ago
|
||
Comment on attachment 532460 [details] [diff] [review]
Patch v1
You should at least remove nsIDOMDocument from any class that uses DOM_CLASSINFO_DOCUMENT_MAP_ENTRIES.
Attachment #532460 -
Flags: review?(peterv) → review-
Reporter | ||
Comment 6•13 years ago
|
||
What I'm trying to fix is Olli's comment in bug 655517. If nothing is wrong here, please close this bug.
Comment 7•13 years ago
|
||
I was complaining about the inconsistency in nsDOMClassInfo. In some cases
nsIDOMDocument is there, some cases not.
Comment 8•13 years ago
|
||
Where "there"?
Reporter | ||
Comment 9•12 years ago
|
||
Let's kill DOMCI instead.
Assignee: Ms2ger → nobody
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•