Honza T_ wrote:
I have simple JS code:

    alert ( "aBook.dbPath: " + aBook.dbPath );
    alert ( "aBook.newListRow: " + aBook.newListRow );
}

Where aBook is an nsIAddrDatabase, right?

I can only assume you're working against the 1.8 Gecko branch, where both properties are [noscript] in the IDL.

On trunk, dbPath is scriptable, but newListRow is noscript.

It's unfortunate that XULPlanet doesn't list whether properties are scriptable like it does for methods.

-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to