Bug 23201
| Summary: | REGRESSION: NPAPI plugins can no longer throw JS Exceptions in Tot Webkit | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeremy Moskovich <playmobil> |
| Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | jon |
| Priority: | P2 | Keywords: | GoogleBug, InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
Jeremy Moskovich
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
<rdar://problem/6483515>
Deirdre Saoirse Moen
Related to: https://bugs.webkit.org/show_bug.cgi?id=18234
Jeremy Moskovich
It looks like the http://trac.webkit.org/changeset/33979 (Merge squirrelfish branch into trunk.) is what broke this.
Jeremy Moskovich
Fixed by http://trac.webkit.org/changeset/39912
*** This bug has been marked as a duplicate of 16829 ***