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

Unified Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 2859333002: Remove content flag for Accessibility Object Model (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/dump_accessibility_tree_browsertest.cc
diff --git a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
index 4520933976a66f81d9ddde452a3a698cd03af72b..3e73d71159c88d81bda553dfd6519f0303d4dfd9 100644
--- a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
+++ b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
@@ -12,7 +12,6 @@
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-#include "base/test/scoped_feature_list.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
#include "content/browser/accessibility/accessibility_tree_formatter.h"
@@ -72,6 +71,9 @@ class DumpAccessibilityTreeTest : public DumpAccessibilityTestBase {
// Enable <dialog>, which is used in some tests.
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableExperimentalWebPlatformFeatures);
+ // Enable accessibility object model, used in other tests.
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ switches::kEnableBlinkFeatures, "AccessibilityObjectModel");
}
void RunAriaTest(const base::FilePath::CharType* file_path) {
@@ -86,9 +88,6 @@ class DumpAccessibilityTreeTest : public DumpAccessibilityTestBase {
}
void RunAomTest(const base::FilePath::CharType* file_path) {
- scoped_feature_list_.InitAndEnableFeature(
- features::kAccessibilityObjectModel);
-
base::FilePath test_path = GetTestFilePath("accessibility", "aom");
{
base::ThreadRestrictions::ScopedAllowIO allow_io_for_test_setup;
@@ -136,9 +135,6 @@ class DumpAccessibilityTreeTest : public DumpAccessibilityTestBase {
actual_contents, "\n",
base::KEEP_WHITESPACE, base::SPLIT_WANT_NONEMPTY);
}
-
- protected:
- base::test::ScopedFeatureList scoped_feature_list_;
};
IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCSSColor) {
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698