NPN_GetValue() function always returns '2' for NPNVToolkit. This avoids plugins to detect version of Gtk+ supported by browser when they need gtk3. I propose to return '3' if WebKit detects that the plugin links against gtk3. This would basically need to propagate 'requiresGtk2' member of PluginModuleInfo to NPN_GetValue(). Unfortunately NPAPI doesn't have a NPNVGtk3 value but since NPNVGtk12=1 and NPNVGtk2=2, I guess that '3' is a good value here. Background info: https://bugzilla.gnome.org/show_bug.cgi?id=738270
NPAPI support from WebkitGTK port has been removed since 2020. https://bugs.webkit.org/show_bug.cgi?id=215503 Can this be marked as "RESOLVED WONTFIX"? Thanks!