Created attachment 386651 [details] [diff] [review] Remove dead code. Now that we no longer support XPCOM plugins there's some code in nsDOMClassInfo.cpp that no longer does anything useful. See attached patch.
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.
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
Thanks to Daniel we were able to see that the removal has also been affected NPAPI plugins. The regression is covered on bug 524649.