Closed
Bug 630935
Opened 15 years ago
Closed 15 years ago
Mac OOPP implementation needs to make Carbon support status (NPNVsupportsCarbonBool) available
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(blocking2.0 final+)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: jaas, Assigned: jaas)
References
Details
(Whiteboard: [hardblocker])
Attachments
(1 file)
763 bytes,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
Our OOPP implementation needs to support the "NPNVsupportsCarbonBool" variable so that plugins can find out that Carbon is not supported.
Attachment #509164 -
Flags: review?(b56girard)
Comment 1•15 years ago
|
||
I'm not sure I follow why we decided to ifndef with "NP_NO_QUICKDRAW" and likewise I'm not sure why we want to ifndef NP_NO_CARBON. From the point of view of the plugin they should a valid result regardless of with which flags the build of firefox is compiled rather then relying on them to infer that NP_GENERIC_ERROR => not supported.
The only explanation I can see however that the variable is similarly ifndef-ed in npapi.h.
With this path/implementation I don't see how where gaining anything because plugins still have to handle false/generic_error the same way so we're not giving vendors anything valuable with this change.
OS: Mac OS X → Windows XP
I'm doing it this way because that's how it's handled in the NPAPI headers - my patch needs those ifdefs or it won't compile in 64-bit builds. This alone makes it the expedient fix. Those ifdefs also help people catch bugs when they have logic that depends on certain variables that don't make sense in a given architecture.
Comment 3•15 years ago
|
||
Comment on attachment 509164 [details] [diff] [review]
fix v1.0
Discussed my review comments over IRC. I'm satisfied.
Attachment #509164 -
Flags: review?(b56girard) → review+
pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/e9c5611100b7
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•