18 lines
592 B
HTML
18 lines
592 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Positive test case: Inline script should run 'unsafe-inline' script-src directive.</title>
|
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline';">
|
|
<script src='/resources/testharness.js'></script>
|
|
<script src='/resources/testharnessreport.js'></script>
|
|
<script src='inlineSuccessTest.js'></script>
|
|
</head>
|
|
<body>
|
|
<h1>Positive test case: Inline script should run 'unsafe-inline' script-src directive.</h1>
|
|
<div id='log'></div>
|
|
|
|
<script>
|
|
inlineRan = true;
|
|
</script>
|
|
</body>
|
|
</html>
|