Re: New full Unicode for ES6 idea

Mark S. Miller wrote:
> On Sun, Feb 19, 2012 at 1:52 PM, Brendan Eich <brendan@mozilla.com 
> <mailto:brendan@mozilla.com>> wrote:
> [...]
>
>         How? By doing a full walk of the object graph and doing
>         surgery on it? This sounds more painful than imposing
>         mediation up front.
>
>
>     No, by indirection, of course ;-). The details vary among browsers.
>
>
> I think just we're having a terminology problem. To me, such 
> indirection is mediation.

Definitely I was unclear. The (different) mediation by WindowProxy is 
good because local global (oxymoronic, ugh -- let's say "this global") 
accesses are unmediated and can be super-optimized.

The mediation by trust-label indirection I was referring to above is 
for-all-accesses. That is painful.

A compartment per global makes the process of finding the trust-label 
(called a "Principal" in Gecko) significantly faster.

/be

Received on Sunday, 19 February 2012 23:30:07 UTC