On Tue, Mar 24, 2009 at 3:10 PM, Vitali Lovich <[email protected]> wrote:
> As an update, I just realized that the error > > Error: Bad NPObject as private data! > Source File: http://localhost:9000/module/hosted.html?module > Line: 84 > > Keeps showing up whenever there's any kind of event (i.e. mouse move, key > press, window resize, etc). > > Attaching the script. > > This is probably because the OOPHM connection is broken, so it's unable to > deliver the events from the browser to the The NPAPI plugin is not really going to work -- you need to use the XPCOM plugin<http://code.google.com/p/google-web-toolkit/source/browse/branches/oophm/plugins/xpcom/prebuilt/oophm-xpcom.xpi>instead. The issue is that whenever window.enableScrolling is changed, Firefox rebuilds the page and in the process unloads and reloads the plugin. Aside from losing state in the plugin, this is problematic since the unloaded plugin is still on the call stack, and things go bad when it returns to that code after a new instance of the plugin is created. -- John A. Tamplin Software Engineer (GWT), Google --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
