[animation-worklet] Enable wpt tests to run with threaded compostiting


Bug: 915352
Change-Id: Iead91d55465c0277dfaa9588d413e654a5d1a57a
Reviewed-on: https://chromium-review.googlesource.com/c/1418076
Commit-Queue: Majid Valipour <majidvp@chromium.org>
Reviewed-by: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#623836}
diff --git a/third_party/blink/web_tests/VirtualTestSuites b/third_party/blink/web_tests/VirtualTestSuites
index 2c51e12..d6342d8 100644
--- a/third_party/blink/web_tests/VirtualTestSuites
+++ b/third_party/blink/web_tests/VirtualTestSuites
@@ -29,6 +29,11 @@
     "base": "animations/animationworklet",
     "args": ["--enable-threaded-compositing"]
   },
+   {
+    "prefix": "threaded",
+    "base": "external/wpt/animation-worklet",
+    "args": ["--enable-threaded-compositing"]
+  },
   {
     "prefix": "threaded",
     "base": "lifecycle",
diff --git a/third_party/blink/web_tests/virtual/threaded/external/wpt/animation-worklet/README.txt b/third_party/blink/web_tests/virtual/threaded/external/wpt/animation-worklet/README.txt
new file mode 100644
index 0000000..7f4b48b
--- /dev/null
+++ b/third_party/blink/web_tests/virtual/threaded/external/wpt/animation-worklet/README.txt
@@ -0,0 +1,2 @@
+# This suite runs external/wpt/animation-worklet tests with threaded
+# compositing enabled.