[Webkit-unassigned] [Bug 142616] New: NPNVToolkit value should reflect Gtk+ version

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 12 04:08:31 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=142616

            Bug ID: 142616
           Summary: NPNVToolkit value should reflect Gtk+ version
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Plug-ins
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mkasik at redhat.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150312/a3860d11/attachment-0002.html>


More information about the webkit-unassigned mailing list