Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the toBlob() callback argument non-nullable
As implemented in Gecko, it's not nullable, so this throws: document.createElement('canvas').toBlob(null) Passing in null also doesn't make sense, as with no callback you have no way of getting the Blob, so it must be a programmer error.
- Loading branch information