WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
Bug 19936
Correctly propagate exception information from NPAPI callbacks
https://bugs.webkit.org/show_bug.cgi?id=19936
Summary
Correctly propagate exception information from NPAPI callbacks
Cameron Zwarich (cpst)
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2008-07-20 15:25:54 PDT
Related to
Bug 18234
?
Cameron Zwarich (cpst)
Comment 2
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.
Ahmad Saleem
Comment 3
2022-06-20 10:42:34 PDT
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 "RESOLVED WONTFIX". Thanks!
Radar WebKit Bug Importer
Comment 4
2022-06-20 10:43:02 PDT
<
rdar://problem/95544910
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug