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

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

Issue 11970010: Updating WebRTC tests to match the latest WebKit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing usage Created 7 years, 11 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/data/webrtc/manual/peerconnection.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/webrtc_call.py
diff --git a/chrome/test/functional/webrtc_call.py b/chrome/test/functional/webrtc_call.py
index 64458ac12305c425e7453f42ee496c47cdcac0bc..60b8b074e0a42d5fe879e792e8782b784201f14b 100755
--- a/chrome/test/functional/webrtc_call.py
+++ b/chrome/test/functional/webrtc_call.py
@@ -178,7 +178,8 @@ class WebrtcCallTest(webrtc_test_base.WebrtcTestBase):
self._LoadPageInTwoTabs('webrtc_jsep01_test.html')
self._SetupCall(request_video=True, request_audio=True)
- select_video_function = 'function(local) { return local.videoTracks[0]; }'
+ select_video_function = \
+ 'function(local) { return local.getVideoTracks()[0]; }'
self.assertEquals('ok-video-toggled-to-false', self.ExecuteJavascript(
'toggleLocalStream(' + select_video_function + ', "video")',
tab_index=0))
« no previous file with comments | « chrome/test/data/webrtc/manual/peerconnection.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698