03:04
<Jack Works>
Tangentially related, for future browsers with ShadowRealm. Would sr.evaluate(str) be allowed even if eval was blocked by CSP?
no, sr.evaluate obeys CSP
03:04
<Jack Works>
Tangentially related, for future browsers with ShadowRealm. Would sr.evaluate(str) be allowed even if eval was blocked by CSP?
and even allowed, you cannot get the real AsyncFunction from another realm.
11:18
<Ashley Claymore>
and even allowed, you cannot get the real AsyncFunction from another realm.
I was thinking more for feature detection that required syntax. Not getting hold of the reference 🙂