Some plugins crash or hang on NPP_Destroy when NPP_SetWindow is called with a null window handle.
Created attachment 97791 [details] Patch This patch depends on bug #62899, with current code it's not possible to call getPluginInfo() fom determineQuirks() because the wrong netspace browser funcs are used and it crashes.
Comment on attachment 97791 [details] Patch I think the Chrome X11 plug-in implementation never calls NPP_SetWindow with a null window handle on destroy, maybe we don't need to do that either?
Sure, I added the quirk to match webkit1, but if we don't really need it, not calling NPP_SetWindow on destroy would be much easier.
(In reply to comment #2) > (From update of attachment 97791 [details]) > I think the Chrome X11 plug-in implementation never calls NPP_SetWindow with a null window handle on destroy, maybe we don't need to do that either? The windows port uses it also in webkit1 for the VLC plugin, I'm not sure it's still needed, though.
Created attachment 98499 [details] New patch
Committed r89678: <http://trac.webkit.org/changeset/89678>