Bug 1302917 - Call callback correctly to Fix intermittent test_streamupdater.js draft
authorThomas Nguyen <tnguyen@mozilla.com>
Tue, 22 Nov 2016 17:34:56 +0800
changeset 442304 97bbcf79a76fa6aaac1002700f60704fdc008e17
parent 442068 0534254e9a40b4bade2577c631fe4cfa0b5db41d
child 537772 af4da21a5ef219974e0484fd77a612755345c8b2
push id36673
push usertnguyen@mozilla.com
push dateTue, 22 Nov 2016 09:35:22 +0000
bugs1302917
milestone53.0a1
Bug 1302917 - Call callback correctly to Fix intermittent test_streamupdater.js MozReview-Commit-ID: 6Gz0KM2CprU
toolkit/components/url-classifier/tests/unit/head_urlclassifier.js
--- a/toolkit/components/url-classifier/tests/unit/head_urlclassifier.js
+++ b/toolkit/components/url-classifier/tests/unit/head_urlclassifier.js
@@ -301,17 +301,16 @@ subsExist: function(urls, cb)
 {
   // XXX: there's no interface for checking items in the subs table
   cb();
 },
 
 urlExistInMultipleTables: function(data, cb)
 {
   this.checkTables(data["url"], data["tables"], cb);
-  cb();
 }
 
 };
 
 /**
  * Check a set of assertions against the gAssertions table.
  */
 function checkAssertions(assertions, doneCallback)