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
3 // found in the LICENSE file.
6 * Opens the audio player and waits until it is ready.
8 * @param {!Array<string>} urls URLs to be opened.
11 test
.util
.async
.openAudioPlayer = function(urls
, callback
) {
12 open(urls
).then(callback
);
15 // Register the test utils.
16 test
.util
.registerRemoteTestUtils();