summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_inlinescript.html
blob: 55a9b9b1808645f5e236795a9885da6259807a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
  <title>CSP inline script tests</title>
</head>
<body onload="window.parent.postMessage('body-onload-fired', '*')">
  <script type="text/javascript">
    window.parent.postMessage("text-node-fired", "*");
  </script>

  <iframe src='javascript:window.parent.parent.postMessage("javascript-uri-fired", "*")'></iframe>

  <a id='anchortoclick' href='javascript:window.parent.postMessage("javascript-uri-anchor-fired", "*")'>testlink</a>

</body>
</html>