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

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

Issue 2580653003: [MD settings] remove selectedSite property (Closed)
Patch Set: nits Created 4 years 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/site_settings/site_settings_category.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/site_list_tests.js
diff --git a/chrome/test/data/webui/settings/site_list_tests.js b/chrome/test/data/webui/settings/site_list_tests.js
index ce558628eeea74969e518ddebdaab9d18d67f3b7..108830cdf9f17a58c95cfd3042742793505ace25 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -625,7 +625,7 @@ cr.define('site_list', function() {
assertNotEquals(undefined, clickable);
MockInteractions.tap(clickable);
assertEquals(prefs.exceptions.geolocation[0].origin,
- testElement.selectedSite.origin);
+ settings.getQueryParameters().get('site'));
});
});
@@ -748,7 +748,7 @@ cr.define('site_list', function() {
assertNotEquals(undefined, clickable);
MockInteractions.tap(clickable);
assertEquals(prefsVarious.exceptions.geolocation[0].origin,
- testElement.selectedSite.origin);
+ settings.getQueryParameters().get('site'));
});
});
});
@@ -800,7 +800,7 @@ cr.define('site_list', function() {
prefsMixedOriginAndPattern.exceptions.
geolocation[0].
origin,
- testElement.selectedSite.displayName);
+ testElement.sites[0].displayName);
}
});
});
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_settings_category.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698