mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c52d2b32e5
--HG-- rename : dom/tv/test/file_app.sjs => dom/tv/test/mochitest/file_app.sjs rename : dom/tv/test/file_app.template.webapp => dom/tv/test/mochitest/file_app.template.webapp rename : dom/tv/test/file_tv_non_permitted_app.html => dom/tv/test/mochitest/file_tv_non_permitted_app.html rename : dom/tv/test/mochitest.ini => dom/tv/test/mochitest/mochitest.ini rename : dom/tv/test/test_tv_non_permitted_app.html => dom/tv/test/mochitest/test_tv_non_permitted_app.html
36 lines
789 B
HTML
36 lines
789 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Test GetChannels for TV API</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none"></div>
|
|
<pre id="test">
|
|
<script type="application/javascript" src="./head.js"></script>
|
|
<script type="application/javascript">
|
|
|
|
var tests = [
|
|
// Setup preferences and permissions
|
|
setupPrefsAndPermissions,
|
|
|
|
// Installing the app
|
|
installApp.bind(this, "file_tv_get_channels.html", "file_app.template.webapp"),
|
|
|
|
// Run tests in app
|
|
testApp,
|
|
|
|
// Uninstall the app
|
|
uninstallApp
|
|
];
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
runTest();
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|