Closed
Bug 1354673
Opened 9 years ago
Closed 9 years ago
Unable to access JSAPI on NPAPI plugin in Linux
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: badkins79, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36
Steps to reproduce:
I am developer of a product which includes a Firefox extension as well as an NPAPI plugin that work together. Customers are setting the flash_only property to false to allow the plugin to load on 52+.
In testing Nightly, we see that a breakage occurred between 53.0a1 (2017-1-26) and 54.0a1 (2017-3-15). Any attempt to access the JSAPI of the plugin fails.
This only happens on Linux. It works fine on both Windows and Mac.
Actual results:
I have code like this:
obj = doc.getElementById('my_plugin_id');
console.log("Plugin is " + obj);
Now it outputs: "Plugin is [object HTMLObjectElement]" and I am unable to call any functions in the plugin through this object.
Expected results:
Used to output: "Plugin is <JSAPI-Auto Javascript Object>" and I was able to call functions in the plugin through this object.
Component: Untriaged → Plug-ins
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86
Version: 54 Branch → 53 Branch
Also, if someone can direct me to a download archive of the Nightly Linux builds, I would be happy to test it down to the day in which this changed. I found the page with all the Windows and Mac builds, but can't find Linux nightlies.
Comment 2•9 years ago
|
||
You can use MozRegression to help you through that process more efficiently, if you'd like (often right down to the commit that caused the problem, rather than just down to the day): http://mozilla.github.io/mozregression/
Otherwise the Linux nightlies should be available here: https://ftp.mozilla.org/pub/firefox/nightly/
Unless I am missing something, I don't see any Linux builds in https://ftp.mozilla.org/pub/firefox/nightly/ . I choose a date, and then follow the link for "central", but all I see in there is Windows and Mac builds?
Comment 4•9 years ago
|
||
The load_flash_only pref is only supported for the 52ESR series. Although it still exists in trunk, it will soon not work at all, and in the meantime we are removing the bits of NPAPI which are not required for Flash.
I suspect that what broke this is that we only support windowless plugins on Linux now, bug 1337781.
In any case we're not going to accept patches to fix this.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Ben, thanks so much for the help. So my final question is this: is this change for Windowless Linux going to show up in release version 54, or could it possibly be sooner?
Comment 6•9 years ago
|
||
It rode the 54 trains, and won't be uplifted to 53 (or ESR which still supports non-Flash plugins).
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•