So, a new 'eval.hermetic' could be:

- 'restricted' i.e.
"The top level binding of this in an [hermetic] evaled Program is not the
global object, but rather a frozen root object containing just the globals
defined in the ES5 spec."
- more general with a second 'global' object parameter - which can be frozen
(mandatory or optional?).

It would be interesting to see if the upcoming Modules proposal from Ihab
and Kris still requires a eval.hermetic and what it's semantics are. There
is the opportunity of achieving two goals (SES and Modules) with one feature
- which could be relatively easy to implement.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to