From 3f9174d5dad1b6e0502de490043a63139c2ea1be Mon Sep 17 00:00:00 2001 From: Jim Evans Date: Wed, 18 Jun 2014 17:41:35 -0400 Subject: [PATCH] Ignoring parent frame tests in IE6-8 --- javascript/atoms/test/frame_test.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/javascript/atoms/test/frame_test.html b/javascript/atoms/test/frame_test.html index b77d880df2867..e10cd9cb7ebcb 100644 --- a/javascript/atoms/test/frame_test.html +++ b/javascript/atoms/test/frame_test.html @@ -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); }