blob: 7383d146622ab10b86e3a3ea1a8cd4db0dca4a61 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
Exposed=AnimationWorklet,
Global=(Worklet,AnimationWorklet),
OriginTrialEnabled=AnimationWorklet
] interface AnimationWorkletGlobalScope : WorkletGlobalScope {
[MeasureAs=AnimationWorkletRegisterAnimator, RaisesException] void registerAnimator(DOMString name, Function animatorConstructor);
};