WIP workaround
Authored-by: Kris Kowal
MODIFY
packages/ses/src/whitelist-intrinsics.js
packages/ses/src/whitelist-intrinsics.js
@@ -205,6 +205,10 @@ export default function whitelistIntrinsics(intrinsics, nativeBrander) {
* Whitelist all properties against a permit.
*/
function whitelistProperties(path, obj, permit) {
+ if (obj === undefined) {
+ return;
+ }
+
const protoName = permit['[[Proto]]'];
whitelistPrototype(path, obj, protoName);

WIP workaround (#407)

Authored-by: Kris Kowal <kris@agoric.com>