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

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

Issue 127353002: Clean-up: Move tabCapture API test data files out of experimental dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 11 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/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();
- });
- }
-]);

Powered by Google App Engine
This is Rietveld 408576698