Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc
New issue 15835 by [email protected]: "NPAPI Plugin" support appears
to be broken in the latest dev-channel version of Chrome
http://code.google.com/p/chromium/issues/detail?id=15835
Chrome Version : 3.0.190.4 (Official Build 19293)
URLs (if applicable) : N/A
Other browsers tested: Firefox
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4: Not tested
Firefox 3.x: OK
IE 7: N/A
IE 8: N/A
What steps will reproduce the problem?
(See below)
What is the expected result?
The NPAPI Plugin should install, and be invoked by Chrome when the HTML
EMBED tag is executed.
What happens instead?
The Plugin appears to install correct, but does not get invoked by Chrome
when the HTML EMBED tag is executed.
Please provide any additional information below. Attach a screenshot if
possible.
I have attached an NPAPI plugin to demonstrate that "NPAPI Plugin" support
is broken in the dev-channel 3.0.190.4 (Official Build 19293) version of
Chrome.
Note that the plugin doesn't do anything exciting .. it simply writes trace
messages to \plugtest.log.
STATEMENT OF THE PROBLEM:
On Firefox, the plugin successfully installs, and is invoked when the
HTML EMBED tag is executed and runs fine.
On Chrome, the plugin successfully installs, but is not invoked by Chrome
when the HTML EMBED tag is executed. This worked on all previous dev-
channel versions of Chrome that I have tried. It has suddenly stopped
working.
TO REPRODUCE THE PROBLEM:
Unzip the plugtest.zip file into the root of your C: drive (as the HTML
test files expect it to be there). Then ...
On Firefox:
* Delete the \plugtest.log file (if it exists)
* Run the Firefox browser
* Load the following page:
file:///c:/plugtest/src/firefox/test.html
* Click on "Click here to download plugin."
* Click on the "Manual install" button
* Click on the "Install now" button
* Click on the "Restart Firefox" button
* Close all the Firefox browser windows
* File "\plugtest.log" should have been created in the file system root
showing that the NPAPI Plugin has been called successfully by
Firefox
On Chrome:
* Delete the \plugtest.log file (if it exists)
* Run the Chrome browser
* Load the following page:
file:///c:/plugtest/src/chrome/test.html
* Click on the "here" link
* Click the "OK" button in response to the "Are you sure ytou want to
install this extension"
* Re-load the page:
file:///c:/plugtest/src/chrome/test.html
* File "\plugtest.log" will NOT have been created in the file system
root, because the plugin has not been invoked
* This used to work on the previous dev-channel version of Chrome
MAIN FILES:
src\nptest.sln - Visual Studio 2008 solution file
src\nptest.vcproj - Visual Studio 2008 project file
src\package.bat - Constructs packages for Chrome (.CRX) and Firefox
(.XPI)
src\chrome\test.html - Test page for installing and invoking the plugin
src\chrome\nptest.crx - NPAPI plugin packaged for Chrome
src\firefox\test.html - Test page for installing and invoking the plugin
src\firefox\nptest.xpi - NPAPI plugin packaged for Firefox
REBUILDING:
If you need to rebuild the plugin, you need to install the xulrunner-sdk
from the Mozilla web site and add it to your PATH.
* Load plugtest\src\nptest.sln into Visual Studio 2008, and build it
* To build the Chrome and Firefox packages:
. Ensure all Chrome browser windows are closed
. cd plugtest\src
. run package.bat
Exactly the same NPAPI plugin (nptest.dll) is used on both Chrome and
Firefox. The only difference is the packaging ... nptest.crx for Chrome
and nptest.xpi for Firefox.
Attachments:
plugtest.zip 225 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---