mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Add support for default dict values being boolean, use in MediaStreamConstraints
This commit is contained in:
parent
caa05948bf
commit
ce635b715b
2 changed files with 11 additions and 5 deletions
|
@ -23,10 +23,8 @@ partial interface MediaDevices {
|
|||
|
||||
|
||||
dictionary MediaStreamConstraints {
|
||||
(boolean or MediaTrackConstraints) video;
|
||||
// (boolean or MediaTrackConstraints) video = false;
|
||||
(boolean or MediaTrackConstraints) audio;
|
||||
// (boolean or MediaTrackConstraints) audio = false;
|
||||
(boolean or MediaTrackConstraints) video = false;
|
||||
(boolean or MediaTrackConstraints) audio = false;
|
||||
};
|
||||
|
||||
dictionary DoubleRange {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue