Index: LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect.html |
diff --git a/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect.html b/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d09a90cdfcbe92f9be18298f393e6553c705ea9 |
--- /dev/null |
+++ b/LayoutTests/http/tests/eventsource/workers/eventsource-csp-redirect.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta http-equiv="Content-Security-Policy" |
+ content="connect-src http://127.0.0.1:8000/js-test-resources/js-test.js http://127.0.0.1:8000/resources/redirect.php"> |
+<script src="/js-test-resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+startWorker("../script-tests/eventsource-csp-redirect.js"); |
+</script> |
+</body> |
+</html> |