···5555 : Object.create(null);
5656 // Copy all known keys over to the stand-in and recursively apply `withProxy`
5757 // Prevent unsafe keys from being accessed
5858- const keys = ['__proto__', 'constructor'].concat(Object.getOwnPropertyNames(target));
5858+ const keys = ["__proto__", "constructor"];
5959+ try {
6060+ // Chromium already restricts access to certain globals in an
6161+ // iframe, this try catch block is to avoid
6262+ // "Failed to enumerate the properties of 'Storage': access is denied for this document"
6363+ keys.push(...Object.getOwnPropertyNames(target));
6464+ } catch (e) {}
6565+5966 for (let i = 0; i < keys.length; i++) {
6067 const key = keys[i];
6168 if (