Import wpt@c483fe4ed3e69bf1f9faf8e06ef39b8405dd7625

Using wpt-import in Chromium 1f46b374ce939d811efd0f43a9222b958e847594.

Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/21559

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

TBR=foolip

No-Export: true
Change-Id: I06dd93fb9a06214970f605caa5223688fd048540
Reviewed-on: https://chromium-review.googlesource.com/1143701
Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Reviewed-by: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576580}
diff --git a/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json b/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
index 438ce0ff..5e90ffd 100644
--- a/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
+++ b/third_party/WebKit/LayoutTests/external/WPT_BASE_MANIFEST.json
@@ -103390,6 +103390,21 @@
      {}
     ]
    ],
+   "animation-worklet/META.yml": [
+    [
+     {}
+    ]
+   ],
+   "animation-worklet/interfaces.any-expected.txt": [
+    [
+     {}
+    ]
+   ],
+   "animation-worklet/interfaces.any.worker-expected.txt": [
+    [
+     {}
+    ]
+   ],
    "apng/META.yml": [
     [
      {}
@@ -158410,6 +158425,11 @@
      {}
     ]
    ],
+   "interfaces/animation-worklet.idl": [
+    [
+     {}
+    ]
+   ],
    "interfaces/appmanifest.idl": [
     [
      {}
@@ -183891,6 +183911,16 @@
      }
     ]
    ],
+   "animation-worklet/interfaces.any.js": [
+    [
+     "/animation-worklet/interfaces.any.html",
+     {}
+    ],
+    [
+     "/animation-worklet/interfaces.any.worker.html",
+     {}
+    ]
+   ],
    "apng/supported-in-source-type.html": [
     [
      "/apng/supported-in-source-type.html",
@@ -252175,18 +252205,36 @@
      {}
     ]
    ],
+   "trusted-types/HTMLIFrameElement-src.tentative.html": [
+    [
+     "/trusted-types/HTMLIFrameElement-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/HTMLImageElement-src.tentative.html": [
     [
      "/trusted-types/HTMLImageElement-src.tentative.html",
      {}
     ]
    ],
+   "trusted-types/HTMLLinkElement-href.tentative.html": [
+    [
+     "/trusted-types/HTMLLinkElement-href.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/HTMLMediaElement-src.tentative.html": [
     [
      "/trusted-types/HTMLMediaElement-src.tentative.html",
      {}
     ]
    ],
+   "trusted-types/HTMLObjectElement.tentative.html": [
+    [
+     "/trusted-types/HTMLObjectElement.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/HTMLSourceElement-src.tentative.html": [
     [
      "/trusted-types/HTMLSourceElement-src.tentative.html",
@@ -252217,18 +252265,36 @@
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-HTMLIFrameElement-src.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-HTMLIFrameElement-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-HTMLImageElement-src.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-HTMLImageElement-src.tentative.html",
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-HTMLLinkElement-href.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-HTMLLinkElement-href.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-HTMLMediaElement-src.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-HTMLMediaElement-src.tentative.html",
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-HTMLObjectElement.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-HTMLObjectElement.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-HTMLSourceElement-src.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-HTMLSourceElement-src.tentative.html",
@@ -252247,12 +252313,24 @@
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-frame-src.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-frame-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-innerHTML.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-innerHTML.tentative.html",
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-input-src.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-input-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-insertAdjacentHTML.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-insertAdjacentHTML.tentative.html",
@@ -252289,6 +252367,12 @@
      {}
     ]
    ],
+   "trusted-types/block-string-assignment-to-track-src.tentative.html": [
+    [
+     "/trusted-types/block-string-assignment-to-track-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/block-string-assignment-to-window-open.tentative.html": [
     [
      "/trusted-types/block-string-assignment-to-window-open.tentative.html",
@@ -252313,12 +252397,24 @@
      {}
     ]
    ],
+   "trusted-types/frame-src.tentative.html": [
+    [
+     "/trusted-types/frame-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/innerHTML.tentative.html": [
     [
      "/trusted-types/innerHTML.tentative.html",
      {}
     ]
    ],
+   "trusted-types/input-src.tentative.html": [
+    [
+     "/trusted-types/input-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/insertAdjacentHTML.tentative.html": [
     [
      "/trusted-types/insertAdjacentHTML.tentative.html",
@@ -252367,6 +252463,12 @@
      {}
     ]
    ],
+   "trusted-types/track-src.tentative.html": [
+    [
+     "/trusted-types/track-src.tentative.html",
+     {}
+    ]
+   ],
    "trusted-types/window-open.tentative.html": [
     [
      "/trusted-types/window-open.tentative.html",
@@ -275108,6 +275210,22 @@
    "889fd09853f091aba8fea3b45cfeb36437be1c2b",
    "support"
   ],
+  "animation-worklet/META.yml": [
+   "b5e944a30de69a506b5151ac3ba86b9fb8c18dae",
+   "support"
+  ],
+  "animation-worklet/interfaces.any-expected.txt": [
+   "46c4f2dbc2350f8a8ca40e094cb1021fbad94108",
+   "support"
+  ],
+  "animation-worklet/interfaces.any.js": [
+   "8635512a97334fda263fa76385d68522d0162a07",
+   "testharness"
+  ],
+  "animation-worklet/interfaces.any.worker-expected.txt": [
+   "46c4f2dbc2350f8a8ca40e094cb1021fbad94108",
+   "support"
+  ],
   "apng/META.yml": [
    "714075388ee3d8f4cf698f0291aebb34f62badff",
    "support"
@@ -377880,6 +377998,10 @@
    "623852530c2645b51347c82cea8fa72c0cb22f18",
    "support"
   ],
+  "interfaces/animation-worklet.idl": [
+   "df2684b08687cd7cbc9f1a3754595041e0fa4dd8",
+   "support"
+  ],
   "interfaces/appmanifest.idl": [
    "dc57a1479ca3010f6fa86ef46274a452d339d1b5",
    "support"
@@ -405260,14 +405382,26 @@
    "bdc6593b4490bd0a1b22ef423c7fc95468acd7e5",
    "testharness"
   ],
+  "trusted-types/HTMLIFrameElement-src.tentative.html": [
+   "155b17369ccd00fb16f44a74ffb5f727ae789143",
+   "testharness"
+  ],
   "trusted-types/HTMLImageElement-src.tentative.html": [
    "69ff5aae0ee5d8d5776450ec09e39cdcb912c374",
    "testharness"
   ],
+  "trusted-types/HTMLLinkElement-href.tentative.html": [
+   "f545330d06310062fba66359f0575b5739fbeb79",
+   "testharness"
+  ],
   "trusted-types/HTMLMediaElement-src.tentative.html": [
    "c24c19db7ed389820a5f6680597e6e7c76683f7b",
    "testharness"
   ],
+  "trusted-types/HTMLObjectElement.tentative.html": [
+   "e71b7ae180bc3c8b199657848c2c908ba34448c4",
+   "testharness"
+  ],
   "trusted-types/HTMLSourceElement-src.tentative.html": [
    "872f3b4930d931d56069adfd97afdb4eef5fb978",
    "testharness"
@@ -405296,14 +405430,26 @@
    "8f09389fb792f0fb24afd34035fa9cf055c05be6",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-HTMLIFrameElement-src.tentative.html": [
+   "a1f0a7d29d75847c2ee0343ded7b58faacb9c844",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-HTMLImageElement-src.tentative.html": [
    "3f50eeada881f742a15be93140f6d274251290d4",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-HTMLLinkElement-href.tentative.html": [
+   "c702f83e6e4ccd79fcc2795cce611cc5c3ba39a9",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-HTMLMediaElement-src.tentative.html": [
    "4302f83ec84a7b505985cb2756ce75bf4150d600",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-HTMLObjectElement.tentative.html": [
+   "a6ef276e5e931578b9f898dcf335eecfb87756c9",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-HTMLSourceElement-src.tentative.html": [
    "c3209381cb9dfafb16b2421b7536b225c3efd0a4",
    "testharness"
@@ -405316,10 +405462,18 @@
    "67f647d655ac8c6716270ae1929f8fdb8919d8ed",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-frame-src.tentative.html": [
+   "483c47f008a2749968ece225c706ea4e3a6bbd72",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-innerHTML.tentative.html": [
    "ddbdee0f12a482599ec5913f78a527127a2aeb16",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-input-src.tentative.html": [
+   "f22882f4e7db215b95dd9eaa1fc4f6cad5c99211",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-insertAdjacentHTML.tentative.html": [
    "3c43309acf17f8f2efe37113c662ef97d07aa0de",
    "testharness"
@@ -405344,6 +405498,10 @@
    "da38712c6e43d1e6fe5892a5339a45c4bf438c7e",
    "testharness"
   ],
+  "trusted-types/block-string-assignment-to-track-src.tentative.html": [
+   "7d35a420ffa057e353ba19de79c0fc59b312e32b",
+   "testharness"
+  ],
   "trusted-types/block-string-assignment-to-window-open.tentative.html": [
    "210a8b4968f4976dca5316876228debbc3d9ddfa",
    "testharness"
@@ -405360,10 +405518,18 @@
    "0230cba4a277809feaedecd0ac17bb6bd6b99797",
    "testharness"
   ],
+  "trusted-types/frame-src.tentative.html": [
+   "ffbdebbc102c5cfa442a86457c666725dc6315b6",
+   "testharness"
+  ],
   "trusted-types/innerHTML.tentative.html": [
    "6c2492b545f0989ba74772ff8e0f3922f6ba70da",
    "testharness"
   ],
+  "trusted-types/input-src.tentative.html": [
+   "a52f848180ff8c9d6e44c24a61cfca2da0bef177",
+   "testharness"
+  ],
   "trusted-types/insertAdjacentHTML.tentative.html": [
    "fd95e2fa76d567311b8875bb7481d6345e5423c2",
    "testharness"
@@ -405400,6 +405566,10 @@
    "6162bad41b15d0ae0be727b5d960bb538d430fe2",
    "support"
   ],
+  "trusted-types/track-src.tentative.html": [
+   "162d357ab7f87a28e81da9d1e686eee038e268c5",
+   "testharness"
+  ],
   "trusted-types/window-open.tentative.html": [
    "bbdc214490d471285f9b086cd0b98eb8a765691a",
    "testharness"
diff --git a/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/META.yml b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/META.yml
new file mode 100644
index 0000000..c691896
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/META.yml
@@ -0,0 +1,5 @@
+spec: https://wicg.github.io/animation-worklet/
+suggested_reviewers:
+  - flackr
+  - majido
+  - stephenmcgruer
diff --git a/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any-expected.txt
new file mode 100644
index 0000000..d4ce18fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any-expected.txt
@@ -0,0 +1,31 @@
+This is a testharness.js-based test.
+FAIL Test driver promise_test: Unhandled rejection with value: object "Got an error during or right after parsing `interface AnimationWorkletGlobalScope`: No opening bracket after sequence, line 18 (tokens: ")? effects = null")
+[
+    {
+        "type": "partial",
+        "value": "partial",
+        "trivia": "// GENERATED CONTENT - DO NOT EDIT\n// Content of this file was automatically extracted from the\n// \"CSS Animation Worklet API\" spec.\n// See: https://wicg.github.io/animation-worklet/\n\n"
+    },
+    {
+        "type": "interface",
+        "value": "interface",
+        "trivia": " "
+    },
+    {
+        "type": "identifier",
+        "value": "Window",
+        "trivia": " "
+    },
+    {
+        "type": "{",
+        "value": "{",
+        "trivia": " "
+    },
+    {
+        "type": "[",
+        "value": "[",
+        "trivia": "\n    "
+    }
+]"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.js b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.js
new file mode 100644
index 0000000..9b1d75649
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.js
@@ -0,0 +1,16 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+'use strict';
+
+// https://wicg.github.io/animation-worklet/
+
+promise_test(async () => {
+  const idl = await (await fetch('/interfaces/animation-worklet.idl')).text();
+  const html = await (await fetch('/interfaces/html.idl')).text();
+  const idlArray = new IdlArray();
+  idlArray.add_idls(idl);
+  idlArray.add_dependency_idls(html);
+  idlArray.test();
+  done();
+}, 'Test driver');
diff --git a/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.worker-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.worker-expected.txt
new file mode 100644
index 0000000..d4ce18fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/animation-worklet/interfaces.any.worker-expected.txt
@@ -0,0 +1,31 @@
+This is a testharness.js-based test.
+FAIL Test driver promise_test: Unhandled rejection with value: object "Got an error during or right after parsing `interface AnimationWorkletGlobalScope`: No opening bracket after sequence, line 18 (tokens: ")? effects = null")
+[
+    {
+        "type": "partial",
+        "value": "partial",
+        "trivia": "// GENERATED CONTENT - DO NOT EDIT\n// Content of this file was automatically extracted from the\n// \"CSS Animation Worklet API\" spec.\n// See: https://wicg.github.io/animation-worklet/\n\n"
+    },
+    {
+        "type": "interface",
+        "value": "interface",
+        "trivia": " "
+    },
+    {
+        "type": "identifier",
+        "value": "Window",
+        "trivia": " "
+    },
+    {
+        "type": "{",
+        "value": "{",
+        "trivia": " "
+    },
+    {
+        "type": "[",
+        "value": "[",
+        "trivia": "\n    "
+    }
+]"
+Harness: the test ran to completion.
+
diff --git a/third_party/WebKit/LayoutTests/external/wpt/interfaces/animation-worklet.idl b/third_party/WebKit/LayoutTests/external/wpt/interfaces/animation-worklet.idl
new file mode 100644
index 0000000..762c443
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/interfaces/animation-worklet.idl
@@ -0,0 +1,36 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "CSS Animation Worklet API" spec.
+// See: https://wicg.github.io/animation-worklet/
+
+partial interface Window {
+    [SameObject] readonly attribute Worklet animationWorklet;
+};
+
+callback VoidFunction = void ();
+
+[ Exposed=AnimationWorklet, Global=AnimationWorklet ]
+interface AnimationWorkletGlobalScope : WorkletGlobalScope {
+    void registerAnimator(DOMString name, VoidFunction animatorCtor);
+};
+
+[Constructor (DOMString animatorName,
+              optional (AnimationEffectReadOnly or sequence)? effects = null,
+              optional AnimationTimeline? timeline,
+              optional any options)]
+interface WorkletAnimation : Animation {
+        readonly attribute DOMString animatorName;
+};
+
+
+interface WorkletGroupEffectReadOnly :  GroupEffectReadOnly {};
+
+interface WorkletGroupEffect :  WorkletGroupEffectReadOnly {};
+WorkletGroupEffect implements AnimationEffectMutable;
+WorkletGroupEffect implements GroupEffectMutable;
+
+[Exposed=AnimationWorklet]
+partial interface AnimationEffectReadOnly {
+    // Intended for use inside Animation Worklet scope to drive the effect.
+    attribute double localTime;
+};