PluginUpdating: Difference between revisions

Line 51: Line 51:


== Implementation ==
== Implementation ==
Some of the plug-ins, such as Flash, provide an API for checking for security updates. Therefore, the check could easily be implemented in the language of the plug-in if it provides such API. Otherwise, it will need to be done in JavaScript.
The actual checks need to be implemented in javascript. The following use cases should be handled accordingly:


Some pseudo code:
* '''Plugin installed and up to date''': An "OK" box displayed linked to vendor
if plug-in flash is installed
* '''Plugin installed and out of date''': A "need update" box displayed linked to vendor
  display flash based flash security update check
* '''Plugin not installed''': A "not installed" box displayed.
if plug-in java is installed
  run javascript based java security update check
...
 
Or..
 
Pure javascript implementation, seemingly ready to roll, [https://bugzilla.mozilla.org/attachment.cgi?id=215422 here].


== Determining the latest secure version ==
== Determining the latest secure version ==
334

edits