Closed Bug 121072 Opened 23 years ago Closed 23 years ago

Missing plug-in name in "Illegal Operation" alert

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: serhunt)

References

()

Details

Attachments

(3 files)

If you go to: http://www.dse.nl/~sjonnie/manta.htm you get a plug-in error. Is this dialog there are two errors: 1. The plug-in name is missing. 2. Plug-in is spelled "plug-in" not "plugin". See bug 106413. So I expect the dialog be redone to something like this: "The QuickTime plug-in performed an illegal operation. You are strongly advised to restart Navigator." 20020119
Depends on: 106413
Is not "plug-in" correct spelling according to bug 106413? nsPluginHostImpl::HandleBadPlugin method takes a handle to dll as a parameter which was originally supposed to be used to retrieve all necessary plugin info. So, to fix this should not be that difficult.
Attached patch patch v.1Splinter Review
The simplest fix I came with. With this patch you will see the name of the plugin (as it is specified by the plugin manufaturer and seen in about:plugins) followed by two line feeds and the old message.
Attached patch patch v.2Splinter Review
Minor improvement: more appropriate string manipulation. Please review.
Comment on attachment 65926 [details] [diff] [review] patch v.2 r=serge
Attachment #65926 - Flags: review+
av: this is sooo cool! thanx!
any chance this could get a sr and checkin? We have a patch and r=
Comment on attachment 65926 [details] [diff] [review] patch v.2 sr=beard
Attachment #65926 - Flags: superreview+
Checked in. Marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
vf
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

Creator:
Created:
Updated:
Size: