mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
b0becc0af0
Fixes #425
38 lines
1.0 KiB
HTML
38 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Audio test</title>
|
|
<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">
|
|
<style>
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
table-layout: auto;
|
|
}
|
|
table td {
|
|
border: 1px solid lightgray;
|
|
padding: 1px 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Audio test</h1>
|
|
<h2>Expected result</h2>
|
|
<ul>
|
|
<li>the hashes in each set should be the same</li>
|
|
<li>the hashes should vary between the sets</li>
|
|
<li>the "empty" 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>
|
|
</ul>
|
|
<h2>Tests</h2>
|
|
<div id="test">
|
|
Hashes: <table class="hashes"></table>
|
|
Sum: <span class="sum"></span>
|
|
<button>refresh</button>
|
|
</div>
|
|
<script src="audioTest.js"></script>
|
|
</body>
|
|
</html> |