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

I'm going to send a PR with this shape:
[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 using your GitHub account

Sent via github-notify-ml as configured in

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