Step 1: Click the test button below and notice that you can successfully access the iframe's window.name property.
Step 2: Now, click the following link to navigate the iframe to a bookmark within its page. In this example, the iframe's source is already set to the page including the bookmark.
So, in fact, you're navigating to the same page anyway!