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

Unified Diff: tools/telemetry/telemetry/core/user_agent_unittest.py

Issue 23619021: wpr_mode, no_proxy_server and browser_user_agent_type to BrowserOptions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: tools/telemetry/telemetry/core/user_agent_unittest.py
diff --git a/tools/telemetry/telemetry/core/user_agent_unittest.py b/tools/telemetry/telemetry/core/user_agent_unittest.py
index 32cbbb70567ab10543b34168b7ca6cd8233abb87..97f78bf9e4d1a00692ebc3d1848019e677c7cc71 100644
--- a/tools/telemetry/telemetry/core/user_agent_unittest.py
+++ b/tools/telemetry/telemetry/core/user_agent_unittest.py
@@ -8,7 +8,7 @@ from telemetry.unittest import tab_test_case
class UserAgentTest(tab_test_case.TabTestCase):
def CustomizeBrowserOptions(self, options):
- options.browser_user_agent_type = 'tablet'
+ options.browser_options.browser_user_agent_type = 'tablet'
def testUserAgent(self):
ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
« no previous file with comments | « tools/telemetry/telemetry/core/browser_options.py ('k') | tools/telemetry/telemetry/page/page_measurement_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698