[Exposed=(Window,Worker)]
interface CanvasGradient {
    // opaque object
    undefined addColorStop(double offset, DOMString color);
};