11 lines
446 B
HTML
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 "image-src *". 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>
|