pinkshirt / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Safari Windows fails to load plugin with blank description attribute #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run fbgen and create a plugin. When prompted for a description, enter a zero 
length description (blank)

2. Run regsvr32 npMyPlugin.dll and load Windows Safari

3. Help->Installed Plugins will not show the plugin. Firefox and IE however do 
show the plugin as installed.

Mac Safari loads the plugin without any problems.

What is the expected output? What do you see instead?
I expected the plugin to be loaded.

What version of FireBreath are you using? On what operating system and
browsers?
1.3.1, confirmed on master trunk as of writing though too.

Please provide any additional information below.
fbgen should be changed so that it enforces a plugin description to be provided 
(FBSTRING_FileDescription attribute) so that the plugin loads successfully on 
Windows Safari.

Original issue reported on code.google.com by phpla...@gmail.com on 3 Dec 2010 at 12:50

GoogleCodeExporter commented 9 years ago
Possible alternative: use something like "(no description)" or just the plugin 
name as the default.

Original comment by georg.fritzsche on 3 Dec 2010 at 7:07

GoogleCodeExporter commented 9 years ago
I have added a check to fbgen to now allow an empty description.

Original comment by richarda...@gmail.com on 29 Jan 2011 at 2:10