Currently evaluation in the console is performed in the context of the main frame in the page and it adheres to the same cross-origin policy as the main frame itself. This means that you cannot access elements in the iframe unless the main frame can. We could provide a mechanism for choosing in which iframe to perform evaluation.
There is a user request for this:
Firebug does this with the grossly named cd() function.
+1 for this feature. Pretty useful if developing on a legacy portal that uses iframes for everything.
+1 This is badly needed for the new Facebook iframes app canvas. Development in this environment has been notoriously difficult thus far due to the abomination known as FBJS and this new method of making pages actually suffers only on this level, no console for my iframe forces me to use Firefox/Firebug.
This is badly needed. I have a simple popup window using an iframe (using Highslide), and cannot debug inside of it. Having to resort to IE9 and Firefox :(
This appears to be available in Firebug: