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

Re: [mediacapture-region] CropTarget.fromElement should not be exposed to workers (#64)

From: Elad Alon via GitHub <sysbot+gh@w3.org>
Date: Thu, 09 Jun 2022 09:05:17 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1150864760-1654765514-sysbot+gh@w3.org>
I am 100% supportive. I did not mention it myself because `Element` is not exposed in workers (see [here](https://dom.spec.whatwg.org/#interface-element)). This means `fromElement()` cannot be validly called in workers anyway. But not exposing it sgtm.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 9 June 2022 09:05:19 UTC

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