Index: chrome/test/data/extensions/api_test/tab_capture/experimental/constraints.js |
diff --git a/chrome/test/data/extensions/api_test/tab_capture/experimental/constraints.js b/chrome/test/data/extensions/api_test/tab_capture/experimental/constraints.js |
deleted file mode 100644 |
index 3ac44184893baf0df1206f8d7a5c66feb85245b4..0000000000000000000000000000000000000000 |
--- a/chrome/test/data/extensions/api_test/tab_capture/experimental/constraints.js |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-chrome.test.runTests([ |
- function supportsMediaConstraints() { |
- chrome.tabCapture.capture({ |
- video: true, |
- audio: true, |
- videoConstraints: { |
- mandatory: { |
- maxWidth: 1000, |
- minWidth: 300 |
- } |
- } |
- }, function(stream) { |
- chrome.test.assertTrue(!!stream); |
- stream.stop(); |
- chrome.test.succeed(); |
- }); |
- }, |
- |
- function supportsOptionalMediaConstraints() { |
- chrome.tabCapture.capture({ |
- video: true, |
- audio: true, |
- videoConstraints: { |
- mandatory: { |
- }, |
- optional: { |
- maxWidth: 1000, |
- minWidth: 300 |
- } |
- } |
- }, function(stream) { |
- chrome.test.assertTrue(!stream); |
- chrome.test.succeed(); |
- }); |
- } |
-]); |