~online-accounts/webaccounts-browser-extension/12.10

Viewing all changes in revision 25.

  • Committer: Alberto Mardegan
  • Date: 2012-09-05 09:36:18 UTC
  • mfrom: (24.1.4 firefox-ctypes)
  • Revision ID: alberto.mardegan@canonical.com-20120905093618-881waij4q5vm9way
Don't use a NPAPI plugin for Firefox: access the system via ctypes

Take the account-creation code out of the NPAPI plugin into its own tiny shared
library (libwebaccounts.so); the NPAPI, still used by Chromium, has been
modified to link to this library, while for Firefox we'll be using ctypes
(https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes?redirectlocale=en-US&redirectslug=js-ctypes)
to interface with the new library, of which we use just one function.

In this way we get also rid of a couple of bugs related to the embedding of the NPAPI plugin.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: