blob: 5fbfdfdef4d6f7e592c80b6c0d5ae9d842573099 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Toplevel data navigation</title>
</head>
<body>
test1: clicking data: URI tries to navigate window<br/>
<a id="testlink" href="data:text/html,<body>toplevel data: URI navigations should be blocked</body>">click me</a>
<script>
document.getElementById('testlink').click();
</script>
</body>
</html>
|