Index: chrome/test/data/extensions/api_test/tab_capture/constraints.js |
diff --git a/chrome/test/data/extensions/api_test/tab_capture/constraints.js b/chrome/test/data/extensions/api_test/tab_capture/constraints.js |
index 9f652d5729171540f13bd9536566cdfc4991d6d8..757949dbbe83f2c88631f5694be65cbe383d1178 100644 |
--- a/chrome/test/data/extensions/api_test/tab_capture/constraints.js |
+++ b/chrome/test/data/extensions/api_test/tab_capture/constraints.js |
@@ -15,7 +15,8 @@ chrome.test.runTests([ |
} |
}, function(stream) { |
chrome.test.assertTrue(!!stream); |
- stream.stop(); |
+ stream.getVideoTracks()[0].stop(); |
+ stream.getAudioTracks()[0].stop(); |
chrome.test.succeed(); |
}); |
}, |