2d.layer.putImageData

Check that calling putImageData in a layer throws an exception.