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

Unified Diff: chrome/test/data/webui/settings/cr_settings_browsertest.js

Issue 2754563002: MD Settings: Lazy load the contents of the "advanced" settings. (Closed)
Patch Set: Fix direct navigation to lazy loaded sections and overscrolling. Created 3 years, 9 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
Index: chrome/test/data/webui/settings/cr_settings_browsertest.js
diff --git a/chrome/test/data/webui/settings/cr_settings_browsertest.js b/chrome/test/data/webui/settings/cr_settings_browsertest.js
index 9bb396ae1b435c7e091df1e41777caaa67ffff45..838291e3f825590f9d8404434e481d5b8e211313 100644
--- a/chrome/test/data/webui/settings/cr_settings_browsertest.js
+++ b/chrome/test/data/webui/settings/cr_settings_browsertest.js
@@ -27,7 +27,9 @@ CrSettingsBrowserTest.prototype = {
},
/** @override */
- extraLibraries: PolymerTest.getLibraries(ROOT_PATH),
+ extraLibraries: PolymerTest.getLibraries(ROOT_PATH).concat([
+ 'ensure_lazy_loaded.js',
+ ]),
/** @override */
setUp: function() {
@@ -39,6 +41,9 @@ CrSettingsBrowserTest.prototype = {
// https://github.com/PolymerElements/paper-slider/issues/131.
this.accessibilityAuditConfig.ignoreSelectors(
'badAriaAttributeValue', 'paper-slider');
+
+
Dan Beam 2017/03/17 00:30:05 too many \n
dpapad 2017/03/17 20:53:55 Done.
+ settings.ensureLazyLoaded();
},
};

Powered by Google App Engine
This is Rietveld 408576698