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)) |