Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<head>
<title>Bug 1100181 - CSP: Enforce connect-src when submitting pings</title>
</head>
<body>
<!-- we are using an image for the test, but can be anything -->
<a id="testlink"
Send ping
</a>
<script type="text/javascript">
var link = document.getElementById("testlink");
link.click();
</script>
</body>
</html>