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

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

Issue 1827823003: MD Settings: Rename and fix confusing prefs test function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PrefsTests
Patch Set: simplify Created 4 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
« no previous file with comments | « chrome/browser/resources/settings/prefs/prefs.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/settings/prefs_tests.js
diff --git a/chrome/test/data/webui/settings/prefs_tests.js b/chrome/test/data/webui/settings/prefs_tests.js
index b20f6573d0940aaad5b7d5b364ab5a4db59b6821..42aa4d80806a4825bc058dde01da41b9336e42fb 100644
--- a/chrome/test/data/webui/settings/prefs_tests.js
+++ b/chrome/test/data/webui/settings/prefs_tests.js
@@ -109,7 +109,7 @@ cr.define('settings_prefs', function() {
// Reset each <settings-prefs>. TODO(michaelpg): make settings-prefs
// less dependent on testing state so we don't have to do this.
for (var i = 0; i < createdElements.length; i++)
- createdElements[i].resetForTesting();
+ createdElements[i].uninitializeForTesting();
PolymerTest.clearBody();
});
« no previous file with comments | « chrome/browser/resources/settings/prefs/prefs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698