Bug 1494476 follow-up: Remove the debugging console.log calls that crept in inside the part 2 patch
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 12 Oct 2018 15:38:37 -0400
changeset 489312 7a60706c7063d3de4c0a395bda5ffbc5a467c262
parent 489311 83fca840ea7f02901d0ad92a09a28120b1bc82a6
child 489313 8f5207ccd12f9a81f367ef3b312462d3665bcc76
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
bugs1494476
milestone64.0a1
Bug 1494476 follow-up: Remove the debugging console.log calls that crept in inside the part 2 patch
toolkit/components/antitracking/test/browser/head.js
--- a/toolkit/components/antitracking/test/browser/head.js
+++ b/toolkit/components/antitracking/test/browser/head.js
@@ -453,20 +453,16 @@ this.AntiTracking = {
                 is(originLog[0][1], true,
                    "Correct blocking status reported");
                 ok(originLog[0][2] >= 1,
                    "Correct repeat count reported");
               } else {
                 // This branch is needed here because of the tests that use the storage
                 // access API to gain storage access.
                 is(originLog.length, 2, "Correct origin log length");
-                if (originLog.length > 2) {
-                  console.log(originLog);
-                  console.log(originLog.toSource());
-                }
                 is(originLog[0][0], Ci.nsIWebProgressListener.STATE_COOKIES_BLOCKED_TRACKER,
                    "Correct blocking type reported");
                 is(originLog[0][1], true,
                    "Correct blocking status reported");
                 ok(originLog[0][2] >= 1,
                    "Correct repeat count reported");
                 is(originLog[1][0], Ci.nsIWebProgressListener.STATE_COOKIES_BLOCKED_TRACKER,
                    "Correct blocking type reported");