Support for dynamically created iframes (related to issue 6523)