- From: Elad Alon via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Dec 2023 09:15:02 +0000
- To: public-webrtc-logs@w3.org
> 1. Throwing on options that some browsers may parse and others may not adds unnecessary web compat headaches This issue would only affect the user agents that *did* implement the spec. Those that don't - like the current versions of Safari and Firefox - won't be adversely affected. > 2. A parsing requirement would make implementations non-conformant (these are optional to implement modulo #290) Would you prefer it if we used `MAY`? Or possibly we could say that the UA `MUST` throw if it implemented the hints and `MUST NOT` otherwise. > 3. "Preferences" are generally understood to be just that — saved and not tailored to every single use of them If the UA does not warn developers when they provide self-contradictory sets of preferences, the behavior the UA exhibits will be surprising to some of them. And note that *users* will be impacted too when developers fail to correct their programs to exhibit scenario-appropriate behaviors. > 4. A preference "conflict" in one browser may make sense in another In theory, about the future, maybe. In practice, looking at the exact cases I have shown here, no. (Think otherwise? Let me know.) > I want zero apples, all green. One of my kids is 3 years old. If I gave him a bag with "zero candy, all of your favorite type," he would be upset. Given his age, I would even add "rightfully upset" - why would I mislead him like that? And **this applies to developers too**. Bugs happen when constraints+options are programmatically set. It's better to fail loudly than silently. > Not every combination needs to be useful as long as it's deterministic. It's more deterministic across browsers and browser versions if we specify what happens. -- GitHub Notification of comment by eladalon1983 Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/276#issuecomment-1853535228 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 December 2023 09:15:04 UTC