Removed console.log() patching test code accidentally committed in media.js.

This commit is contained in:
hackademix 2018-07-08 22:27:53 +02:00
parent 10d4986b7a
commit 48690ee92e
1 changed files with 0 additions and 3 deletions

View File

@ -8,9 +8,6 @@ try {
exportFunction(replacement, obj, {defineAs: methodName}); exportFunction(replacement, obj, {defineAs: methodName});
unpatched.set(obj, methods); unpatched.set(obj, methods);
} }
patch(window.console, "log", function(s, ...args) {
unpatched.get(window.console).log.call(`PATCHED ${s}`, ...args);
});
let urlMap = new WeakMap(); let urlMap = new WeakMap();
patch(window.URL, "createObjectURL", function(o, ...args) { patch(window.URL, "createObjectURL", function(o, ...args) {
let url = unpatched.get(window.URL).createObjectURL.call(this, o, ...args); let url = unpatched.get(window.URL).createObjectURL.call(this, o, ...args);