Closed
Bug 149715
Opened 23 years ago
Closed 23 years ago
do_GetInterface() is not safe to use from embedding
Categories
(Core :: XPCOM, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dougt, Assigned: dougt)
Details
Attachments
(1 file)
7.41 KB,
patch
|
darin.moz
:
review+
shaver
:
superreview+
dbaron
:
approval+
|
Details | Diff | Splinter Review |
something like:
nsCOMPtr<nsIClipboardCommands> clipCmds = do_GetInterface(webBrowser);
is not safe from an embedding application as this act caused a link against the
XPCOM library. It is much safer if we moved nsIInterfaceRequestor.cpp to the
glue library so that an embedding application can fulfill the link dependency
without having to link to xpcom.
We should have done this when we moved the header and idl file to glue.
Assignee | ||
Comment 1•23 years ago
|
||
this patch will be much smaller if we get seawood to do a raw cvs move.
Comment 2•23 years ago
|
||
Comment on attachment 86686 [details] [diff] [review]
Moves nsIInterfaceRequestor.cpp to glue.
nsIFoo.cpp is a WRONG WRONG WRONG name. WRONG WRONG DOUBLE PLUS UNGOOD WRONG.
OK, I feel better now. Thanks, dougt.
sr=shaver.
Attachment #86686 -
Flags: superreview+
Comment 3•23 years ago
|
||
Comment on attachment 86686 [details] [diff] [review]
Moves nsIInterfaceRequestor.cpp to glue.
r=darin
Attachment #86686 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 4•23 years ago
|
||
landed the fix on the trunk last night.
Comment on attachment 86686 [details] [diff] [review]
Moves nsIInterfaceRequestor.cpp to glue.
Please land this on the 1.0.1 branch. Once there, remove the
"mozilla1.0.1+" keyword, and add the "fixed1.0.1"
Attachment #86686 -
Flags: approval+
Keywords: mozilla1.0.1 → mozilla1.0.1+
Assignee | ||
Updated•23 years ago
|
Keywords: fixed1.0.1
Updated•23 years ago
|
Keywords: mozilla1.0.1+
Verified FIXED using LXR for both trunk and MOZILLA_1_0_BRANCH.
Status: RESOLVED → VERIFIED
Keywords: fixed1.0.1 → verified1.0.1
You need to log in
before you can comment on or make changes to this bug.
Description
•