proposal-dynamic-code-brand-checks icon indicating copy to clipboard operation
proposal-dynamic-code-brand-checks copied to clipboard

Intersection with ShadowRealm API proposal

Open fred-wang opened this issue 1 year ago • 2 comments

There is a PerformShadowRealmEval operation defined here: https://tc39.es/proposal-shadowrealm/#sec-performshadowrealmeval

At minimum, the HostEnsureCanCompileStrings call will need to be tweaked to pass the new parameters defined in the Dynamic Code Brand Checks spec.

We might also want PerformShadowRealmEval to accept sourceText as Object and try to convert them to String using HostGetCodeForEval, but I'm not sure.

cc @koto

fred-wang avatar Nov 20 '24 09:11 fred-wang

I think at this point we should move this issue to the shadow realms proposal.

This proposal is almost stage 4 and ready to merge (afaik it's once WebKit ships TT to stable)

lukewarlow avatar Apr 10 '25 09:04 lukewarlow

Thanks for opening https://github.com/tc39/proposal-shadowrealm/issues/414.

ptomato avatar Apr 23 '25 19:04 ptomato