gecko-dev/testing/web-platform/tests/worklets/layout-worklet-csp.https.html
Hiroshige Hayashizaki 70b19ff1da Bug 1523562 [wpt PR 14774] - [wpt/upgrade-insecure-requests] Add worker/worklet tests, a=testonly
Automatic update from web-platform-tests
[wpt/upgrade-insecure-requests] Add worker/worklet tests

This CL adds upgrade-insecure-requests test coverage for:
- (classic and module) dedicated worker top-level scripts,
- fetch API from dedicated workers, and
- animation/audio/layout/paint worklet top-level scripts.
possibly including redirects and/or static imports,
reusing /mixed-content/generic/common.js.

For this purpose, this CL creates a generator script
that generates the newly added tests
as well as some of the existing tests
(where this CL preserves the test behavior):
- iframe-upgrade.https.html
- iframe-redirect-upgrade.https.html
- image-upgrade.https.html
- image-redirect-upgrade.https.html

This CL also removes upgrade-insecure-requests tests under
/wpt/worklets/ as they are covered by the newly added tests.

Bug: 906850, 878274, 917532, 917554
Change-Id: I1e4f60b72d2b40c795c03b9f79c542c1a250c913
Reviewed-on: https://chromium-review.googlesource.com/c/1389635
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621265}

--

wpt-commits: a96c7b5edead665ea8642e54c0246b354ee6d89e
wpt-pr: 14774
2019-02-07 21:50:08 +00:00

16 lines
448 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="timeout" content="long">
<script src="/common/get-host-info.sub.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/worklet-test-utils.js"></script>
<script src="resources/csp-tests.js"></script>
</head>
<body>
<script>
runContentSecurityPolicyTests("layout");
</script>
</body>
</html>