| Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html
|
| diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html
|
| deleted file mode 100644
|
| index 311342f78b3de8856e101a6b176b13a29b84661b..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/securitypolicy-allowimagefrom.html
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| - <body>
|
| - <script src="../resources/securitypolicy-tests-base.js"></script>
|
| - <script>
|
| - if (document.securityPolicy.allowsImageFrom('http://example.com/'))
|
| - log('PASS image is allowed when no policy exists.');
|
| - else
|
| - log('FAIL image is not allowed when no policy exists.');
|
| -
|
| - injectPolicy("img-src http://notexample.com;");
|
| -
|
| - if (!document.securityPolicy.allowsImageFrom('http://example.com/'))
|
| - log('PASS image is not allowed when policy exists.');
|
| - else
|
| - log('FAIL image is allowed when policy exists.');
|
| - </script>
|
| - </body>
|
| -</html>
|
| -
|
|
|