Index: chrome/browser/ui/webui/options/options_browsertest_base.js |
diff --git a/chrome/browser/ui/webui/options/options_browsertest_base.js b/chrome/browser/ui/webui/options/options_browsertest_base.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5d4b12d07d0d0c748469c72165fbd799ec6cd960 |
--- /dev/null |
+++ b/chrome/browser/ui/webui/options/options_browsertest_base.js |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @constructor |
+ * @extends {testing.Test} |
+ */ |
+function OptionsBrowsertestBase() {} |
+ |
+OptionsBrowsertestBase.prototype = { |
+ __proto__: testing.Test.prototype, |
+ |
+ /** @override */ |
+ runAccessibilityChecks: true, |
+ |
+ /** @override */ |
+ accessibilityIssuesAreErrors: true, |
+ |
+ /** @override */ |
+ setUp: function() { |
+ // user-image-stream is a streaming video element used for capturing a |
+ // user image during OOBE. |
+ this.accessibilityAuditConfig.ignoreSelectors('videoWithoutCaptions', |
+ '.user-image-stream'); |
+ }, |
+}; |