Updates:
        Status: Accepted
        Owner: [email protected]

Comment #2 on issue 1264 by [email protected]: window.frames not implemented -- at least not correctly
http://code.google.com/p/google-caja/issues/detail?id=1264

According to https://developer.mozilla.org/en/DOM/window.frames , window.frames === window, so window would have to be implemented as an ArrayLike object.

window[+i] = window.frames[+i] = document.getElementsByTagName('iframe')[+i].contentWindow

Since we don't expose the contentWindow property of iframes, we could just implement window.length as a getter and return undefined for window[+i].

Reply via email to