gnome-shell/browser-plugin
Carlos Garcia Campos d95d78ac15 browser-plugin: Do not create a new object every time NPPVpluginScriptableNPObject is requested
Merge PluginData and PluginObject structs into a single one and create
the scriptable object associated to the plugin instance in NPP_New. Then,
when NPPVpluginScriptableNPObject is requested we just return the
scriptable object associated to the given instance. This caused the
crashes in NPN_InvokeDefault with WebKit, since we had multiple
scriptable objects for the same instance, but only one of those objects
had the onchange listener installed. Firefox seems to cache the
scriptable object for the instance and therefore NPPVpluginScriptableNPObject
is requested only once.

https://bugzilla.gnome.org/show_bug.cgi?id=737932
2015-11-17 13:17:31 -06:00
..
npapi Move sweettooth-plugin into gnome-shell tree, rebrand 2011-09-12 14:37:20 -04:00
browser-plugin.c browser-plugin: Do not create a new object every time NPPVpluginScriptableNPObject is requested 2015-11-17 13:17:31 -06:00
Makefile.am browser-plugin: link with -Wl,-z,nodelete 2015-11-10 15:23:49 +01:00
README Move sweettooth-plugin into gnome-shell tree, rebrand 2011-09-12 14:37:20 -04:00

The GNOME Shell Browser Plugin provides integration with gnome-shell and the
corresponding extensions repository, codenamed "SweetTooth". The plugin allows
the extensions repository to provide good integration, letting the website
know which extensions are enabled and disabled, and allowing the website to
enable, disable and install them.

Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell'
product.

License
=======
The GNOME Shell Browser Plugin, like GNOME Shell itself is distributed under
the GNU General Public License, version 2 or later. The plugin also contains
header files from the "NPAPI SDK" project, tri-licensed under MPL 1.1, GPL 2.0
and LGPL 2.1. These headers are third-party sources and can be retrieved from:

  http://code.google.com/p/npapi-sdk/