<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' example.com/js/"> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
</head> | |
<body> | |
<p>This test passes if the source expression does not throw an "invalid source" error.</p> | |
</body> | |
</html> |