Tests for the Canvas.resolveContext command for WebGL contexts.