Removed console.log() patching test code accidentally committed in media.js.
This commit is contained in:
parent
10d4986b7a
commit
48690ee92e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue