Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / file_manager / audio_player / js / test_util.js
blob2f7cf447909a81ca59591d2391c83345c00e62f4
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.
5 /**
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();