// https://html.spec.whatwg.org/multipage/canvas.html#canvasstate interface mixin CanvasState { undefined save(); undefined restore(); undefined reset(); boolean isContextLost(); };