Mark S. Miller (2013-11-12T18:00:43.000Z)
domenic at domenicdenicola.com (2013-11-13T17:21:53.355Z)
See [getCWStack()](https://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/ses/debug.js#128). Of course, we should choose a better name than getCWStack. On the string form, see [getStack()](https://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/ses/debug.js#221). These avoid the information leakage problem of err.stack, since the getStack and getCWStack functions can be denied to untrusted guests, and can only reveal the stacks of errors from their own realm. As with makeWeakRef, we could also provide a combiner to combine multiple getStack functions into one that could unseal the errors from any of the originating realms.