| Commit-Queue | +1 |
public Supplement<HTMLMediaCaptureElementBase> {Updated this to adhere to Blink's pattern of anchoring supplements to the root Supplementable<T> class.
// Copyright 2026 The Chromium AuthorsGerrit doesn't pick up but this is just a renamed file.
if (self.DidSetConstraints()) {@Thomas: Should we allow overwriting constraints_?
If a web developer calls cam.setConstraints(...) multiple times before the user clicks the <usermedia> element (for example, updating { deviceId: ... } when a user selects a different camera in a UI dropdown), any call after the first is silently ignored.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (self.DidSetConstraints()) {@Thomas: Should we allow overwriting constraints_?
If a web developer calls cam.setConstraints(...) multiple times before the user clicks the <usermedia> element (for example, updating { deviceId: ... } when a user selects a different camera in a UI dropdown), any call after the first is silently ignored.
Yeah, that make senses, as we moved the filter calling right before handling click
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (self.DidSetConstraints()) {Thomas Nguyen@Thomas: Should we allow overwriting constraints_?
If a web developer calls cam.setConstraints(...) multiple times before the user clicks the <usermedia> element (for example, updating { deviceId: ... } when a user selects a different camera in a UI dropdown), any call after the first is silently ignored.
Yeah, that make senses, as we moved the filter calling right before handling click
I am open to either doing this now or handling it in a follow-up discussion. It's up to you.