blob: 2f7cf447909a81ca59591d2391c83345c00e62f4 [file] [log] [blame]
// Copyright 2015 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.
/**
* Opens the audio player and waits until it is ready.
*
* @param {!Array<string>} urls URLs to be opened.
*
*/
test.util.async.openAudioPlayer = function(urls, callback) {
open(urls).then(callback);
};
// Register the test utils.
test.util.registerRemoteTestUtils();