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

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

Issue 2741343010: MD Settings: Prevent direct navigation to disabled Site Settings UI. (Closed)
Patch Set: Fix more tests. 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
« no previous file with comments | « chrome/test/data/webui/settings/cr_settings_browsertest.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 852a35a93411995d58dc34844088e459eeca09a1..ba0bcf683f6583f8c0bd139ec9c398110944d076 100644
--- a/chrome/test/data/webui/settings/site_list_tests.js
+++ b/chrome/test/data/webui/settings/site_list_tests.js
@@ -650,7 +650,6 @@ cr.define('site_list', function() {
setUpCategory(contentType, settings.PermissionValues.ALLOW, prefs);
return browserProxy.whenCalled('getExceptionList').then(
function(actualContentType) {
- testElement.enableSiteSettings_ = true;
assertEquals(contentType, actualContentType);
// Required for firstItem to be found below.
@@ -781,7 +780,6 @@ cr.define('site_list', function() {
var resolver = new PromiseResolver();
testElement.async(resolver.resolve);
return resolver.promise.then(function() {
- testElement.enableSiteSettings_ = true;
// All Sites calls getExceptionList for all categories, starting
// with Cookies.
assertEquals(
@@ -825,7 +823,6 @@ cr.define('site_list', function() {
var resolver = new PromiseResolver();
testElement.async(resolver.resolve);
return resolver.promise.then(function() {
- testElement.enableSiteSettings_ = true;
// All Sites calls getExceptionList for all categories, starting
// with Cookies.
assertEquals(
« no previous file with comments | « chrome/test/data/webui/settings/cr_settings_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698