[BUG #8484] Change the iframe context window and remove unnecessary test