1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-09 22:58:52 +01:00
CanvasBlocker/test/window.open-test.html

29 lines
860 B
HTML
Raw Normal View History

2020-01-21 22:45:28 +01:00
<!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">
2020-11-21 13:58:32 +01:00
<link rel="stylesheet" href="../default.css" type="text/css">
2020-01-21 22:45:28 +01:00
<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>