Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: http3 OR http2
- Manifest: dom/security/test/csp/mochitest.toml
/**
* Any copyright is dedicated to the Public Domain.
*/
<html>
<head>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<iframe style="width:200px;height:200px;" id='cspframe'></iframe>
<script class="testbody" type="text/javascript">
document.getElementById('cspframe').src = 'main_csp_worker.html';
</script>
</body>
</html>