- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Apr 2022 07:04:52 +0000
- To: public-webrtc-logs@w3.org
Giving the general intent is fine but I would tend to add some explicit algorithm steps in the cropTo algorithm, something like: - get the document D of the element referenced by CropTarget - If D is null, reject promise and return. - get the active document T of the top level browsing context of the track source (we would need to update getDisplayMedia/getViewportMedia to add the browsing context as a slot/property of the track source) - If T is null, reject promise and return. - If D is not in the https://html.spec.whatwg.org/multipage/browsers.html#list-of-the-descendant-browsing-contexts of T, reject promise and return. - Continue cropping algorithm. -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-region/pull/41#issuecomment-1088339028 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 April 2022 07:04:53 UTC