Xray vision helps JavaScript running in a privileged security context safely access objects created by less privileged code, by showing the caller only the native version of the objects. Gecko runs JavaScript from a variety of different sources and at a variety of different privilege levels. The JavaScript code that along with the C++ core, implements the browser itself is called chrome code and r