Closed Bug 183302 Opened 22 years ago Closed 22 years ago

null plugin doesn't save mime types

Categories

(Core Graveyard :: Plug-ins, defect)

x86
OS/2
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mrmazda, Assigned: mkaply)

Details

Attachments

(1 file)

2002120213 OS/2 trunk, but not new.

To reproduce:
1-Don't have the plugin installed
2-Open a page using an uninstalled plugin
3-Dismiss the dialog asking if you want to download the plugin (answer no)
4-Reopen the same or another page using the same plugin

Actual behavior:
1-Popup asks if you want to download the plugin

Expected behavior:
1-Mozilla remembers you don't want that plugin and proceeds without imposing
another unnecessary popup
Attached patch FixSplinter Review
Add code to write to OS2.INI each time we see a new mime type so we don't keep
asking.
Attachment #108096 - Flags: review?(pedemont)
Attachment #108096 - Flags: review?(pedemont) → review+
Why not save in mozilla/bin/plugins/os2store.rdf, $HOME/localstore.rdf, or
$HOME/os2store.rdf? Why does the desktop need to store data personal to an app?
I new you were going to ask that. :)

The null plugin is basically a standalone application. It can't access Mozilla 
preferences, RDF or anything.

There is another bug for making the null plugin a part of Mozilla at which time 
that info could be stored in Mozilla datastores.

So for now I have to store it in an OS/2 INI file and I don't want to create a 
new INI file just for the null plugin.
Attachment #108096 - Flags: review+ → review?(jeffreyj)
Attachment #108096 - Flags: review?(jeffreyj) → review+
Comment on attachment 108096 [details] [diff] [review]
Fix

sr would be blizzard as this is platform specific code.
Attachment #108096 - Flags: superreview+
Attachment #108096 - Flags: approval1.3a?
Comment on attachment 108096 [details] [diff] [review]
Fix

a=asa for checkin to 1.3a. It needs to land today if it's going to make it.
Attachment #108096 - Flags: approval1.3a? → approval1.3a+
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Did this miss AM but make PM in today's builds.
No plugin popups in over a week. Must be fixed. v.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: