Bug 142616
Summary: | [GTK] NPNVToolkit value should reflect Gtk+ version | ||
---|---|---|---|
Product: | WebKit | Reporter: | Marek Kasik <mkasik> |
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bugs-noreply, cgarcia, mcatanzaro, rniwa, zalan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Marek Kasik
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
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
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!