Complete test coverage of OS X plugin event models

RESOLVED WONTFIX

Status

Testing
Mochitest
RESOLVED WONTFIX
8 years ago
5 years ago

People

(Reporter: cjones, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

AIUI, Gecko's support for plugin event models is

        ||    10.5      ||    10.6
        || x86 | x86-64 || x86 | x86-64
 -------++-----+--------++-----+--------
 Carbon || yes |        || yes |
 Cocoa  || yes |  yes   || yes |  yes

(Josh, is that correct?)

In-process/out-of-process would be another axis, but I can't add that sanely.  We support OOPP for 10.6, both 32- and 64-bit.

My understanding is that we currently only test two configurations: x86/10.5/Carbon/in-process and x86-64/10.6/Cocoa/out-of-process.  For maximum bang for the buck, I agree that these are the best choices, but ideally we would want to test all the "yes" configurations above.

Currently, in x86 builds the testplugin will negotiate the Carbon model by default.  After bug 555274 lands, the test harness or any other code can set the environment variable TEST_COCOA_NPAPI=1 to force x86 testplugin to negotiate the Cocoa model.  This mechanism allows us to cover the table above.  Josh tells me that Alice said setting this variable might be awkward, but we can implement anything that might be easier, such as a pref that controls Carbon/Cocoa preference.
Summary: Test the Cocoa plugin event model in more configurations → Complete test coverage of OS X plugin event models
We can set whatever you want in the test harness. Both environment variables and prefs are simple.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.