MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / getOwnPropertyDescriptor

Function getOwnPropertyDescriptor

ses.cjs:5457–5466  ·  view source on GitHub ↗
(_shadow, prop)

Source from the content-addressed store, hash-verified

5455 // See https://github.com/endojs/endo/issues/1510
5456 // TODO: report as bug to v8 or Chrome, and record issue link here.
5457 getOwnPropertyDescriptor(_shadow, prop) {
5458 // Coerce with `String` in case prop is a symbol.
5459 const quotedProp= q(String(prop));
5460 // eslint-disable-next-line @endo/no-polymorphic-call
5461 console.warn(
5462 `getOwnPropertyDescriptor trap on scopeTerminatorHandler for ${quotedProp}`,
5463 TypeError().stack);
5464
5465 return undefined;
5466 },
5467
5468 // See https://github.com/endojs/endo/issues/1490
5469 // TODO Report bug to JSC or Safari

Callers 12

ses.cjsFile · 0.85
freezeTypedArrayFunction · 0.85
initPropertyFunction · 0.85
isAllowedPropertyFunction · 0.85
makeRegExpConstructorFunction · 0.85
enableFunction · 0.85
enablePropertyFunction · 0.85
enablePropertiesFunction · 0.85
isImmutableDataPropertyFunction · 0.85
tameDomainsFunction · 0.85
getAnonymousIntrinsicsFunction · 0.85
tameFauxDataPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected