| Index: chrome/test/functional/webrtc_brutality_test.py
|
| diff --git a/chrome/test/functional/webrtc_brutality_test.py b/chrome/test/functional/webrtc_brutality_test.py
|
| index be115bcbbdf3bcd9a0a51cabf22461a888b85ce2..fbebb117987503720b3ea629a9fe9bc8d386af0f 100755
|
| --- a/chrome/test/functional/webrtc_brutality_test.py
|
| +++ b/chrome/test/functional/webrtc_brutality_test.py
|
| @@ -57,18 +57,16 @@ class WebrtcBrutalityTest(webrtc_test_base.WebrtcTestBase):
|
| url = self.GetFileURLForDataPath('webrtc', 'webrtc_jsep_test.html')
|
| self.NavigateToURL(url)
|
|
|
| - tab = self.GetBrowserWindow(0).GetTab(0)
|
| self._GetUserMediaWithoutTakingAction(tab_index=0)
|
| - tab.Close()
|
| + self.CloseTab(tab_index=0)
|
|
|
| def testSuccessfulGetUserMediaAndThenClose(self):
|
| """Waits for WebRTC to respond, and closes the tab."""
|
| url = self.GetFileURLForDataPath('webrtc', 'webrtc_jsep_test.html')
|
| self.NavigateToURL(url)
|
|
|
| - tab = self.GetBrowserWindow(0).GetTab(0)
|
| self.GetUserMedia(tab_index=0, action='allow')
|
| - tab.Close()
|
| + self.CloseTab(tab_index=0)
|
|
|
| def _GetUserMediaWithoutTakingAction(self, tab_index):
|
| self.assertEquals('ok-requested', self.ExecuteJavascript(
|
|
|