Skip to content

Commit

Permalink
Ignoring parent frame tests in IE6-8
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jun 18, 2014
1 parent 25bf6d8 commit 3f9174d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions javascript/atoms/test/frame_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,19 @@
}

function testFindParentFrame() {
if (goog.userAgent.IE && !bot.userAgent.isProductVersion(9)) {
// IE < 9 does not see window objects as equal.
return;
}
var frameWin = bot.frame.parentFrame(window.frames[1]);
assertEquals(frameWin, window);
}

function testParentFrameOnTopLevelIsNoOp() {
if (goog.userAgent.IE && !bot.userAgent.isProductVersion(9)) {
// IE < 9 does not see window objects as equal.
return;
}
var frameWin = bot.frame.parentFrame(window);
assertEquals(frameWin, window);
}
Expand Down

0 comments on commit 3f9174d

Please sign in to comment.