rem: if (gGroup && gGroup.checked) { 
add: if (gArg.bBookmarkAllTabs) { 
context: function onOK(){  RDFC.Init(BMDS, gSelectedFolder);  var url, rSource;  var livemarkFeed = gArg.feedURL;  if (gGroup && gGroup.checked) {    rSource = BMDS.createFolder(gName.value);    const groups = gArg.objGroup;    for (var i = 0; i < groups.length; ++i) {      url = getNormalizedURL(groups[i].url);      BMDS.createBookmarkInContainer(groups[i].name, url, gKeyword.value, groups[i].description,                                     groups[i].charset, gPostData, rSource, -1);    }  } else if (livemarkFeed != null) {    url = getNormalizedURL(gArg.url);    rSource = BMDS.createLivemark(gName.value, url, livemarkFeed, null);  } else {    url = getNormalizedURL(gArg.url);    rSource = BMDS.createBookmark(gName.value, url, gKeyword.value, gArg.description, gArg.charset, gPostData);  }  var selection = BookmarksUtils.getSelectionFromResource(rSource);  var target    = BookmarksUtils.getTargetFromFolder(gSelectedFolder);  BookmarksUtils.insertAndCheckSelection("newbookmark", selection, target);    if (gArg.bWebPanel && rSource) {    // Assert that we're a web panel.    BMDS.Assert(rSource, RDF.GetResource(gNC_NS+"WebPanel"),                RDF.GetLiteral("true"), true);  }    // in insertSelection, the ds flush is delayed. It will never be performed,  // since this dialog is destroyed before.  // We have to flush manually  var remoteDS = BMDS.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);  remoteDS.Flush();}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/86b85d7e5179448481e735775096922f103e8891/addBookmark2.js/buggy/browser/components/bookmarks/content/addBookmark2.js