Bug 142616 - [GTK] NPNVToolkit value should reflect Gtk+ version
Summary: [GTK] NPNVToolkit value should reflect Gtk+ version
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 04:08 PDT by Marek Kasik
Modified: 2022-06-21 04:57 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Kasik 2015-03-12 04:08:31 PDT
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
Comment 1 Ahmad Saleem 2022-06-21 03:40:45 PDT
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!
Comment 2 Ahmad Saleem 2022-06-21 03:40:52 PDT
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!