rem:  try { lmsvc.QueryInterface(Ci.nsIRemoteContainer); } catch(ex) { do_throw("Failed to QueryInterface livemark-service to nsIRemoteContainer"); }  do_check_true(lmsvc.childrenReadOnly);  
context: function run_test() {  var livemarkId =     lmsvc.createLivemarkFolderOnly(bmsvc, root, "foo",                                   uri("http://example.com/"),                                   uri("http://example.com/rss.xml"), -1);  try {    lmsvc.QueryInterface(Ci.nsIRemoteContainer);  } catch(ex) {    do_throw("Failed to QueryInterface livemark-service to nsIRemoteContainer");  }  do_check_true(lmsvc.childrenReadOnly);  do_check_true(lmsvc.isLivemark(livemarkId));  do_check_true(lmsvc.getSiteURI(livemarkId).spec == "http://example.com/");  do_check_true(lmsvc.getFeedURI(livemarkId).spec == "http://example.com/rss.xml");  lmsvc.setSiteURI(livemarkId, uri("http://foo.example.com/"));  do_check_true(lmsvc.getSiteURI(livemarkId).spec == "http://foo.example.com/");    lmsvc.setFeedURI(livemarkId, uri("http://foo.example.com/rss.xml"));  do_check_true(lmsvc.getFeedURI(livemarkId).spec == "http://foo.example.com/rss.xml");  // Make sure we can't add a livemark to a livemark  var livemarkId2 = null;  try {    var livemarkId2 = lmsvc.createLivemark(livemarkId, "foo", uri("http://example.com/"),                                            uri("http://example.com/rss.xml"), -1);  } catch (ex) {    livemarkId2 = null;  }  do_check_true(livemarkId2 == null);    // make sure it didn't screw up the first one  do_check_true(lmsvc.isLivemark(livemarkId));    // make sure folders don't get counted as bookmarks  // create folder  var randomFolder = bmsvc.createFolder(root, "Random", -1);  do_check_true(!lmsvc.isLivemark(randomFolder));}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/f95814967df6263fb6ad6836c9cf9cfaeed7c5a5/test_livemarks.js/clean/toolkit/components/places/tests/bookmarks/test_livemarks.js