зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1476847 [wpt PR 12063] - [animationworklet] Move global from window to CSS namespace, a=testonly
Automatic update from web-platform-tests[animationworklet] Move global from window to CSS namespace The interesting changes are in css_animation_worklet.idl - change AW to be static attribute on partial CSS interface. - explicitly asking binding to pass in ScriptState since window is no longer available. This means changing few function that used to take ExecutionContext to take ScriptState. There rest are automated renames from Window.animationWorklet => CSS.animationWorklet WindowAnimationWorklet => CSSAnimationWorklet Bug: 865017 Change-Id: Ic89dc50a027ca225f5e19d9d9dc6b38a8aef7a7d Reviewed-on: https://chromium-review.googlesource.com/1142372 Commit-Queue: Majid Valipour <majidvp@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#576555} -- wpt-commits: dee866498441512a1ea1ff4c3a7d869c811fac3e wpt-pr: 12063
This commit is contained in:
Родитель
d249b15c82
Коммит
ed77dfa1fe
|
@ -632062,7 +632062,7 @@
|
|||
"support"
|
||||
],
|
||||
"worklets/resources/worklet-test-utils.js": [
|
||||
"2984dfb09c88d7a1831a60d62c64c9b2ec2f6673",
|
||||
"9780327cac557554ac8f4568dcbf2ec1145229ef",
|
||||
"support"
|
||||
],
|
||||
"x-frame-options/META.yml": [
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Returns a reference to a worklet object corresponding to a given type.
|
||||
function get_worklet(type) {
|
||||
if (type == 'animation')
|
||||
return window.animationWorklet;
|
||||
return CSS.animationWorklet;
|
||||
if (type == 'layout')
|
||||
return CSS.layoutWorklet;
|
||||
if (type == 'paint')
|
||||
|
|
Загрузка…
Ссылка в новой задаче