blob: 6f81d3e1fc78b38396cd7103356d809c5a098f6f [file] [log] [blame]
// https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animation-frames
callback FrameRequestCallback = undefined (DOMHighResTimeStamp time);
interface mixin AnimationFrameProvider {
[Throws] long requestAnimationFrame(FrameRequestCallback callback);
[Throws] undefined cancelAnimationFrame(long handle);
};
Window includes AnimationFrameProvider;
DedicatedWorkerGlobalScope includes AnimationFrameProvider;