Remove DEFAULT_PROXY

This commit is contained in:
Andrea Marchesini
2021-10-22 17:32:04 +02:00
parent 37ed2455eb
commit 3572bebbd9
3 changed files with 3 additions and 21 deletions
-10
View File
@@ -169,13 +169,3 @@ const Utils = {
};
window.Utils = Utils;
// The following creates a fake (but convincing) constant Utils.DEFAULT_PROXY
Object.defineProperty(window.Utils, "DEFAULT_PROXY", {
value: Object.freeze({type: "direct"}),
writable: false,
enumerable: true,
// Setting configurable to false avoids deletion of Utils.DEFAULT_PROXY
configurable: false
});