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

Side by Side Diff: extensions/test/data/api_test/audio/output_mute_change/background.js

Issue 2578473002: chrome.audio API: treat mute as system wide property (Closed)
Patch Set: . Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 chrome.test.runTests([ 5 chrome.test.runTests([function waitForMuteChangedEventTests() {
6 function waitForMuteChangedEventTests() { 6 chrome.test.listenOnce(chrome.audio.onMuteChanged, function(evt) {
7 chrome.test.listenOnce( 7 chrome.test.assertEq('OUTPUT', evt.streamType);
8 chrome.audio.OnMuteChanged, 8 chrome.test.assertFalse(evt.isMuted);
9 function(isInput, isMuted) { 9 });
10 chrome.test.assertFalse(isInput); 10 }]);
11 chrome.test.assertFalse(isMuted);
12 });
13 }
14 ]);
15 11
16 chrome.test.sendMessage('loaded'); 12 chrome.test.sendMessage('loaded');
OLDNEW
« no previous file with comments | « extensions/test/data/api_test/audio/input_mute_change/background.js ('k') | extensions/test/data/api_test/audio/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698