1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-01 02:48:44 +01:00
CanvasBlocker/test/webGL-Test.html
2020-11-21 13:58:32 +01:00

33 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>webGL 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">
<link rel="stylesheet" href="../default.css" type="text/css">
<style>
th {
text-align: right;
}
</style>
</head>
<body>
<h1>webGL test</h1>
<h2>Expected result</h2>
<ul>
<li>both webGL versions should be supported (unless you disabled it in the browser settings) - reload if one is showing "not supported"</li>
<li>upon page reload the hashes change (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
<li>all the image hashes should be the same (offscreen workers are not yet protected by CanvasBlocker)</li>
<li>upon page reload some of the parameters (depending on CanvasBlocker settings - e.g. not in the stealth preset)</li>
<li>the "vendor" und "renderer" (also unmasked) parameters reflect the values you chose for them</li>
</ul>
<h3>Support</h3>
<div id="output"></div>
<h3>Hashes</h3>
<div id="hashes"></div>
<h3>Parameters</h3>
<div id="parameters"></div>
<script src="testAPI.js"></script>
<script src="webGL-Test.js"></script>
</body></html>