Bug 40782

Summary: Remove JRI from npapi.h
Product: WebKit Reporter: Stuart Morgan <stuartmorgan>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, andersca, ap, bfulgham, joshmoz, rniwa, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 77200    
Attachments:
Description Flags
Just the npapi.h changes none

Description Stuart Morgan 2010-06-17 09:14:35 PDT
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.
Comment 1 Ahmad Saleem 2022-06-20 10:30:41 PDT
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!
Comment 2 Radar WebKit Bug Importer 2022-06-20 10:31:03 PDT
<rdar://problem/95544369>
Comment 3 Brent Fulgham 2022-06-23 11:13:17 PDT
WebKit no longer supports NSAPI plugins.