| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <set> | 5 #include <set> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1109 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 1110 AccessibilityModalDialogClosed) { | 1110 AccessibilityModalDialogClosed) { |
| 1111 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); | 1111 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); |
| 1112 } | 1112 } |
| 1113 | 1113 |
| 1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 1115 AccessibilityModalDialogOpened) { | 1115 AccessibilityModalDialogOpened) { |
| 1116 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); | 1116 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); |
| 1117 } | 1117 } |
| 1118 | 1118 |
| 1119 // Flaky on Windows: crbug.com/593846 | 1119 // Flaky on Windows and Mac: crbug.com/593846 |
| 1120 #if defined(OS_WIN) | 1120 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 1121 #define MAYBE_AccessibilityModalDialogInIframeClosed \ | 1121 #define MAYBE_AccessibilityModalDialogInIframeClosed \ |
| 1122 DISABLED_AccessibilityModalDialogInIframeClosed | 1122 DISABLED_AccessibilityModalDialogInIframeClosed |
| 1123 #else | 1123 #else |
| 1124 #define MAYBE_AccessibilityModalDialogInIframeClosed \ | 1124 #define MAYBE_AccessibilityModalDialogInIframeClosed \ |
| 1125 AccessibilityModalDialogInIframeClosed | 1125 AccessibilityModalDialogInIframeClosed |
| 1126 #endif | 1126 #endif |
| 1127 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1127 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 1128 MAYBE_AccessibilityModalDialogInIframeClosed) { | 1128 MAYBE_AccessibilityModalDialogInIframeClosed) { |
| 1129 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); | 1129 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); |
| 1130 } | 1130 } |
| 1131 | 1131 |
| 1132 // Flaky on Windows: crbug.com/593846 | 1132 // Flaky on Windows and Mac: crbug.com/593846 |
| 1133 #if defined(OS_WIN) | 1133 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 1134 #define MAYBE_AccessibilityModalDialogInIframeOpened \ | 1134 #define MAYBE_AccessibilityModalDialogInIframeOpened \ |
| 1135 DISABLED_AccessibilityModalDialogInIframeOpened | 1135 DISABLED_AccessibilityModalDialogInIframeOpened |
| 1136 #else | 1136 #else |
| 1137 #define MAYBE_AccessibilityModalDialogInIframeOpened \ | 1137 #define MAYBE_AccessibilityModalDialogInIframeOpened \ |
| 1138 AccessibilityModalDialogInIframeOpened | 1138 AccessibilityModalDialogInIframeOpened |
| 1139 #endif | 1139 #endif |
| 1140 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1140 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 1141 MAYBE_AccessibilityModalDialogInIframeOpened) { | 1141 MAYBE_AccessibilityModalDialogInIframeOpened) { |
| 1142 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); | 1142 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); |
| 1143 } | 1143 } |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 // crbug.com/281952 | 1312 // crbug.com/281952 |
| 1313 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { | 1313 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { |
| 1314 RunHtmlTest(FILE_PATH_LITERAL("video.html")); | 1314 RunHtmlTest(FILE_PATH_LITERAL("video.html")); |
| 1315 } | 1315 } |
| 1316 | 1316 |
| 1317 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1317 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
| 1318 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); | 1318 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); |
| 1319 } | 1319 } |
| 1320 | 1320 |
| 1321 } // namespace content | 1321 } // namespace content |
| OLD | NEW |