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

Unified Diff: chrome/test/data/webui/md_user_manager/create_profile_tests.js

Issue 2007133006: Use svg icon to avoid lazy loading of Polymer elements for user pods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests with regard to the latest changes while tests were disabled Created 4 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
Index: chrome/test/data/webui/md_user_manager/create_profile_tests.js
diff --git a/chrome/test/data/webui/md_user_manager/create_profile_tests.js b/chrome/test/data/webui/md_user_manager/create_profile_tests.js
index 0818568da77ae187f66d19f0812ad7d594ece42b..1bbf1d523f195e571f7631fd70f59f503229b3c6 100644
--- a/chrome/test/data/webui/md_user_manager/create_profile_tests.js
+++ b/chrome/test/data/webui/md_user_manager/create_profile_tests.js
@@ -25,7 +25,8 @@ cr.define('user_manager.create_profile_tests', function() {
// Replace real proxy with mock proxy.
signin.ProfileBrowserProxyImpl.instance_ = browserProxy;
browserProxy.setDefaultProfileInfo({name: 'profile name'});
- browserProxy.setIconUrls(['icon1.png', 'icon2.png']);
+ browserProxy.setIcons([{url: 'icon1.png', label: 'icon1'},
+ {url: 'icon2.png', label: 'icon2'}]);
browserProxy.setSignedInUsers([{username: 'username',
profilePath: 'path/to/profile'}]);
browserProxy.setExistingSupervisedUsers([{name: 'existing name 1',
@@ -366,6 +367,8 @@ cr.define('user_manager.create_profile_tests', function() {
// Replace real proxy with mock proxy.
signin.ProfileBrowserProxyImpl.instance_ = browserProxy;
+ browserProxy.setIcons([{url: 'icon1.png', label: 'icon1'}]);
+
createProfileElement = createElement();
// Make sure DOM is up to date.

Powered by Google App Engine
This is Rietveld 408576698