Redefine reference to topmost window (window.top)
<p>My goal is to override the reference to the topmost window for all scripts that are executed in an iframe. I have the following code which was tested to work in IE 8+ and FireFox 3,6+ but does not work in Chrome 19.</p>

<pre><code>var top = "test";
console.debug(top);
</code></pre>

<p>This outputs: "test" in IE and FireFox, but shows a reference to the top window in chrome. Is it possible that Chrome uses a mechanism to avoid the reference from being overriden?</p>
