- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Wed, 18 May 2022 13:08:28 +0000
- To: public-webrtc-logs@w3.org
If I understand correctly, we would get something like this: A static method from an interface that would return the interface.
```json5
[
  SecureContext,
  Exposed=(Window,Worker),
  Serializable
] interface CropTarget {
  static Promise<CropTarget> fromElement(Element element);
};
```
This would be the **first time** we introduce this pattern to the Web Platform.
It feels weird from a web developer perspective.
-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/11#issuecomment-1129996231 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 13:08:29 UTC