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

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

Issue 8486021: Fixed the policy.PolicyTest.testJavascriptPolicies test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/policy.py
diff --git a/chrome/test/functional/policy.py b/chrome/test/functional/policy.py
index 5cc9c2b3b2283a3367e100a0a158d6330b37dfce..d2bd62a9beb1836090c4fbf4e21dd2daf4bc3c7e 100644
--- a/chrome/test/functional/policy.py
+++ b/chrome/test/functional/policy.py
@@ -143,6 +143,7 @@ class PolicyTest(pyauto.PyUITest):
# The Developer Tools still work when javascript is disabled.
policy['JavascriptEnabled'] = False
self.SetPolicies(policy)
+ self.NavigateToURL('about:blank')
self.assertFalse(self.IsJavascriptEnabled())
self.assertTrue(self.IsMenuCommandEnabled(pyauto.IDC_DEV_TOOLS))
self.assertTrue(self.IsMenuCommandEnabled(pyauto.IDC_DEV_TOOLS_CONSOLE))
« no previous file with comments | « chrome/test/functional/PYAUTO_TESTS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698