Safari on Windows does not deliver WM_MOUSEWHEEL notifications to the HWND passed to NPP_SetWindow. I have verified this behavior with Safari 3.1, Safari 3.2, and yesterday's nightly build on Windows XP. Chrome and Firefox both deliver the notification. If it would help, I can attach reduced testcase plugin code -- or at least, as reduced as NPAPI plugin code can reasonably get.
<rdar://problem/6576573>
I am only able to find two references to NPP_SetWindow in Webkit Github mirror, one is in inline comments below: https://github.com/WebKit/WebKit/blob/ed7fed17c5ac886890859f1fc8682dba06424616/Source/WebCore/page/FrameView.cpp#L5555 While other is in Manual Tests file - NPN_Invoke/main.c https://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/ManualTests/NPN_Invoke/main.c#L42 Since NPAPI plugins are not supported from Safari 14 onward and also not supported in WebkitGTK builds. Can we close this as "RESOLVED WONTFIX"? This is Safari on Windows bug and if NPAPI plugins are supported on Windows build of Webkit, then please ignore my comment. Thanks!
NPAPI plugins have indeed aged like milk. Per Ahmad's suggestion, marking this one resolved by the sands of time.