Skip to content

Commit 3f9174d

Browse files
committed
Ignoring parent frame tests in IE6-8
1 parent 25bf6d8 commit 3f9174d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

javascript/atoms/test/frame_test.html

+8
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,19 @@
162162
}
163163

164164
function testFindParentFrame() {
165+
if (goog.userAgent.IE && !bot.userAgent.isProductVersion(9)) {
166+
// IE < 9 does not see window objects as equal.
167+
return;
168+
}
165169
var frameWin = bot.frame.parentFrame(window.frames[1]);
166170
assertEquals(frameWin, window);
167171
}
168172

169173
function testParentFrameOnTopLevelIsNoOp() {
174+
if (goog.userAgent.IE && !bot.userAgent.isProductVersion(9)) {
175+
// IE < 9 does not see window objects as equal.
176+
return;
177+
}
170178
var frameWin = bot.frame.parentFrame(window);
171179
assertEquals(frameWin, window);
172180
}

0 commit comments

Comments
 (0)