diff --git a/editor/libeditor/text/tests/test_bug597331.html b/editor/libeditor/text/tests/test_bug597331.html index 9e7286600cad..f1e0e21976cc 100644 --- a/editor/libeditor/text/tests/test_bug597331.html +++ b/editor/libeditor/text/tests/test_bug597331.html @@ -24,8 +24,9 @@ line3 /** Test for Bug 597331 **/ -// Bug 718316: This test fails on Windows 7 -if (navigator.userAgent.indexOf("Windows NT 6.1") == -1) { +// Bug 718316: This test fails on Windows 7 and 8 +if (navigator.userAgent.indexOf("Windows NT 6.1") == -1 && + navigator.userAgent.indexOf("Windows NT 6.2") == -1) { SimpleTest.waitForExplicitFinish(); addLoadEvent(function() { diff --git a/editor/libeditor/text/tests/test_bug600570.html b/editor/libeditor/text/tests/test_bug600570.html index e30de782935a..11cf1936d88f 100644 --- a/editor/libeditor/text/tests/test_bug600570.html +++ b/editor/libeditor/text/tests/test_bug600570.html @@ -23,8 +23,9 @@ aaa /** Test for Bug 600570 **/ -// Bug 718316: This test fails on Windows 7 -if (navigator.userAgent.indexOf("Windows NT 6.1") == -1) { +// Bug 718316: This test fails on Windows 7 and 8 +if (navigator.userAgent.indexOf("Windows NT 6.1") == -1 && + navigator.userAgent.indexOf("Windows NT 6.2") == -1) { SimpleTest.waitForExplicitFinish(); SimpleTest.waitForFocus(function() {