Index: third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-fetch-worker.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-fetch-worker.html b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-fetch-worker.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..509daab5e0c767de8b03422f5a32e50c07acef45 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-fetch-worker.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<title>Tests integrity enforcement on fetch() on Web Worker</title> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+</head> |
+<body> |
+<script> |
+const SCRIPT = 'resources/subresource-integrity-fetch-worker.js'; |
+fetch_tests_from_worker(new Worker(SCRIPT)); |
+console.log('hello'); |
+</script> |
+</body> |
+</html> |