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 86491 f35bd9404ee494995c7af90221a1aa6f4f5128f8
parent 86490 0a116f325333e5db37cb9cc2afff622bfd7bc564
child 86492 5e9adf3343de97588622887fea6e5f8f5bfc35fe
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs720066
milestone12.0a1
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;
     }