Bug 69852 - Example Plug-in does not demonstrate InvalidatingCoreAnimation
Summary: Example Plug-in does not demonstrate InvalidatingCoreAnimation
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-10-11 10:49 PDT by Benoit Girard
Modified: 2022-06-22 22:23 PDT (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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:
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.