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

Unified Diff: chrome/test/functional/prefs.py

Issue 2857018: Add a test that verifies the DNS prefetching preference (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/prefs.py
===================================================================
--- chrome/test/functional/prefs.py (revision 50541)
+++ chrome/test/functional/prefs.py (working copy)
@@ -120,6 +120,14 @@
if self.IsMac():
self.assertTrue(self.GetPrefsInfo().Prefs(pyauto.kShowPageOptionsButtons))
+ def testDnsPrefectchingEnabledPref(self):
+ """Verify DNS prefetching pref"""
+ # Assert default
+ self.assertTrue(self.GetPrefsInfo().Prefs(pyauto.kDnsPrefetchingEnabled))
+ self.SetPrefs(pyauto.kDnsPrefetchingEnabled, False)
+ self.RestartBrowser(clear_profile=False)
+ self.assertFalse(self.GetPrefsInfo().Prefs(pyauto.kDnsPrefetchingEnabled))
+
def testHomepagePrefs(self):
"""Verify homepage prefs."""
# "Use the New Tab page"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698