- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Tue, 28 Sep 2021 09:30:05 +0000
- To: public-webrtc-logs@w3.org
> @youennf Sorry, but each `then` on the same promise introduces a microtask checkpoint. Each then returns a new promise, but this is fine. The idea is for the microtask used by User Agent to check for focus-or-not to be executed within the same event loop task but after the JS shim getDisplayMedia promise resolution callbacks. I think this is doable with the updated shim I provided, can you explain why it would not work? I tried to express my understanding/POC in https://jsfiddle.net/f0uqx8jg/. -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-929019792 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 28 September 2021 09:30:07 UTC