Re: [mediacapture-screen-share] Conditional Focus (When Display-Capture Starts) (#190)

On Firefox for Android on my Samsung S9 I get
```
tasks / setTimeout(100ms) = 1301
tasks / ms = 12.88
```
That's 12 tasks per _millisecond_ on a 3½ year-old phone. The math doesn't seem to add up to anything UX-observable. Not even close.

Also you haven't addressed the problems I raised. The only proposal that doesn't break [fundamental expectations](https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-929491274) is option 2.

We're talking about delaying when browsers focus a window by 83 microseconds average from the time the user accepts a prompt, so JS can have a chance to override focus.

> ... browsers might want to sneak a few input events between the two tasks, especially when CPU is loaded.

If you consider this an interoperability issue, you should raise an issue on the JS event loop model.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/190#issuecomment-929678407 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 22:46:06 UTC