Bug 19936

Summary: Correctly propagate exception information from NPAPI callbacks
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: emacemac7
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Cameron Zwarich (cpst) 2008-07-07 16:34:30 PDT
It came up when fixing bug 19907 that we don'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't very specific.
Comment 1 David Kilzer (:ddkilzer) 2008-07-20 15:25:54 PDT
Related to Bug 18234?

Comment 2 Cameron Zwarich (cpst) 2008-07-20 20:32:02 PDT
(In reply to comment #1)
> 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.