2d.canvas.context.unrecognised.badname

getContext with unrecognised context name returns null