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

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

Issue 8757011: Fix plugins.PluginsTest.testBlockPluginException (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/plugins.py
diff --git a/chrome/test/functional/plugins.py b/chrome/test/functional/plugins.py
index 5ee98d21a2fbc37813ca22f571d1c1002eaaaa02..eb71a9059a80938a48ee1b8130733043daaa215e 100755
--- a/chrome/test/functional/plugins.py
+++ b/chrome/test/functional/plugins.py
@@ -215,8 +215,7 @@ class PluginsTest(pyauto.PyUITest):
def testBlockPluginException(self):
"""Verify that plugins can be blocked on a domain by adding
an exception(s)."""
- url = self.GetHttpURLForDataPath(os.path.join('plugin',
- 'flash-clicktoplay.html'))
+ url = 'http://www.hulu.com'
self.NavigateToURL(url)
# Wait until Shockwave Flash plugin process loads.
self.assertTrue(self.WaitUntil(
@@ -229,7 +228,7 @@ class PluginsTest(pyauto.PyUITest):
# Add an exception to block plugins on localhost.
self.SetPrefs(pyauto.kContentSettingsPatterns,
- {'[*.]127.0.0.1,*': {'plugins': 2}})
+ {'[*.]hulu.com,*': {'plugins': 2}})
self.GetBrowserWindow(0).GetTab(0).Reload()
self.assertFalse(self._GetPluginPID('Shockwave Flash'),
msg='Shockwave Flash Plug-in not blocked.')
« 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