Update web-platform-tests to revision 786fc058fd83cbf002be3a35100ab2a3b1f98d58

This commit is contained in:
WPT Sync Bot 2019-09-20 10:34:03 +00:00
parent 748fa72320
commit d38b1c8241
76 changed files with 1323 additions and 174 deletions

View file

@ -31,12 +31,13 @@ partial interface Navigator {
sequence<Gamepad?> getGamepads();
};
[Constructor(DOMString type, GamepadEventInit eventInitDict), Exposed=Window]
[Exposed=Window]
interface GamepadEvent : Event {
interface GamepadEvent: Event {
constructor(DOMString type, GamepadEventInit eventInitDict);
[SameObject] readonly attribute Gamepad gamepad;
};
dictionary GamepadEventInit : EventInit {
dictionary GamepadEventInit: EventInit {
required Gamepad gamepad;
};

View file

@ -39,8 +39,9 @@ interface MediaSession {
void setPositionState(optional MediaPositionState? state);
};
[Constructor(optional MediaMetadataInit init), Exposed=Window]
[Exposed=Window]
interface MediaMetadata {
constructor(optional MediaMetadataInit init = {});
attribute DOMString title;
attribute DOMString artist;
attribute DOMString album;

View file

@ -109,7 +109,10 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
DOMString localId;
double roundTripTime;
double totalRoundTripTime;
double fractionLost;
unsigned long long reportsReceived;
unsigned long long roundTripTimeMeasurements;
};
dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
@ -165,6 +168,7 @@ enum RTCQualityLimitationReason {
dictionary RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats {
DOMString localId;
DOMHighResTimeStamp remoteTimestamp;
unsigned long long reportsSent;
};
dictionary RTCMediaSourceStats : RTCStats {