add: do_check_true(annosvc.itemHasAnnotation(testBookmark1.itemId, DESCRIPTION_ANNO)); do_check_eq("item description", annosvc.getItemAnnotationString(testBookmark1.itemId, DESCRIPTION_ANNO)); 
context: function testCanonicalBookmarks(aFolder) {  // query to see if the deleted folder and items have been imported  try {    var query = histsvc.getNewQuery();    query.setFolders([bmsvc.bookmarksRoot], 1);    var result = histsvc.executeQuery(query, histsvc.getNewQueryOptions());    var rootNode = result.root;    rootNode.containerOpen = true;    // get test folder    var idx = 3; // XXX why does passing the value directly fail?    var testFolder = rootNode.getChild(idx);    do_check_eq(testFolder.type, testFolder.RESULT_TYPE_FOLDER);    do_check_eq(testFolder.title, "test");    testFolder = testFolder.QueryInterface(Ci.nsINavHistoryFolderResultNode);    do_check_eq(testFolder.hasChildren, true);    // open test folder, and test the children     testFolder.containerOpen = true;    var cc = testFolder.childCount;    do_check_eq(cc, 2);    // test bookmark 1    var testBookmark1 = testFolder.getChild(0);    // url    do_check_eq("http://test/post", testBookmark1.uri);    // title    do_check_eq("test post keyword", testBookmark1.title);    // keyword    do_check_eq("test", bmsvc.getKeywordForBookmark(testBookmark1.itemId));    // sidebar    // add date     // last modified    // post data    // last charset     // description     // test bookmark 2    var testBookmark2 = testFolder.getChild(1);    // url    do_check_eq("http://test/micsum", testBookmark2.uri);    // title    do_check_eq("test microsummary", testBookmark2.title);    // micsum uri    // micsum expiration    // micsum generated title    // clean up    testFolder.containerOpen = false;    rootNode.containerOpen = false;  }  catch(ex) {    do_throw("bookmarks query tests failed: " + ex);  }}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/f99c07351cd23801e6ae32790c2f6845cf89a24d/test_bookmarks_html.js/clean/browser/components/places/tests/unit/test_bookmarks_html.js