Chromium Code Reviews| Index: chrome/browser/ui/webui/options/autofill_options_browsertest.js |
| diff --git a/chrome/browser/ui/webui/options/autofill_options_browsertest.js b/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
| index 6efa92bd7fa9a380b06fedc4e2702843561eed00..3316eca64fbd224eed8c7bb7e5908d2117a7c1f5 100644 |
| --- a/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
| +++ b/chrome/browser/ui/webui/options/autofill_options_browsertest.js |
| @@ -2,6 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +GEN_INCLUDE(['options_browsertest_base.js']); |
| + |
| /** |
| * Returns the HTML element for the |field|. |
| * @param {string} field The field name for the element. |
| @@ -30,10 +32,11 @@ function getListSize(list) { |
| function AutofillOptionsWebUITest() {} |
| AutofillOptionsWebUITest.prototype = { |
| - __proto__: testing.Test.prototype, |
| + __proto__: OptionsBrowsertestBase.prototype, |
| /** |
| * Browse to autofill options. |
| + * @override |
| */ |
| browsePreload: 'chrome://settings-frame/autofill', |
| }; |
| @@ -51,7 +54,7 @@ TEST_F('AutofillOptionsWebUITest', 'testOpenAutofillOptions', function() { |
| function AutofillEditAddressWebUITest() {} |
| AutofillEditAddressWebUITest.prototype = { |
| - __proto__: testing.Test.prototype, |
| + __proto__: OptionsBrowsertestBase.prototype, |
| /** @override */ |
| browsePreload: 'chrome://settings-frame/autofillEditAddress', |
| @@ -70,6 +73,10 @@ TEST_F('AutofillEditAddressWebUITest', 'testInitialFormLayout', function() { |
| }); |
| TEST_F('AutofillEditAddressWebUITest', 'testLoadAddress', function() { |
| + // Disable a11y audit on Chrome OS and Mac OSX crbug.com/434502 |
| + if (cr.isChromeOS || cr.isMac) |
| + this.disableAccessibilityChecks(); |
|
Dan Beam
2014/11/21 05:27:57
link to why you're doing this
hcarmona
2014/12/03 00:39:00
Done.
|
| + |
| assertEquals(this.browsePreload, document.location.href); |
| var testAddress = { |