mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update web-platform-tests to revision 4688078c2cc6e81651b220f3c1944d956f63046b
This commit is contained in:
parent
e7b65c42c4
commit
ce9f8f32f1
53 changed files with 1900 additions and 88 deletions
|
@ -11,13 +11,19 @@ enum WakeLockType { "screen", "system" };
|
|||
|
||||
[Constructor(WakeLockType type), SecureContext, Exposed=(DedicatedWorker,Window)]
|
||||
interface WakeLock : EventTarget {
|
||||
[Exposed=Window] static Promise<PermissionState> requestPermission(WakeLockType type);
|
||||
readonly attribute WakeLockType type;
|
||||
readonly attribute boolean active;
|
||||
attribute EventHandler onactivechange;
|
||||
Promise<void> request(optional WakeLockRequestOptions options);
|
||||
static sequence<WakeLock> query(optional WakeLockQueryFilter filter);
|
||||
[Exposed=Window] static Promise<PermissionState> requestPermission(WakeLockType type);
|
||||
};
|
||||
|
||||
dictionary WakeLockRequestOptions {
|
||||
AbortSignal? signal;
|
||||
};
|
||||
|
||||
dictionary WakeLockQueryFilter {
|
||||
WakeLockType? type;
|
||||
boolean? active;
|
||||
};
|
||||
|
|
|
@ -102,7 +102,10 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|||
DOMString senderId;
|
||||
DOMString remoteId;
|
||||
DOMHighResTimeStamp lastPacketSentTimestamp;
|
||||
unsigned long long retransmittedPacketsSent;
|
||||
unsigned long long retransmittedBytesSent;
|
||||
double targetBitrate;
|
||||
unsigned long long totalEncodedBytesTarget;
|
||||
unsigned long framesEncoded;
|
||||
unsigned long long qpSum;
|
||||
double totalEncodeTime;
|
||||
|
|
|
@ -188,6 +188,13 @@ interface XRInputSource {
|
|||
readonly attribute XRTargetRayMode targetRayMode;
|
||||
readonly attribute XRSpace targetRaySpace;
|
||||
readonly attribute XRSpace? gripSpace;
|
||||
readonly attribute Gamepad? gamepad;
|
||||
};
|
||||
|
||||
enum GamepadMappingType {
|
||||
"", // Defined in the Gamepad API
|
||||
"standard", // Defined in the Gamepad API
|
||||
"xr-standard",
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window] interface XRLayer {};
|
||||
|
@ -254,11 +261,13 @@ dictionary XRSessionEventInit : EventInit {
|
|||
interface XRInputSourceEvent : Event {
|
||||
readonly attribute XRFrame frame;
|
||||
readonly attribute XRInputSource inputSource;
|
||||
readonly attribute long? buttonIndex;
|
||||
};
|
||||
|
||||
dictionary XRInputSourceEventInit : EventInit {
|
||||
required XRFrame frame;
|
||||
required XRInputSource inputSource;
|
||||
long? buttonIndex = null;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window, Constructor(DOMString type, XRReferenceSpaceEventInit eventInitDict)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue