Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / test / data / eme_player_js / app_loader.js
bloba4ef2b5023e36c3768bc8ff61bff6cc4e30ef060
1 // Copyright 2014 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 // Adds a Javascript source tag to the document.
6 function addScriptTag(src) {
7   document.write(
8       '<script type="text/javascript" async="false" src="eme_player_js/' + src +
9       '"></script>');
12 // Load all the dependencies for the app.
13 addScriptTag('globals.js');
14 addScriptTag('utils.js');
15 addScriptTag('test_config.js');
16 addScriptTag('fps_observer.js');
17 addScriptTag('media_source_utils.js');
18 addScriptTag('player_utils.js');
19 addScriptTag('prefixed_clearkey_player.js');
20 addScriptTag('clearkey_player.js');
21 addScriptTag('widevine_player.js');
22 addScriptTag('prefixed_widevine_player.js');
23 addScriptTag('file_io_test_player.js');
24 addScriptTag('eme_app.js');