summaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorhackademix2018-07-08 22:27:53 +0200
committerhackademix2018-07-08 22:27:53 +0200
commit48690ee92ef1b053d38aa44dce48966a2db4b7ce (patch)
tree519a88c80b76c36b7583feb2afb300d6e0d44763 /src/content
parent10d4986b7ad4e19efae4c92ad57efc303cad9f8c (diff)
downloadnoscript-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')
-rw-r--r--src/content/media.js3
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);