1 of 7

ShadowRealms

Stage 3 updates

2 of 7

Integration Status

Most of this work is being done by Igalia sponsored by Salesforce.

Thanks to Igalia and everyone involved in the integration parts!

3 of 7

Implementation Status

  • WebKit:
    • implemented without a flag
    • waiting for Safari Technology Preview.
    • Salesforce is ready to test it against our related frameworks once it's available in STP.
    • Thanks, Igalia!
  • Chrome:
    • Implemented skeleton
    • Needs Web integration (WIP)
    • Thanks, legendecas and Igalia!
  • XS, Firefox, Node:
    • TBD

4 of 7

Editorial:

  • Remove [[ExecutionContext]]
    • Needs review from TC39 editors

5 of 7

Normative Changes

  • Remove the name prefix for wrapped functions
    • Fixes a PR merging mistake.
    • New PR reflects the consensus achieved from the TC39 meeting.
  • Type check on importValue 2nd value
    • Restricts second parameter to receive only a String value, throws a TypeError for other types.
    • Supports further API expansions
  • GetFunctionRealm may throw on revoked proxies
    • Sets proper exceptions from revoked proxies coming from a different Realm.
    • No leaking cross-boundaries

6 of 7

Consensus?

7 of 7

Extra: Blog posts