Closed
Bug 315562
Opened 19 years ago
Closed 19 years ago
non-MOZILLA_INTERNAL_API code usage of dom/content headers
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: benjamin, Assigned: benjamin)
References
Details
Attachments
(1 file, 1 obsolete file)
6.28 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
The Mozilla activex plugin/control needs to be built without MOZILLA_INTERNAL_API, but it needs to include nsIContent.h so it can pass a content object to nsILinkHandler. The forthcoming patch is a hack that allows the necessary headers to be included without breaking the build.
Assignee | ||
Comment 1•19 years ago
|
||
Attachment #202252 -
Flags: review?(jst)
Comment 2•19 years ago
|
||
Comment on attachment 202252 [details] [diff] [review]
Hack "nsStringGlue.h" and ifdefs for non-internal API use
>Index: content/base/public/nsIDocument.h
>+#ifndef MOZILLA_INTERNAL_API
>+// XXX Hack alert! These are only here to make this file compile, you can't
>+// actually use these to do anything useful with the frozen string API.
>+#define nsAFlatString nsAString
>+#define nsAFlatCString nsACString
>+#endif
nsAFlatString is a deprecated type even in the internal string API, and
it actually corresponds to nsString. Why not add typedefs to nsStringAPI.h
in the deprecated section for this? Or, change nsIDocument to use nsString
in place of nsAFlatString.
Assignee | ||
Updated•19 years ago
|
Attachment #202252 -
Flags: review?(jst)
Assignee | ||
Comment 3•19 years ago
|
||
Attachment #202252 -
Attachment is obsolete: true
Attachment #202287 -
Flags: review?(jst)
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Comment 4•19 years ago
|
||
Comment on attachment 202287 [details] [diff] [review]
Hack "nsStringGlue.h" and ifdefs for non-internal API use
r=jst
Attachment #202287 -
Flags: review?(jst) → review+
Assignee | ||
Comment 5•19 years ago
|
||
Fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
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
•