blob: 48c526cecf2f23ea3d178669f7d8f91a040d5cd9 [file] [log] [blame]
Tests for the Canvas.resolveContext command for 2D contexts.
== Running test suite: Canvas.resolveContext2D
-- Running test case: Canvas.resolveContext2D.validIdentifier
PASS: Payload should have type "object".
PASS: Payload should have className "CanvasRenderingContext2D".
-- Running test case: Canvas.resolveContext.invalidIdentifier
PASS: Should produce an error.
Error: Missing canvas for given canvasId