<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>142616</bug_id>
          
          <creation_ts>2015-03-12 04:08:31 -0700</creation_ts>
          <short_desc>[GTK] NPNVToolkit value should reflect Gtk+ version</short_desc>
          <delta_ts>2022-06-21 04:57:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marek Kasik">mkasik</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>rniwa</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1076606</commentid>
    <comment_count>0</comment_count>
    <who name="Marek Kasik">mkasik</who>
    <bug_when>2015-03-12 04:08:31 -0700</bug_when>
    <thetext>NPN_GetValue() function always returns &apos;2&apos; for NPNVToolkit. This avoids plugins to detect version of Gtk+ supported by browser when they need gtk3. I propose to return &apos;3&apos; if WebKit detects that the plugin links against gtk3. This would basically need to propagate &apos;requiresGtk2&apos; member of PluginModuleInfo to NPN_GetValue().
Unfortunately NPAPI doesn&apos;t have a NPNVGtk3 value but since NPNVGtk12=1 and NPNVGtk2=2, I guess that &apos;3&apos; is a good value here.

Background info: https://bugzilla.gnome.org/show_bug.cgi?id=738270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876935</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-21 03:40:45 -0700</bug_when>
    <thetext>NPAPI support from WebkitGTK port has been removed since 2020.

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

Can this be marked as &quot;RESOLVED WONTFIX&quot;? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876936</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-21 03:40:52 -0700</bug_when>
    <thetext>NPAPI support from WebkitGTK port has been removed since 2020.

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

Can this be marked as &quot;RESOLVED WONTFIX&quot;? Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>