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. /beReceived on Sunday, 19 February 2012 23:30:07 UTC
This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC