1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-10-31 18:38:45 +01:00
CanvasBlocker/test/window.open-test.html
2020-01-21 22:45:28 +01:00

28 lines
797 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>window.open 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>
#testLink {
text-decoration: underline;
color: blue;
cursor: pointer;
}
</style>
</head>
<body>
<h1>window.open test</h1>
<h2>Expected result</h2>
<ul>
<li>after clicking the link a new tab or window opens</li>
<li>the notifications for that new tab are displayed in that tab</li>
<li>this tab does not report any faking</li>
<li>the new tab keeps working after you navigate in this tab or close this tab</li>
</ul>
<h3>test</h3>
<div id="testLink">click me</div>
<script src="window.open-test.js"></script>
</body></html>