Created attachment 58999 [details] Just the npapi.h changes JRI no longer exists in the upstream or Mozilla copies of npapi.h, and as far as I know was never implemented in WebKit. It should be removed from the header (bringing the WebKit copy closer to the upstream version), and any references in plugin files--I haven't checked yet, but in Chromium both test plugins and the browser function table population had references--removed. I've attached just the npapi.h cleanup as a starting point; this would almost certainly not build without changes in other files.
From Webkit Github mirror, I am only able to find "npapi.h" reference in one of Manual Tests header file (ManualTests/NPN_Invoke/main.c) and NPAPI support is already removed from Safari 14 onward and also in WebkitGTK port. Can this be closed now as "RESOLVED WONTFIX"? Thanks!
<rdar://problem/95544369>
WebKit no longer supports NSAPI plugins.