summaryrefslogtreecommitdiffstats
path: root/dom/security/test/general/file_block_toplevel_data_navigation3.html
blob: 34aeddab3650be6d7352b85ed753718b18f5f8aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Toplevel data navigation</title>
</head>
<body>
test3: performing data: URI navigation through win.loc.href<br/>
<script>
  window.location.href = "data:text/html,<body>toplevel data: URI navigations should be blocked</body>";
</script>
</body>
</html>