I have simple JS code:
function test() {
var abUri = "moz-abmdbdirectory://abook.mab";
var res0 = gRdfSvc.GetResource( abUri );
var aBook = gAddressBook.getAbDatabaseFromURI ( abUri );
alert ( "aBook: " + aBook );
alert ( "aBook.dbPath: " + aBook.dbPath );
alert ( "aBook.newListRow: " + aBook.newListRow );
}
The first alert correctly displays "[nsIAddressBook]" BUT the las two
alert displays "undefined" .. i don't known why.
When i try debug the code, the methods
"nsAddrDatabase::GetNewListRow(nsIMdbRow * *newRow)",
"nsAddrDatabase::GetDbPath(nsFileSpec * *aDbPath)" has been never reached
It looks like a nsAddrDatabase impl. bug ??
--
|-| () |\| 7_ /-\ T.
ICQ: 134810196
MSN: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom