Re: [mediacapture-region] Why expose produceCropTarget at MediaDevices level? (#11)

I'm going to send a PR with this shape:
```webidl
[Exposed=(Window,Worker), Serializable]
interface CropTarget {
  [SecureContext] static Promise<CropTarget> fromElement(Element element);
};
```
This ensures the delta from the current spec is purely in the point of exposure (from MediaDevices objects to a static method of CropTarget.)

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/11#issuecomment-1132863457 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 May 2022 12:48:50 UTC