summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_iframe_parent_location_js.html
blob: 0d980f9925f76fe5f61872c11765c8ba8191afba (plain)
1
2
3
4
5
6
7
8
9
10
<html>
<head>
  <title>Test setting parent location to javascript:</title>
</head>
<body>
<script>
  parent.window.location ="javascript:location.href";
</script>
</body>
</html>