W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2022

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

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 May 2022 16:35:06 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1130238475-1652891704-sysbot+gh@w3.org>
> This would be the **first time** we introduce this pattern to the Web Platform.

I don't think that's accurate. We just specced `Response.json()`; there are tons of such factory methods in CSS Typed OM (e.g. `CSSStyleValue.parse()`) and the Geometry spec (e.g. `DOMMatrix.fromFloat32Array()`), ... This is a pretty standard pattern by now, and a good one IMO.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 May 2022 16:35:08 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:57 UTC