test canvas support by canvas.getContext