Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 2302353005: Revert of Re-land: Fix loading accessibility tree for child frame that's already loaded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 } 841 }
842 842
843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
844 RunHtmlTest(FILE_PATH_LITERAL("form.html")); 844 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
845 } 845 }
846 846
847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) { 847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
848 RunHtmlTest(FILE_PATH_LITERAL("frameset.html")); 848 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
849 } 849 }
850 850
851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
852 AccessibilityFramesetPostEnable) {
853 enable_accessibility_after_navigating_ = true;
854 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
855 }
856
857 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) { 851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) {
858 RunHtmlTest(FILE_PATH_LITERAL("head.html")); 852 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
859 } 853 }
860 854
861 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { 855 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
862 RunHtmlTest(FILE_PATH_LITERAL("header.html")); 856 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
863 } 857 }
864 858
865 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 859 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
866 AccessibilityHeaderInsideOtherSection) { 860 AccessibilityHeaderInsideOtherSection) {
(...skipping 13 matching lines...) Expand all
880 } 874 }
881 875
882 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { 876 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
883 RunHtmlTest(FILE_PATH_LITERAL("i.html")); 877 RunHtmlTest(FILE_PATH_LITERAL("i.html"));
884 } 878 }
885 879
886 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { 880 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
887 RunHtmlTest(FILE_PATH_LITERAL("iframe.html")); 881 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
888 } 882 }
889 883
890 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
891 AccessibilityIframePostEnable) {
892 enable_accessibility_after_navigating_ = true;
893 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
894 }
895
896 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 884 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
897 AccessibilityIframeCrossProcess) { 885 AccessibilityIframeCrossProcess) {
898 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html")); 886 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html"));
899 } 887 }
900 888
901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
902 AccessibilityIframeCoordinates) { 890 AccessibilityIframeCoordinates) {
903 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html")); 891 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
904 } 892 }
905 893
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 // crbug.com/281952 1362 // crbug.com/281952
1375 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1363 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1376 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1364 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1377 } 1365 }
1378 1366
1379 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1380 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1368 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1381 } 1369 }
1382 1370
1383 } // namespace content 1371 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698