<?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>19936</bug_id>
          
          <creation_ts>2008-07-07 16:34:30 -0700</creation_ts>
          <short_desc>Correctly propagate exception information from NPAPI callbacks</short_desc>
          <delta_ts>2022-06-20 17:03:16 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cameron Zwarich (cpst)">zwarich</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>emacemac7</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85403</commentid>
    <comment_count>0</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-07-07 16:34:30 -0700</bug_when>
    <thetext>It came up when fixing bug 19907 that we don&apos;t propagate any exception information in an NPAPI callback. The NPAPI reference suggests that we should return false, at least in some cases:

http://developer.mozilla.org/en/docs/Gecko_Plugin_API_Reference

Some compatibility testing will be required, because the NPAPI documentation isn&apos;t very specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86508</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-07-20 15:25:54 -0700</bug_when>
    <thetext>Related to Bug 18234?

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86519</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-07-20 20:32:02 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Related to Bug 18234?

Yes, that bug should probably depend on this one, or maybe even be marked a duplicate. There is now no real support for NPN_SetException.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876811</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-20 10:42:34 -0700</bug_when>
    <thetext>From Webkit Github mirror, I am only able to find following references about NPN_SetException:

https://github.com/WebKit/WebKit/blob/25eed588cb7fcdb340b0783e2c2c7022cd48897a/Source/WebCore/bridge/testbindings.cpp#L148

I think all other references of it are removed as part of NPAPI removal, since it is not supported from Safari 14 onward and also not supported on WebkitGTK port.

I think any further enhancement to NPAPI is not in radar and this can be marked as &quot;RESOLVED WONTFIX&quot;. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876812</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-20 10:43:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/95544910&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>