w3c/web-platform-tests — pull request #851 by takenspc (2014-04-12 02:28:23+00:00)
Title: Add tests that check addHitRegion throws NotSupportedError

addHitRegion throws NotSupportedError when the path has no pixels.
And there are few methods on Canvas2D Context which render shapes and not affect the current path.

These tests check combination of addHitRegion and such methods.

I tested these with Mozilla Firefox nightly 31.0a1 (2014-04-08).