diff options
author | phoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-21 18:30:35 +0000 |
---|---|---|
committer | phoglund@chromium.org <phoglund@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-21 18:30:35 +0000 |
commit | 767aacf3d5679534f927fbeec7f2c69d61970647 (patch) | |
tree | c338ca0e33196a9104e40e87fbeadf13954ecb5e /chrome/test/functional | |
parent | ae503aed76ab7672a0e2b9b5344ef18721bb7065 (diff) | |
download | chromium_src-767aacf3d5679534f927fbeec7f2c69d61970647.zip chromium_src-767aacf3d5679534f927fbeec7f2c69d61970647.tar.gz chromium_src-767aacf3d5679534f927fbeec7f2c69d61970647.tar.bz2 |
Adapted tests to API change.
BUG=
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/10957035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/functional')
-rwxr-xr-x | chrome/test/functional/media_stream_infobar.py | 2 | ||||
-rwxr-xr-x | chrome/test/functional/webrtc_test_base.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/functional/media_stream_infobar.py b/chrome/test/functional/media_stream_infobar.py index ce95a2b..7265592 100755 --- a/chrome/test/functional/media_stream_infobar.py +++ b/chrome/test/functional/media_stream_infobar.py @@ -70,7 +70,7 @@ class MediaStreamInfobarTest(webrtc_test_base.WebrtcTestBase): self.NavigateToURL(url) self.assertEquals('ok-requested', self.ExecuteJavascript( - 'getUserMedia(true, true, {})')) + 'getUserMedia(true, true, "{}")')) self.WaitForInfobarCount(1) self.PerformActionOnInfobar(with_action, infobar_index=0) diff --git a/chrome/test/functional/webrtc_test_base.py b/chrome/test/functional/webrtc_test_base.py index 8e42db7..69486a9 100755 --- a/chrome/test/functional/webrtc_test_base.py +++ b/chrome/test/functional/webrtc_test_base.py @@ -33,7 +33,7 @@ class WebrtcTestBase(pyauto.PyUITest): A string as specified by the getUserMedia javascript function. """ self.assertEquals('ok-requested', self.ExecuteJavascript( - 'getUserMedia(true, true, {})', tab_index=tab_index)) + 'getUserMedia(true, true, "{}")', tab_index=tab_index)) self.WaitForInfobarCount(1, tab_index=tab_index) self.PerformActionOnInfobar(action, infobar_index=0, tab_index=tab_index) |