Skip to content

Commit

Permalink
Worklet: Use <meta name="timeout"> instead of SlowTests annotations f…
Browse files Browse the repository at this point in the history
…or slow WPTs

<meta name="timeout"> is prefereable for WPTs:
https://web-platform-tests.org/writing-tests/testharness-api.html#harness-timeout

Bug: 912240
Change-Id: I3c4a9acb1fb070c34d10f59ff9d3fd3d2bd11afb
Reviewed-on: https://chromium-review.googlesource.com/c/1366469
Reviewed-by: Matt Falkenhagen <[email protected]>
Commit-Queue: Hiroki Nakagawa <[email protected]>
Cr-Commit-Position: refs/heads/master@{#614626}
  • Loading branch information
nhiroki authored and chromium-wpt-export-bot committed Dec 7, 2018
1 parent 2d0f68b commit ef1a5c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
20 changes: 8 additions & 12 deletions worklets/animation-worklet-csp.https.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<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>
<title>ContentSecurityPolicy for Animation Worklets</title>
<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>
<script>
runContentSecurityPolicyTests("animation");
runContentSecurityPolicyTests("animation");
</script>
</body>
</html>
20 changes: 8 additions & 12 deletions worklets/audio-worklet-csp.https.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<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>
<title>ContentSecurityPolicy for Audio Worklets</title>
<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>
<script>
runContentSecurityPolicyTests("audio");
runContentSecurityPolicyTests("audio");
</script>
</body>
</html>

0 comments on commit ef1a5c8

Please sign in to comment.