From 48690ee92ef1b053d38aa44dce48966a2db4b7ce Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 8 Jul 2018 22:27:53 +0200 Subject: Removed console.log() patching test code accidentally committed in media.js. --- src/content/media.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/content/media.js b/src/content/media.js index 4ca8942..b975bef 100644 --- a/src/content/media.js +++ b/src/content/media.js @@ -8,9 +8,6 @@ try { exportFunction(replacement, obj, {defineAs: methodName}); unpatched.set(obj, methods); } - patch(window.console, "log", function(s, ...args) { - unpatched.get(window.console).log.call(`PATCHED ${s}`, ...args); - }); let urlMap = new WeakMap(); patch(window.URL, "createObjectURL", function(o, ...args) { let url = unpatched.get(window.URL).createObjectURL.call(this, o, ...args); -- cgit v1.2.3