| Index: chrome/test/functional/media_stream_infobar.py
|
| diff --git a/chrome/test/functional/media_stream_infobar.py b/chrome/test/functional/media_stream_infobar.py
|
| index 52b574c0603e1d32a6ddd35c300fe64668ff6cd6..84fce9cdcf4a4744e9f000759e4d2ecb41c9708c 100755
|
| --- a/chrome/test/functional/media_stream_infobar.py
|
| +++ b/chrome/test/functional/media_stream_infobar.py
|
| @@ -5,9 +5,10 @@
|
|
|
| import pyauto_functional
|
| import pyauto
|
| +import webrtc_test_base
|
|
|
|
|
| -class MediaStreamInfobarTest(pyauto.PyUITest):
|
| +class MediaStreamInfobarTest(webrtc_test_base.WebrtcTestBase):
|
| """Performs basic tests on the media stream infobar.
|
|
|
| This infobar is used to grant or deny access to WebRTC capabilities for a
|
| @@ -73,8 +74,9 @@ class MediaStreamInfobarTest(pyauto.PyUITest):
|
|
|
| self.WaitForInfobarCount(1)
|
| self.PerformActionOnInfobar(with_action, infobar_index=0)
|
| + self._WaitForGetUserMediaResult(tab_index=0)
|
|
|
| - return self.ExecuteJavascript('obtainGetUserMediaResult()')
|
| + return self._GetUserMediaResult(tab_index=0)
|
|
|
|
|
| if __name__ == '__main__':
|
|
|