diff --git a/common/util.js b/common/util.js index c695c5af0..d0be60d12 100644 --- a/common/util.js +++ b/common/util.js @@ -367,6 +367,12 @@ function getUrlVars() { deleteProperty: function(target, prop) { delete state[prop.toLowerCase()]; return true; + }, + getOwnPropertyDescriptor(target, prop) { + return { configurable: true, enumerable: true }; + }, + ownKeys: function(target) { + return Reflect.ownKeys(state) } }); }