2d.layer.malformed-operations.transferToImageBitmap

Check that exceptions are thrown for operations that are malformed while layers are open.