getOwnProp = (obj, key, defVal) => {
  // obj may be a Proxy that throws in has() or its getter throws
  try {
    if (obj && hasOwnProperty(obj, key)) {
      defVal = obj[key];
    }
  } catch (e) { /* NOP */ }
  return defVal;
}
This file runs before safe-globals of `injected-content` and `injected-web` entries.
`export` is stripped in the final output and is only used for our NodeJS test scripts.
WARNING! Don't use exported functions from @/common anywhere in injected!