CanvasBlocker/test/audioTest.html

43 lines
1.2 KiB
HTML
Raw Normal View History

2018-06-30 23:15:47 +02:00
<!DOCTYPE html>
<html>
<head>
<title>Audio test</title>
2019-02-20 08:13:37 +01:00
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="testIcon.svg" type="image/png" rel="icon">
<link href="testIcon.svg" type="image/png" rel="shortcut icon">
2020-11-21 13:58:32 +01:00
<link rel="stylesheet" href="../default.css" type="text/css">
2019-02-10 02:50:21 +01:00
<style>
table {
border-collapse: collapse;
width: 100%;
table-layout: auto;
}
table td {
border: 1px solid lightgray;
padding: 1px 5px;
}
2020-11-21 13:58:32 +01:00
table.hashes td:nth-child(2){
font-size: 70%;
}
2019-02-10 02:50:21 +01:00
</style>
2018-06-30 23:15:47 +02:00
</head>
<body>
<h1>Audio test</h1>
2019-09-04 00:30:20 +02:00
<h2>Expected result</h2>
2019-02-10 02:50:21 +01:00
<ul>
2020-05-01 01:06:50 +02:00
<li>the hashes in each set should be the same (i.e. &quot;all tests equal&quot; should be displayed</li>
2019-02-10 02:50:21 +01:00
<li>the hashes should vary between the sets</li>
<li>the &quot;empty&quot; hash should be 95476ffd46d1cd34fe8de83585c325df2b06019c852a5f6445200f57bc954a1b</li>
<li>hitting the refresh button should not change the values</li>
<li>reloading the page should change the values (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
2019-02-10 02:50:21 +01:00
</ul>
2019-09-04 00:30:20 +02:00
<h2>Tests</h2>
2018-06-30 23:15:47 +02:00
<div id="test">
2019-02-10 02:50:21 +01:00
Hashes: <table class="hashes"></table>
2020-05-01 01:06:50 +02:00
<br>
2020-05-01 01:11:21 +02:00
Sums: <table class="sums"></table>
2018-06-30 23:15:47 +02:00
<button>refresh</button>
</div>
<script src="audioTest.js"></script>
</body>
</html>