Re: [mediacapture-region] Should generation of CropTarget from elements be able to fail? (#48)

Creating a `{}` crop target should not fail, because it would be premature to allocate cropping resources at this point for anything other than as a _UA optimization_. Any page can create cropTargets at any point, with zero knowledge of whether they'll ever be captured, making for a highly unreliable signal that cropping is about to happen.

UA optimizations are encouraged, but carry [inherent complexity]( I sense a general understanding in the web platform that:
 1. good optimizations focus their efforts on typical cases, as not every corner case needs to be optimized
 2. web developers should be shielded from complexity of when and how optimizations happen (if they happen)
 3. We don't spec optimizations. As long as an API doesn't limit it, the burden is on UAs to optimize within the API

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Friday, 10 June 2022 14:53:54 UTC