mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Require default dictionary value for optional dicts
This commit is contained in:
parent
56f31c85ef
commit
01151274f1
71 changed files with 105 additions and 98 deletions
|
@ -18,7 +18,7 @@ partial interface Navigator {
|
|||
|
||||
partial interface MediaDevices {
|
||||
// MediaTrackSupportedConstraints getSupportedConstraints();
|
||||
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints);
|
||||
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints = {});
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue