d'oop!
Mike Shaver wrote:
> Tom Reinhardt wrote:
>
> > I cannot find the "tests" within the SOAP directory, but did find a XUL
> > test file in the XML-RPC directory. I'll have a look at that.
> >
> > One recurring problem that I'm having with any of this (XPCOM, that is),
> > is that I'm unable to create any components. For instance, if, from
> > within a Javascript, I do something like:
> >
> > var cbObject = Components.classes["@mozilla.org/widget/clipboard;1"];
> >
> > Nothing happens. If I wrap some testing/examination code around this
> > thing, I invariably get an error that states something to the effect of
> >
> > "Permission denied to get property UnknownClass.classes"
> >
> > This suggests to me that I'm missing something fundamental here. I've
> > downloaded the latest Mozilla. I have also tried adding the form:
> >
> > netscape.security.PriviledgeManager.enablePriviledge("UniversalXPConnect");
>
> You may have more luck with
>
> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
>
> (Spelling counts.)
>
> Mike