Index: chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js |
diff --git a/chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js b/chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js |
index 20a45e0cb08ebede433bb77cf3a080b0f03b7143..7c54fe3d93594abcc9fc9bcb6b9f32bdbbb6d61e 100644 |
--- a/chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js |
+++ b/chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js |
@@ -32,7 +32,8 @@ chrome.tabCapture.onStatusChanged.addListener(function(info) { |
chrome.test.assertFalse(events[0]); |
chrome.test.assertTrue(events[1]); |
chrome.test.assertFalse(events[2]); |
- mediaStream.stop(); |
+ mediaStream.getVideoTracks()[0].stop(); |
+ mediaStream.getAudioTracks()[0].stop(); |
chrome.test.succeed(); |
} |