Closed Bug 1230870 Opened 9 years ago Closed 8 years ago

[e10s] Main browser process NPAPI plugins are forbidden

Categories

(Firefox :: Extension Compatibility, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1237402
Tracking Status
e10s ? ---

People

(Reporter: linjinan, Unassigned)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Steps to reproduce:

prerequisite:
1. install firefox in version equal to or greater than 45
2. go to https://www.360totalsecurity.com
3. install the anti-virus product
4. lauch firefox and then popup the prompt, plugin comfirmation
5. enable e10s

normal case(e10s not enabled):
1. visit http://www.amazon.com/
2. the dialog popup in bottom right corner

abnormal case(e10s enabled):
1. visit http://www.amazon.com/
2. there's no dialog popup bottom right corner


Actual results:

normal case(e10s not enabled):
Indiciting in shopping mode.
This is, the plugin takes effect. Also, the nptswp.dll loaded in plugin-container.exe

abnormal case(e10s enabled):
nptswp.dll not loaded


Expected results:

Supposed that NPAPI plugins was loaded in main process.


ps: the attachment is plugin in case the above mentioned plugin installation failed.
Component: Untriaged → Extension Compatibility
We don't plan on supporting chrome process plugins
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
from an email:
-------------------------------------

Hi all,

I explain how important the plugin is to us.

The plugin is based on  detection of internet security.

There are tons of users use our product, including the plugin(great FF).

We hope the problem can be fixed in time before version 45 releases, or we cannot commit user to provide a secure surfing environment on the internet.

Our plugin is to observe any url changed/opened and then analyze if the url is risk/dangerous. Give a warning to users etc.

The manner to observe url changed/opened is implemented in main process using xul overlay launching NPAPI plugin.

So is there an alternative way interaction with NPAPI plugin receiving url changed/opend ?

Thanks a million in advance.
from email:
-------------------------

Hi all,

Sorry for disturbing you again.

I have a few questions.

1.       On what version does the e10s will be turned on by default?
2.       When does  the native messaging of web extension will be ready?
3.       Is any suggestion on NPAPI plugin not working? How to get through  the transition of wen extension ready(especially on native messaging).
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WONTFIX → ---
Flags: needinfo?(wmccloskey)
Bug 1237402 adds some code to make this work. I just checked it in today so it will be available on Firefox Nightly (version 47) in a few days. To use it, you need to set the pref "plugin.load_in_parent_process.<your-plugin-MIME-type>" to true. Then it can be loaded in the main process (and not in the content process). I hope this works for you.
Flags: needinfo?(wmccloskey)
(In reply to Bill McCloskey (:billm) from comment #4)
> Bug 1237402 adds some code to make this work. I just checked it in today so
> it will be available on Firefox Nightly (version 47) in a few days. To use
> it, you need to set the pref
> "plugin.load_in_parent_process.<your-plugin-MIME-type>" to true. Then it can
> be loaded in the main process (and not in the content process). I hope this
> works for you.

hi bill,

I try it out, but this nightly build in 47.a01 still doesn't work for me.

The following is my step:
1. input cabout:config
2. create a new pref named 'plugin.load_in_parent_process.application/x-nptswp'
3. set the pref to true
4. restart FF, the plugin not loaded in plugin-container.exe

Did I miss something?
As I said, it won't be available in Nightly for a few days. Try again on February 1st.
Status: REOPENED → RESOLVED
Closed: 9 years ago8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: