Closed Bug 502137 Opened 15 years ago Closed 15 years ago

Remove dead plugin scripting code.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: jst, Assigned: jst)

References

Details

Attachments

(1 file)

Now that we no longer support XPCOM plugins there's some code in nsDOMClassInfo.cpp that no longer does anything useful. See attached patch.
Attachment #386651 - Flags: superreview?(mrbkap)
Attachment #386651 - Flags: review?(mrbkap)
Oh, and this patch also adds an ObjectIsNativeWrapper() check to nsHTMLPluginObjElementSH::Call(), since I think that's what we want to do there...
Comment on attachment 386651 [details] [diff] [review]
Remove dead code.

The world just got a little bit brighter.
Attachment #386651 - Flags: superreview?(mrbkap)
Attachment #386651 - Flags: superreview+
Attachment #386651 - Flags: review?(mrbkap)
Attachment #386651 - Flags: review+
Fixed, and I updated the comment about the prototype layout before and after we script a plugin as well...

http://hg.mozilla.org/mozilla-central/rev/457417981271
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 536116
Version: unspecified → Trunk
Thanks to Daniel we were able to see that the removal has also been affected NPAPI plugins. The regression is covered on bug 524649.
OS: Linux → All
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.2a1
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: