Closed Bug 335280 Opened 20 years ago Closed 16 years ago

Windows Plugins are not scriptable if they are installed before Firefox is installed.

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: seandr, Unassigned)

Details

(Whiteboard: [CLOSEME 5-15-2010])

Attachments

(4 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2 My plugin installer copies my plugin dll and xpt to a subfolder of the "Program Files" directory, then registers this location in the Windows registry so that Firefox and other Mozilla browsers can find it (according to spec). When I browse a web page that uses the plugin, the plugin dll loads fine but it is not scriptable via javascript. I've reproduced this problem with 2 different plugins. Reproducible: Always Steps to Reproduce: 1. Copy npScriptable.dll and npScriptable.xpt into "C:\PluginSample\" 2. Register this plugin location by importing the attached npScriptable.reg file into the Windows register (just copy it locally and double-click) 3. Open the attached test.html file in Firefox. 4. Click "Show Version" Actual Results: Nothing happens Expected Results: You should see the plugin version number in the box on the page. Now copy npScriptable.xpt and npScriptable.dll into the Firefox plugins directory, restart Firefox, and browse to Test.html. This time the "Show Version" button works as expectd. Firefox doesn't seem to be reading the "XPTPath" registry key find the plugin xpt file. This means you can't install a scriptable plugin before installing Firefox or other Mozilla browsers.
Attached file Scriptable plugin dll —
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 1.5.0.x Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.3 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: