Bug 720066 follow-up, fix a typo that causes test failures (luckily).
authorMarco Bonardo <mbonardo@mozilla.com>
Tue, 24 Jan 2012 21:46:18 +0100
changeset 85266 f35bd9404ee494995c7af90221a1aa6f4f5128f8
parent 85265 0a116f325333e5db37cb9cc2afff622bfd7bc564
child 85267 5e9adf3343de97588622887fea6e5f8f5bfc35fe
push id21915
push userbmo@edmorley.co.uk
push dateWed, 25 Jan 2012 14:16:23 +0000
treeherdermozilla-central@0d5ad6a6f814 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs720066
milestone12.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 720066 follow-up, fix a typo that causes test failures (luckily).
toolkit/components/places/nsTaggingService.js
--- a/toolkit/components/places/nsTaggingService.js
+++ b/toolkit/components/places/nsTaggingService.js
@@ -670,17 +670,17 @@ TagAutoCompleteSearch.prototype = {
           var newResult = new TagAutoCompleteResult(searchString,
             Ci.nsIAutoCompleteResult.RESULT_SUCCESS_ONGOING, 0, "", results, comments);
           listener.onSearchResult(self, newResult);
           yield true;
         }
         */
       }
 
-      let searchResult = results.length() > 0 ?
+      let searchResult = results.length > 0 ?
                            Ci.nsIAutoCompleteResult.RESULT_SUCCESS :
                            Ci.nsIAutoCompleteResult.RESULT_NOMATCH;
       var newResult = new TagAutoCompleteResult(searchString, searchResult, 0,
                                                 "", results, comments);
       listener.onSearchResult(self, newResult);
       yield false;
     }