add:   var options = histsvc.getNewQueryOptions(); options.sortingAnnotation = "test anno"; options.sortingMode = NHQO.SORT_BY_ANNOTATION_DESCENDING; var placeURI = "place:folder=1&sort=" + NHQO.SORT_BY_ANNOTATION_DESCENDING + "&sortingAnnotation=test%20anno"; do_check_eq(histsvc.queriesToQueryString([query], 1, options), placeURI); var options = {}; histsvc.queryStringToQueries(placeURI, { }, {}, options); do_check_eq(options.value.sortingAnnotation, "test anno"); do_check_eq(options.value.sortingMode, NHQO.SORT_BY_ANNOTATION_DESCENDING); 
context: function run_test() {  // XXX Full testing coverage for QueriesToQueryString and  // QueryStringToQueries  // Bug 376798  var query = histsvc.getNewQuery();  query.setFolders([1],1);  do_check_eq(histsvc.queriesToQueryString([query], 1, histsvc.getNewQueryOptions()),              "place:folder=1");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/ab77a7a9f9951a5497ed7c94a7490455ec6d2f7d/test_placeURIs.js/clean/toolkit/components/places/tests/unit/test_placeURIs.js