Closed Bug 628935 Opened 15 years ago Closed 15 years ago

No ABI specification possibility for plugin loading in the Firefox 4.0

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zbynek.michl, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1.16) Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16) Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8) Gecko/20100101 Firefox/4.0b8 There is no alternative for arch specification when loading plugin from an extension package in the FF 4.0. Firefox <=3.6 provides directory structure as follows: /platform/Linux_x86-gcc3/plugins/libMyPlugin.so /platform/WINNT_x86-msvc/plugins/MyPlugin.dll /platform/Darwin_ppc-gcc3/plugins/libMyPlugin.dylib ...but this has been removed in the Firefox 4.0. Reproducible: Always Steps to Reproduce: 1. Install FF 4.0bX 2. Create an extension with NPAPI plugin and place it into /platform/{OS_TARGET}_{TARGET_XPCOM_ABI}/plugins/libMyPlugin.(so|dll|dylib) 3. Install the extension Actual Results: Plugin does not load in FF 4.0. Expected Results: Plugin should load from above directory structure or should be possible define the plugin path in the chrome.manifest file like this: plugin plugins/Linux/libMyPlugin.so ABI=Linux_x86-gcc3 More about this topic is available at http://groups.google.com/group/mozilla.dev.tech.plugins/browse_thread/thread/c72c551dd909cb9d
We removed this intentionally. For plugins, you can just put them all the plugins/ folder, and we'll only load the ones which are compatible with the running architecture.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Ok, I wasn't sure if this is the right way since I'm getting many "LoadPlugin: failed to initialize shared library..." messages while running the Firefox.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.