Handle invalid snapshot data
Instead of returning an error webkit returns a surface without data if the region is too large. Let's handle error those error cases and exit graceful.
Fixes: #1282 (closed)
Instead of returning an error webkit returns a surface without data if the region is too large. Let's handle error those error cases and exit graceful.
Fixes: #1282 (closed)