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

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

Issue 13464016: Renable tabCapture.ApiTests* now that fix landed in r191910. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable for WinXP Created 7 years, 8 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
« no previous file with comments | « chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/tab_capture/experimental/api_tests.js
diff --git a/chrome/test/data/extensions/api_test/tab_capture/experimental/api_tests.js b/chrome/test/data/extensions/api_test/tab_capture/experimental/api_tests.js
index 23e1a9a3549b5e6de71c675047cc828b82c63da9..41d5c87f6a7f395249183c678425ea519439069d 100644
--- a/chrome/test/data/extensions/api_test/tab_capture/experimental/api_tests.js
+++ b/chrome/test/data/extensions/api_test/tab_capture/experimental/api_tests.js
@@ -92,43 +92,12 @@ chrome.test.runTests([
});
},
- function onlyAudio() {
- tabCapture.capture({audio: true}, function(stream) {
- chrome.test.assertTrue(!!stream);
- stream.stop();
- chrome.test.succeed();
- });
- },
-
function noAudioOrVideoRequested() {
// If not specified, video is not requested.
tabCapture.capture({audio: false}, function(stream) {
chrome.test.assertTrue(!stream);
chrome.test.succeed();
});
- },
-
- function invalidAudioConstraints() {
- var tabCaptureListener = function(info) {
- if (info.status == 'stopped') {
- tabCapture.onStatusChanged.removeListener(tabCaptureListener);
-
- tabCapture.capture({audio: true, video: true}, function(stream) {
- chrome.test.assertTrue(!!stream);
- chrome.test.succeed();
- });
- }
- };
- tabCapture.onStatusChanged.addListener(tabCaptureListener);
-
- tabCapture.capture({audio: true,
- audioConstraints: {
- 'mandatory': {
- 'notValid': '123'
- }
- }}, function(stream) {
- chrome.test.assertTrue(!stream);
- });
}
]);
« no previous file with comments | « chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698