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

Unified Diff: chrome/test/chromedriver/embed_mobile_devices_in_cpp.py

Issue 302273003: [ChromeDriver] Fix embed mobilde devices script for new Blink roll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/embed_mobile_devices_in_cpp.py
diff --git a/chrome/test/chromedriver/embed_mobile_devices_in_cpp.py b/chrome/test/chromedriver/embed_mobile_devices_in_cpp.py
index 766edce11be28bfffb5733a0bc5b1b06eb377433..8e741696bf0e1d7c0bde1213619b6e27b59737b5 100755
--- a/chrome/test/chromedriver/embed_mobile_devices_in_cpp.py
+++ b/chrome/test/chromedriver/embed_mobile_devices_in_cpp.py
@@ -30,7 +30,8 @@ def main():
with open(file_name, 'r') as f:
for line in f:
if not inside_list:
- if 'DeviceTab._phones = [' in line or 'DeviceTab._tablets = [' in line:
+ if 'WebInspector.OverridesSupport._phones = [' in line or \
+ 'WebInspector.OverridesSupport._tablets = [' in line:
inside_list = True
else:
if line.strip() == '];':
« no previous file with comments | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698