haikuwebkit/LayoutTests/security/contentSecurityPolicy/image-with-file-url-allowed...

11 lines
446 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="img-src *">
</head>
<body>
<p>This tests that loading image with a file URL is allowed when the page that is loaded from file URL has Content Security Policy &quot;image-src *&quot;. This test PASSED if you see a green square below. Otherwise, it FAILED.</p>
<img src="../../fast/dom/HTMLImageElement/resources/green.png" width="128" height="128">
</body>
</html>