HomePhabricator Dev

Bug 1016482. Fix broken createPattern test. r=jgraham

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Bug 1016482. Fix broken createPattern test. r=jgraham

Per spec, createPattern does not throw an InvalidStateError if the image's dimensions have been determined. The "broken" image this test uses has a valid headed and dimensions, but invalid image data so it does not cause InvalidStateError to be thrown, per spec; instead it causes null to be returned.

Differential Revision: https://phabricator.services.mozilla.com/D63030

Details

Provenance
bzbarskyAuthored on

Commit No Longer Exists

This commit no longer exists in the repository.