Bug 69852

Summary: Example Plug-in does not demonstrate InvalidatingCoreAnimation
Product: WebKit Reporter: Benoit Girard <bgirard>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, andersca, ap, kdecker, rniwa, srichard
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Benoit Girard 2011-10-11 10:49:14 PDT
In the original description in Mozilla's bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=692759, users report that the WebKit example plugin doesn't not run properly in Gecko. This is because the Core Animation drawing model is not supported since we don't use Core Animation for compositing layers. Instead Gecko uses InvalidatingCoreAnimation that is exactly the CoreAnimation drawing model with the additional requirement that NPN_InvalidateRect be called for the browser is work efficiently.

See https://wiki.mozilla.org/NPAPI:InvalidatingCoreAnimation for details.

The only requirement for the test plug-in is to prefer InvalidatingCoreAnimation if available and to call NPN_InvalidateRect if InvalidatingCoreAnimation is selected.

See sample is here:
http://svn.webkit.org/repository/webkit/trunk/Examples/NetscapeCoreAnimationPlugin/
Comment 1 Ahmad Saleem 2022-06-22 13:14:38 PDT
NPAPI support is removed from Safari 14 onward and it is not supported in Webkit Builds like WebkitGTK as well. I think this can be marked as "RESOLVED WONTFIX". Thanks!
Comment 2 Ryosuke Niwa 2022-06-22 22:23:20 PDT
Yup, won't fix.