Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6105)

Unified Diff: chrome/test/data/extensions/api_test/tab_capture/fullscreen_test.js

Issue 1344753002: Update tests for chrome, as MediaStream label, ended attributes and stop() method will be removed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « chrome/test/data/extensions/api_test/tab_capture/constraints.js ('k') | chrome/test/data/webrtc/webrtc-simulcast.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698