Closed Bug 39274 Opened 25 years ago Closed 22 years ago

Get rid of non-macro implementations of |QueryInterface|

Categories

(Core :: XPCOM, defect, P3)

x86
FreeBSD
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Joerg.Brunsmann, Assigned: alecf)

Details

Attachments

(3 files)

Bug # 23737 aims at implementing |QueryInterface| with a single table-driven implementation. In order get a step closer to this table-driver approach, one must make sure that every component implements |QueryInterface| with a macro defined in http://lxr.mozilla.org/seamonkey/source/xpcom/base/nsISupportsUtils.h This bug is an attempt to collect patches which eliminates non-macro implementations of |QueryInterface|
Scott, you want to be owner of this. Help will be greatly appreciated.
Assignee: dp → scc
Whats this scc-obsolete anyway.
Assignee: scc-obsolete → scc
Trying to change the cc-mail address to scc@mozilla.org How do you expect a table driven |QueryInterface| for something like this http://lxr.mozilla.org/seamonkey/source/netwerk/cache/mgr/nsCachedNetData.cpp#142 How do you expect a table driven |AggregatedQueryInterface|? How do you expect a table driven |QueryInterface| if the implementor has additional program logic in |QueryInterface| like: http://lxr.mozilla.org/seamonkey/source/layout/html/content/src/nsHTMLFormElement.cpp#212 (Click on the NS_IMPL_HTML_CONTENT_QUERY_INTERFACE macro and then on the NS_IMPL_CONTENT_QUERY_INTERFACE macro to see the additional logic)
setting status to NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → ASSIGNED
Target Milestone: --- → M20
QA Contact: leger → kandrot
alecf: you've been looking into this (as per bug #23737), so perhaps you want to own this bug?
Assignee: scc → alecf
Status: ASSIGNED → NEW
I think most of the cases we can change have long since been fixed. I'm marking this WONTFIX
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: