Test for crbug.com/279445: createPattern should synchronously snapshot an animating image.
This test passes if there is a blue square below:

And a green square below: