Since I have updated from Mozilla 0.8 to 0.9 the following javascript error
occurs.

file :///c:/Mozilla/Locations/NS6Hollis.thm line 7:
Components.classes.webterm has no properties.

I don't know why this is happening - there is NO error occurring when I
use Mozilla 0.8.

My javascript is:
<SCRIPT LANGUAGE="javascript">
   netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
   var webterm1 = Components.classes["Webterm"].createInstance();
       webterm1 =
webterm1.QueryInterface(Components.interfaces.nsIWebtermPluginInstance);


In the C++ code I have defined:

#define NS_WEBTERM_CONTRACTID "Webterm"


Can anyone advise me please.


With Thanks

Patrick McHale
Powerlan USA



Reply via email to