B2G/gecko/browser/components/places/content/bookmarkProperties.js
/**
   * Returns a childItems-transactions array representing the URIList with
   * which the dialog has been opened.
   */
Returns a childItems-transactions array representing the URIList with
which the dialog has been opened.
Returns a childItems - transactions array representing the URIList with which the dialog has been opened .
function BPP__getTransactionsForURIList() {
    var transactions = [];
    for (var i = 0; i < this._URIs.length; ++i) {
      var uri = this._URIs[i];
      var title = this._getURITitleFromHistory(uri);
      var createTxn = new PlacesCreateBookmarkTransaction(uri, -1, 
                                                          PlacesUtils.bookmarks.DEFAULT_INDEX,
                                                          title);
      transactions.push(createTxn);
    }
    return transactions; 
  }
function BPP__getTransactionsForURIList ( ) { var transactions = [ ] ; for ( var i = 0 ; i < this . _URIs . length ; ++ i ) { var uri = this . _URIs [ i ] ; var title = this . _getURITitleFromHistory ( uri ) ; var createTxn = new PlacesCreateBookmarkTransaction ( uri , - 1 , PlacesUtils . bookmarks . DEFAULT_INDEX , title ) ; transactions . push ( createTxn ) ; } return transactions ; }
Returns a childItems-transactions array representing the URIList with
 which the dialog has been opened.
Returns a childItems - transactions array representing the URIList with which the dialog has been opened .