WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
142616
[GTK] NPNVToolkit value should reflect Gtk+ version
https://bugs.webkit.org/show_bug.cgi?id=142616
Summary
[GTK] NPNVToolkit value should reflect Gtk+ version
Marek Kasik
Reported
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
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
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!
Ahmad Saleem
Comment 2
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!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug