We can remove a lot of code. Instead of a plug-in mechanism, we just need enough for the PDF support built into WebKit. This will be a first patch to remove it.
I’m excited about this since it can pave the way to finally removing RuntimeArray JSCell which introduced a lot of weird special code in JSC (RuntimeArray looks like a JSArray, but not a real JSArray, it caused a lot of trouble in DFG optimization etc. so far).
I’m trying to take it slow; last time I removed too much all at once.
Seems like legacy WebKit also has a way to make plug-ins using Objective-C and it’s not clear we deprecated that yet.
<rdar://problem/93508964>
Pull request: https://github.com/WebKit/WebKit/pull/752
Committed r294526 (250781@main): <https://commits.webkit.org/250781@main> Reviewed commits have been landed. Closing PR #752 and removing active labels.