2019/main.html (78 lines of code) (raw):
<!DOCTYPE html>
<!--
Copyright 2018 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<title>Living Room Certification Tests</title>
<link rel="stylesheet" href="style.css" type="text/css">
<!-- Begin non GitHub files -->
<link rel="stylesheet" href="lib/functional/test.css" type="text/css">
<link rel="stylesheet" href="lib/functional/font.css" type="text/css">
<link rel="splashscreen" href="splash_screen.html">
</head>
<body>
<div id="testArea" style="display: none"></div>
<script type="text/javascript" async defer>
// Do NOT Change order of script sources!
var scriptSources = [
"third_party/Modernizr/modernizr-custom.js",
"harness/util.js",
"harness/constants.js",
"harness/key.js",
"harness/keyEvent.js",
"harness/focusManager.js",
"harness/logger.js",
"harness/xhr.js",
"harness/timeout.js",
"harness/testView.js",
"harness/compactTestList.js",
"harness/compactTestView.js",
"harness/test.js",
"harness/testTypes.js",
"lib/streams/mediaStreams.js",
"lib/mse/msutil.js",
"lib/mse/mediaSourcePortability.js",
"lib/mse/videoPerformance.js",
"lib/eme/encryptedMediaPortability.js",
"lib/eme/licenseManager.js",
"lib/eme/emeManager.js",
"lib/webgl/webglManager.js",
"lib/parsers/mp4.js",
"lib/parsers/webm.js",
"lib/functional/mediaSourcePortability.js",
"lib/functional/mediaSourceSetup.js",
"media/conformanceTest.js",
"media/emeTest.js",
"media/progressiveTest.js",
"media/webglTest.js",
"media/playbackperfTest.js",
"media/sphericalOnCobaltTest.js",
"functional/functionalTest.js",
"functional/cssTest.js",
"functional/domelementTest.js",
"functional/domCssTest.js",
"functional/domDocumentEventTest.js",
"functional/domMiscTest.js",
"functional/formatSupportTest.js",
"manual/manualTest.js",
"harness/main.js"
];
/*
* Load each script sequentially but marked as async so cobalt is able to pause/suspend
* the loading of YTS scripts and return later to finish executing
*/
(function loadNextScript() {
if (scriptSources.length) {
var script = document.createElement('script');
script.src = scriptSources[0];
script.async = true;
script.defer = true;
script.onload = function() {
scriptSources.shift();
loadNextScript();
}
document.head.appendChild(script);
} else {
startMseTest(testVersion);
}
})();
</script>
</body>
</html>