Comment #1 on issue 1264 by metaweta: window.frames not implemented -- at
least not correctly
http://code.google.com/p/google-caja/issues/detail?id=1264
(No comment was entered for this change.)
Comment #2 on issue 1264 by metaw...@gmail.com: 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].
Comment #3 on issue 1264 by metaw...@gmail.com: window.frames not
implemented -- at least not correctly
http://code.google.com/p/google-caja/issues/detail?id=1264
No one has asked for this, probably because we don't support iframes for
content, just for shims. Changing to low priority.