Bug 23201 - REGRESSION: NPAPI plugins can no longer throw JS Exceptions in Tot Webkit
Summary: REGRESSION: NPAPI plugins can no longer throw JS Exceptions in Tot Webkit
Status: RESOLVED DUPLICATE of bug 16829
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoogleBug, InRadar
Depends on:
Blocks:
 
Reported: 2009-01-08 17:06 PST by Jeremy Moskovich
Modified: 2009-01-14 14:25 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Moskovich 2009-01-08 17:06:14 PST
Due to https://bugs.webkit.org/show_bug.cgi?id=16829 NPAPI plugins haven't been able to use NPN_SetException() to throw exceptions in WebKit.

However, [WebScriptObject throwException:] functioned from inside NPAPI plugins and could be used as a workaround.

In ToT WebKit neither of these methods work anymore effectively leaving NPAPI plugins with no way to throw JS exceptions.

This bug blocks Gears since we rely heavily on this functionality.
Comment 1 Mark Rowe (bdash) 2009-01-08 22:00:58 PST
<rdar://problem/6483515>
Comment 2 Deirdre Saoirse Moen 2009-01-08 22:08:02 PST
Related to: https://bugs.webkit.org/show_bug.cgi?id=18234
Comment 3 Jeremy Moskovich 2009-01-13 08:50:39 PST
It looks like the http://trac.webkit.org/changeset/33979 (Merge squirrelfish branch into trunk.) is what broke this.
Comment 4 Jeremy Moskovich 2009-01-14 14:25:00 PST
Fixed by http://trac.webkit.org/changeset/39912

*** This bug has been marked as a duplicate of 16829 ***