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

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

Issue 2317323002: Re-land (2): Fix loading accessibility tree for child frame that's already loaded. (Closed)
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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 } 861 }
862 862
863 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 863 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
864 RunHtmlTest(FILE_PATH_LITERAL("form.html")); 864 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
865 } 865 }
866 866
867 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) { 867 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
868 RunHtmlTest(FILE_PATH_LITERAL("frameset.html")); 868 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
869 } 869 }
870 870
871 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
872 AccessibilityFramesetPostEnable) {
873 enable_accessibility_after_navigating_ = true;
874 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
875 }
876
871 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) { 877 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) {
872 RunHtmlTest(FILE_PATH_LITERAL("head.html")); 878 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
873 } 879 }
874 880
875 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { 881 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
876 RunHtmlTest(FILE_PATH_LITERAL("header.html")); 882 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
877 } 883 }
878 884
879 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 885 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
880 AccessibilityHeaderInsideOtherSection) { 886 AccessibilityHeaderInsideOtherSection) {
(...skipping 14 matching lines...) Expand all
895 901
896 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { 902 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) {
897 RunHtmlTest(FILE_PATH_LITERAL("i.html")); 903 RunHtmlTest(FILE_PATH_LITERAL("i.html"));
898 } 904 }
899 905
900 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { 906 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) {
901 RunHtmlTest(FILE_PATH_LITERAL("iframe.html")); 907 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
902 } 908 }
903 909
904 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 910 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
911 AccessibilityIframePostEnable) {
912 enable_accessibility_after_navigating_ = true;
913 RunHtmlTest(FILE_PATH_LITERAL("iframe.html"));
914 }
915
916 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
905 AccessibilityIframeCrossProcess) { 917 AccessibilityIframeCrossProcess) {
906 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html")); 918 RunHtmlTest(FILE_PATH_LITERAL("iframe-cross-process.html"));
907 } 919 }
908 920
909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 921 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
910 AccessibilityIframeCoordinates) { 922 AccessibilityIframeCoordinates) {
911 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html")); 923 RunHtmlTest(FILE_PATH_LITERAL("iframe-coordinates.html"));
912 } 924 }
913 925
914 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 926 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 // crbug.com/281952 1400 // crbug.com/281952
1389 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1401 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1390 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1402 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1391 } 1403 }
1392 1404
1393 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1405 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1394 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1406 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1395 } 1407 }
1396 1408
1397 } // namespace content 1409 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698