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

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

Issue 2623033003: Always show counters in the material design Clear Browsing Data dialog. (Closed)
Patch Set: iOS fix #2 Created 3 years, 11 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/privacy_page_test.js
diff --git a/chrome/test/data/webui/settings/privacy_page_test.js b/chrome/test/data/webui/settings/privacy_page_test.js
index 5a2f2362a555c4e3e638b3661a80d087aa9ab65e..0488099c61caf12b4cc1e8dd97dfd7fcc128c55a 100644
--- a/chrome/test/data/webui/settings/privacy_page_test.js
+++ b/chrome/test/data/webui/settings/privacy_page_test.js
@@ -228,12 +228,6 @@ cr.define('settings_privacy_page', function() {
cr.webUIListenerCallback(
'update-counter-text', checkbox.pref.key, 'result');
assertEquals('result', checkbox.subLabel);
-
- // Unchecking the checkbox will hide its sublabel.
- var subLabelStyle = window.getComputedStyle(checkbox.$$('.secondary'));
- assertNotEquals('none', subLabelStyle.display);
- checkbox.checked = false;
- assertEquals('none', subLabelStyle.display);
});
});
}

Powered by Google App Engine
This is Rietveld 408576698