Issue #379

This test-case is intended for Issue #379 - Documents loaded into frames not accessible from console commands.
Jan Odvarko, odvarko@gmail.com

  1. Open Firebug and enable the Net panel.
  2. Click on the Execute Test button below.
  3. Put top.mainFrame.frame1.document.links - all links from this frame should be displayed
  4. Put top.mainFrame.frame2.document.links - Permission Denied should be displayed (cross site scripting)

If you want to list links from the frame2 (http://www.yahoo.com) you have to change the context. Run following in the console step by step:
cd(mainFrame) // Switch to the frameset
cd(frame2) // Switch to the http://www.yahoo.com frame
document.links // Log all links on the Yahoo page