diff options
author | hackademix | 2018-07-08 22:27:53 +0200 |
---|---|---|
committer | hackademix | 2018-07-08 22:27:53 +0200 |
commit | 48690ee92ef1b053d38aa44dce48966a2db4b7ce (patch) | |
tree | 519a88c80b76c36b7583feb2afb300d6e0d44763 /src/content/media.js | |
parent | 10d4986b7ad4e19efae4c92ad57efc303cad9f8c (diff) | |
download | noscript-48690ee92ef1b053d38aa44dce48966a2db4b7ce.tar.gz noscript-48690ee92ef1b053d38aa44dce48966a2db4b7ce.tar.xz noscript-48690ee92ef1b053d38aa44dce48966a2db4b7ce.zip |
Removed console.log() patching test code accidentally committed in media.js.
Diffstat (limited to 'src/content/media.js')
-rw-r--r-- | src/content/media.js | 3 |
1 files changed, 0 insertions, 3 deletions
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); |