mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision cfada7e6cb379699fa94c7ed8fcb97082327e10c
This commit is contained in:
parent
87e7e3d429
commit
06b00da16b
179 changed files with 6103 additions and 1186 deletions
|
@ -17,7 +17,6 @@ enum SupportedType {
|
|||
};
|
||||
|
||||
[Constructor, Exposed=Window]
|
||||
|
||||
interface XMLSerializer {
|
||||
DOMString serializeToString(Node root);
|
||||
};
|
||||
|
|
|
@ -8,16 +8,6 @@ partial namespace CSS {
|
|||
[SameObject] readonly attribute Worklet animationWorklet;
|
||||
};
|
||||
|
||||
[Exposed=AnimationWorklet, Global=AnimationWorklet, Constructor (optional any options)]
|
||||
interface StatelessAnimator {
|
||||
};
|
||||
|
||||
[Exposed=AnimationWorklet, Global=AnimationWorklet,
|
||||
Constructor (optional any options, optional any state)]
|
||||
interface StatefulAnimator {
|
||||
any state();
|
||||
};
|
||||
|
||||
[ Global=(Worklet,AnimationWorklet), Exposed=AnimationWorklet ]
|
||||
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
|
||||
void registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor);
|
||||
|
|
|
@ -4,55 +4,54 @@
|
|||
// Source: Geolocation API Specification 2nd Edition (https://www.w3.org/TR/geolocation-API/)
|
||||
|
||||
partial interface Navigator {
|
||||
readonly attribute Geolocation geolocation;
|
||||
};
|
||||
readonly attribute Geolocation geolocation;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface Geolocation {
|
||||
interface Geolocation {
|
||||
void getCurrentPosition(PositionCallback successCallback,
|
||||
optional PositionErrorCallback errorCallback,
|
||||
optional PositionOptions options);
|
||||
|
||||
void getCurrentPosition(PositionCallback successCallback,
|
||||
optional PositionErrorCallback errorCallback,
|
||||
optional PositionOptions options);
|
||||
long watchPosition(PositionCallback successCallback,
|
||||
optional PositionErrorCallback errorCallback,
|
||||
optional PositionOptions options);
|
||||
|
||||
long watchPosition(PositionCallback successCallback,
|
||||
optional PositionErrorCallback errorCallback,
|
||||
optional PositionOptions options);
|
||||
void clearWatch(long watchId);
|
||||
};
|
||||
|
||||
void clearWatch(long watchId);
|
||||
};
|
||||
callback PositionCallback = void (Position position);
|
||||
|
||||
callback PositionCallback = void (Position position);
|
||||
|
||||
callback PositionErrorCallback = void (PositionError positionError);
|
||||
callback PositionErrorCallback = void (PositionError positionError);
|
||||
|
||||
dictionary PositionOptions {
|
||||
boolean enableHighAccuracy = false;
|
||||
[Clamp] unsigned long timeout = 0xFFFFFFFF;
|
||||
[Clamp] unsigned long maximumAge = 0;
|
||||
};
|
||||
boolean enableHighAccuracy = false;
|
||||
[Clamp] unsigned long timeout = 0xFFFFFFFF;
|
||||
[Clamp] unsigned long maximumAge = 0;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface Position {
|
||||
readonly attribute Coordinates coords;
|
||||
readonly attribute DOMTimeStamp timestamp;
|
||||
};
|
||||
interface Position {
|
||||
readonly attribute Coordinates coords;
|
||||
readonly attribute DOMTimeStamp timestamp;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface Coordinates {
|
||||
readonly attribute double latitude;
|
||||
readonly attribute double longitude;
|
||||
readonly attribute double? altitude;
|
||||
readonly attribute double accuracy;
|
||||
readonly attribute double? altitudeAccuracy;
|
||||
readonly attribute double? heading;
|
||||
readonly attribute double? speed;
|
||||
};
|
||||
interface Coordinates {
|
||||
readonly attribute double latitude;
|
||||
readonly attribute double longitude;
|
||||
readonly attribute double? altitude;
|
||||
readonly attribute double accuracy;
|
||||
readonly attribute double? altitudeAccuracy;
|
||||
readonly attribute double? heading;
|
||||
readonly attribute double? speed;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
interface PositionError {
|
||||
const unsigned short PERMISSION_DENIED = 1;
|
||||
const unsigned short POSITION_UNAVAILABLE = 2;
|
||||
const unsigned short TIMEOUT = 3;
|
||||
readonly attribute unsigned short code;
|
||||
readonly attribute DOMString message;
|
||||
};
|
||||
interface PositionError {
|
||||
const unsigned short PERMISSION_DENIED = 1;
|
||||
const unsigned short POSITION_UNAVAILABLE = 2;
|
||||
const unsigned short TIMEOUT = 3;
|
||||
readonly attribute unsigned short code;
|
||||
readonly attribute DOMString message;
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Media Capabilities (https://wicg.github.io/media-capabilities/)
|
||||
// Source: Media Capabilities (https://w3c.github.io/media-capabilities/)
|
||||
|
||||
dictionary MediaConfiguration {
|
||||
VideoConfiguration video;
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Media Playback Quality (https://w3c.github.io/media-playback-quality/)
|
||||
|
||||
partial interface HTMLVideoElement {
|
||||
VideoPlaybackQuality getVideoPlaybackQuality();
|
||||
};
|
||||
|
||||
interface VideoPlaybackQuality {
|
||||
readonly attribute DOMHighResTimeStamp creationTime;
|
||||
readonly attribute unsigned long corruptedVideoFrames;
|
||||
readonly attribute unsigned long droppedVideoFrames;
|
||||
readonly attribute unsigned long totalVideoFrames;
|
||||
};
|
|
@ -8,185 +8,184 @@
|
|||
Constructor(MediaStream stream),
|
||||
Constructor(sequence<MediaStreamTrack> tracks)]
|
||||
interface MediaStream : EventTarget {
|
||||
readonly attribute DOMString id;
|
||||
sequence<MediaStreamTrack> getAudioTracks();
|
||||
sequence<MediaStreamTrack> getVideoTracks();
|
||||
sequence<MediaStreamTrack> getTracks();
|
||||
MediaStreamTrack? getTrackById(DOMString trackId);
|
||||
void addTrack(MediaStreamTrack track);
|
||||
void removeTrack(MediaStreamTrack track);
|
||||
MediaStream clone();
|
||||
readonly attribute boolean active;
|
||||
attribute EventHandler onaddtrack;
|
||||
attribute EventHandler onremovetrack;
|
||||
readonly attribute DOMString id;
|
||||
sequence<MediaStreamTrack> getAudioTracks();
|
||||
sequence<MediaStreamTrack> getVideoTracks();
|
||||
sequence<MediaStreamTrack> getTracks();
|
||||
MediaStreamTrack? getTrackById(DOMString trackId);
|
||||
void addTrack(MediaStreamTrack track);
|
||||
void removeTrack(MediaStreamTrack track);
|
||||
MediaStream clone();
|
||||
readonly attribute boolean active;
|
||||
attribute EventHandler onaddtrack;
|
||||
attribute EventHandler onremovetrack;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface MediaStreamTrack : EventTarget {
|
||||
readonly attribute DOMString kind;
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute DOMString label;
|
||||
attribute boolean enabled;
|
||||
readonly attribute boolean muted;
|
||||
attribute EventHandler onmute;
|
||||
attribute EventHandler onunmute;
|
||||
readonly attribute MediaStreamTrackState readyState;
|
||||
attribute EventHandler onended;
|
||||
MediaStreamTrack clone();
|
||||
void stop();
|
||||
MediaTrackCapabilities getCapabilities();
|
||||
MediaTrackConstraints getConstraints();
|
||||
MediaTrackSettings getSettings();
|
||||
Promise<void> applyConstraints(optional MediaTrackConstraints constraints);
|
||||
readonly attribute DOMString kind;
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute DOMString label;
|
||||
attribute boolean enabled;
|
||||
readonly attribute boolean muted;
|
||||
attribute EventHandler onmute;
|
||||
attribute EventHandler onunmute;
|
||||
readonly attribute MediaStreamTrackState readyState;
|
||||
attribute EventHandler onended;
|
||||
MediaStreamTrack clone();
|
||||
void stop();
|
||||
MediaTrackCapabilities getCapabilities();
|
||||
MediaTrackConstraints getConstraints();
|
||||
MediaTrackSettings getSettings();
|
||||
Promise<void> applyConstraints(optional MediaTrackConstraints constraints);
|
||||
};
|
||||
|
||||
enum MediaStreamTrackState {
|
||||
"live",
|
||||
"ended"
|
||||
"live",
|
||||
"ended"
|
||||
};
|
||||
|
||||
dictionary MediaTrackSupportedConstraints {
|
||||
boolean width = true;
|
||||
boolean height = true;
|
||||
boolean aspectRatio = true;
|
||||
boolean frameRate = true;
|
||||
boolean facingMode = true;
|
||||
boolean resizeMode = true;
|
||||
boolean sampleRate = true;
|
||||
boolean sampleSize = true;
|
||||
boolean echoCancellation = true;
|
||||
boolean autoGainControl = true;
|
||||
boolean noiseSuppression = true;
|
||||
boolean latency = true;
|
||||
boolean channelCount = true;
|
||||
boolean deviceId = true;
|
||||
boolean groupId = true;
|
||||
boolean width = true;
|
||||
boolean height = true;
|
||||
boolean aspectRatio = true;
|
||||
boolean frameRate = true;
|
||||
boolean facingMode = true;
|
||||
boolean resizeMode = true;
|
||||
boolean sampleRate = true;
|
||||
boolean sampleSize = true;
|
||||
boolean echoCancellation = true;
|
||||
boolean autoGainControl = true;
|
||||
boolean noiseSuppression = true;
|
||||
boolean latency = true;
|
||||
boolean channelCount = true;
|
||||
boolean deviceId = true;
|
||||
boolean groupId = true;
|
||||
};
|
||||
|
||||
dictionary MediaTrackCapabilities {
|
||||
ULongRange width;
|
||||
ULongRange height;
|
||||
DoubleRange aspectRatio;
|
||||
DoubleRange frameRate;
|
||||
sequence<DOMString> facingMode;
|
||||
sequence<DOMString> resizeMode;
|
||||
ULongRange sampleRate;
|
||||
ULongRange sampleSize;
|
||||
sequence<boolean> echoCancellation;
|
||||
sequence<boolean> autoGainControl;
|
||||
sequence<boolean> noiseSuppression;
|
||||
DoubleRange latency;
|
||||
ULongRange channelCount;
|
||||
DOMString deviceId;
|
||||
DOMString groupId;
|
||||
ULongRange width;
|
||||
ULongRange height;
|
||||
DoubleRange aspectRatio;
|
||||
DoubleRange frameRate;
|
||||
sequence<DOMString> facingMode;
|
||||
sequence<DOMString> resizeMode;
|
||||
ULongRange sampleRate;
|
||||
ULongRange sampleSize;
|
||||
sequence<boolean> echoCancellation;
|
||||
sequence<boolean> autoGainControl;
|
||||
sequence<boolean> noiseSuppression;
|
||||
DoubleRange latency;
|
||||
ULongRange channelCount;
|
||||
DOMString deviceId;
|
||||
DOMString groupId;
|
||||
};
|
||||
|
||||
dictionary MediaTrackConstraints : MediaTrackConstraintSet {
|
||||
sequence<MediaTrackConstraintSet> advanced;
|
||||
sequence<MediaTrackConstraintSet> advanced;
|
||||
};
|
||||
|
||||
dictionary MediaTrackConstraintSet {
|
||||
ConstrainULong width;
|
||||
ConstrainULong height;
|
||||
ConstrainDouble aspectRatio;
|
||||
ConstrainDouble frameRate;
|
||||
ConstrainDOMString facingMode;
|
||||
ConstrainDOMString resizeMode;
|
||||
ConstrainULong sampleRate;
|
||||
ConstrainULong sampleSize;
|
||||
ConstrainBoolean echoCancellation;
|
||||
ConstrainBoolean autoGainControl;
|
||||
ConstrainBoolean noiseSuppression;
|
||||
ConstrainDouble latency;
|
||||
ConstrainULong channelCount;
|
||||
ConstrainDOMString deviceId;
|
||||
ConstrainDOMString groupId;
|
||||
ConstrainULong width;
|
||||
ConstrainULong height;
|
||||
ConstrainDouble aspectRatio;
|
||||
ConstrainDouble frameRate;
|
||||
ConstrainDOMString facingMode;
|
||||
ConstrainDOMString resizeMode;
|
||||
ConstrainULong sampleRate;
|
||||
ConstrainULong sampleSize;
|
||||
ConstrainBoolean echoCancellation;
|
||||
ConstrainBoolean autoGainControl;
|
||||
ConstrainBoolean noiseSuppression;
|
||||
ConstrainDouble latency;
|
||||
ConstrainULong channelCount;
|
||||
ConstrainDOMString deviceId;
|
||||
ConstrainDOMString groupId;
|
||||
};
|
||||
|
||||
dictionary MediaTrackSettings {
|
||||
long width;
|
||||
long height;
|
||||
double aspectRatio;
|
||||
double frameRate;
|
||||
DOMString facingMode;
|
||||
DOMString resizeMode;
|
||||
long sampleRate;
|
||||
long sampleSize;
|
||||
boolean echoCancellation;
|
||||
boolean autoGainControl;
|
||||
boolean noiseSuppression;
|
||||
double latency;
|
||||
long channelCount;
|
||||
DOMString deviceId;
|
||||
DOMString groupId;
|
||||
long width;
|
||||
long height;
|
||||
double aspectRatio;
|
||||
double frameRate;
|
||||
DOMString facingMode;
|
||||
DOMString resizeMode;
|
||||
long sampleRate;
|
||||
long sampleSize;
|
||||
boolean echoCancellation;
|
||||
boolean autoGainControl;
|
||||
boolean noiseSuppression;
|
||||
double latency;
|
||||
long channelCount;
|
||||
DOMString deviceId;
|
||||
DOMString groupId;
|
||||
};
|
||||
|
||||
enum VideoFacingModeEnum {
|
||||
"user",
|
||||
"environment",
|
||||
"left",
|
||||
"right"
|
||||
"user",
|
||||
"environment",
|
||||
"left",
|
||||
"right"
|
||||
};
|
||||
|
||||
enum VideoResizeModeEnum {
|
||||
"none",
|
||||
"crop-and-scale"
|
||||
"none",
|
||||
"crop-and-scale"
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict)]
|
||||
[Exposed=Window, Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict)]
|
||||
interface MediaStreamTrackEvent : Event {
|
||||
[SameObject]
|
||||
readonly attribute MediaStreamTrack track;
|
||||
[SameObject] readonly attribute MediaStreamTrack track;
|
||||
};
|
||||
|
||||
dictionary MediaStreamTrackEventInit : EventInit {
|
||||
required MediaStreamTrack track;
|
||||
required MediaStreamTrack track;
|
||||
};
|
||||
|
||||
partial interface Navigator {
|
||||
[SameObject, SecureContext]
|
||||
readonly attribute MediaDevices mediaDevices;
|
||||
[SameObject, SecureContext] readonly attribute MediaDevices mediaDevices;
|
||||
};
|
||||
|
||||
[Exposed=Window, SecureContext]
|
||||
interface MediaDevices : EventTarget {
|
||||
attribute EventHandler ondevicechange;
|
||||
Promise<sequence<MediaDeviceInfo>> enumerateDevices();
|
||||
attribute EventHandler ondevicechange;
|
||||
Promise<sequence<MediaDeviceInfo>> enumerateDevices();
|
||||
};
|
||||
|
||||
[Exposed=Window, SecureContext]
|
||||
interface MediaDeviceInfo {
|
||||
readonly attribute DOMString deviceId;
|
||||
readonly attribute MediaDeviceKind kind;
|
||||
readonly attribute DOMString label;
|
||||
readonly attribute DOMString groupId;
|
||||
[Default] object toJSON();
|
||||
readonly attribute DOMString deviceId;
|
||||
readonly attribute MediaDeviceKind kind;
|
||||
readonly attribute DOMString label;
|
||||
readonly attribute DOMString groupId;
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
enum MediaDeviceKind {
|
||||
"audioinput",
|
||||
"audiooutput",
|
||||
"videoinput"
|
||||
"audioinput",
|
||||
"audiooutput",
|
||||
"videoinput"
|
||||
};
|
||||
|
||||
[Exposed=Window] interface InputDeviceInfo : MediaDeviceInfo {
|
||||
MediaTrackCapabilities getCapabilities();
|
||||
[Exposed=Window]
|
||||
interface InputDeviceInfo : MediaDeviceInfo {
|
||||
MediaTrackCapabilities getCapabilities();
|
||||
};
|
||||
|
||||
partial interface Navigator {
|
||||
[SecureContext]
|
||||
void getUserMedia(MediaStreamConstraints constraints, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback);
|
||||
[SecureContext] void getUserMedia(MediaStreamConstraints constraints,
|
||||
NavigatorUserMediaSuccessCallback successCallback,
|
||||
NavigatorUserMediaErrorCallback errorCallback);
|
||||
};
|
||||
|
||||
partial interface MediaDevices {
|
||||
MediaTrackSupportedConstraints getSupportedConstraints();
|
||||
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints);
|
||||
MediaTrackSupportedConstraints getSupportedConstraints();
|
||||
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints);
|
||||
};
|
||||
|
||||
dictionary MediaStreamConstraints {
|
||||
(boolean or MediaTrackConstraints) video = false;
|
||||
(boolean or MediaTrackConstraints) audio = false;
|
||||
(boolean or MediaTrackConstraints) video = false;
|
||||
(boolean or MediaTrackConstraints) audio = false;
|
||||
};
|
||||
|
||||
callback NavigatorUserMediaSuccessCallback = void (MediaStream stream);
|
||||
|
@ -196,33 +195,33 @@ callback NavigatorUserMediaErrorCallback = void (MediaStreamError error);
|
|||
typedef object MediaStreamError;
|
||||
|
||||
dictionary DoubleRange {
|
||||
double max;
|
||||
double min;
|
||||
double max;
|
||||
double min;
|
||||
};
|
||||
|
||||
dictionary ConstrainDoubleRange : DoubleRange {
|
||||
double exact;
|
||||
double ideal;
|
||||
double exact;
|
||||
double ideal;
|
||||
};
|
||||
|
||||
dictionary ULongRange {
|
||||
[Clamp] unsigned long max;
|
||||
[Clamp] unsigned long min;
|
||||
[Clamp] unsigned long max;
|
||||
[Clamp] unsigned long min;
|
||||
};
|
||||
|
||||
dictionary ConstrainULongRange : ULongRange {
|
||||
[Clamp] unsigned long exact;
|
||||
[Clamp] unsigned long ideal;
|
||||
[Clamp] unsigned long exact;
|
||||
[Clamp] unsigned long ideal;
|
||||
};
|
||||
|
||||
dictionary ConstrainBooleanParameters {
|
||||
boolean exact;
|
||||
boolean ideal;
|
||||
boolean exact;
|
||||
boolean ideal;
|
||||
};
|
||||
|
||||
dictionary ConstrainDOMStringParameters {
|
||||
(DOMString or sequence<DOMString>) exact;
|
||||
(DOMString or sequence<DOMString>) ideal;
|
||||
(DOMString or sequence<DOMString>) exact;
|
||||
(DOMString or sequence<DOMString>) ideal;
|
||||
};
|
||||
|
||||
typedef ([Clamp] unsigned long or ConstrainULongRange) ConstrainULong;
|
||||
|
@ -231,17 +230,16 @@ typedef (double or ConstrainDoubleRange) ConstrainDouble;
|
|||
|
||||
typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
|
||||
|
||||
typedef (DOMString or sequence<DOMString> or ConstrainDOMStringParameters) ConstrainDOMString;
|
||||
typedef (DOMString or
|
||||
sequence<DOMString> or
|
||||
ConstrainDOMStringParameters) ConstrainDOMString;
|
||||
|
||||
dictionary Capabilities {
|
||||
};
|
||||
dictionary Capabilities {};
|
||||
|
||||
dictionary Settings {
|
||||
};
|
||||
dictionary Settings {};
|
||||
|
||||
dictionary ConstraintSet {
|
||||
};
|
||||
dictionary ConstraintSet {};
|
||||
|
||||
dictionary Constraints : ConstraintSet {
|
||||
sequence<ConstraintSet> advanced;
|
||||
sequence<ConstraintSet> advanced;
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Media Session Standard (https://wicg.github.io/mediasession/)
|
||||
// Source: Media Session Standard (https://w3c.github.io/mediasession/)
|
||||
|
||||
[Exposed=Window]
|
||||
partial interface Navigator {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Payment Request API (https://w3c.github.io/payment-request/)
|
||||
|
||||
[Constructor(sequence<PaymentMethodData> methodData, PaymentDetailsInit details, optional PaymentOptions options),
|
||||
[Constructor(sequence<PaymentMethodData> methodData, PaymentDetailsInit details, optional PaymentOptions options = {}),
|
||||
SecureContext, Exposed=Window]
|
||||
interface PaymentRequest : EventTarget {
|
||||
[NewObject]
|
||||
|
@ -138,7 +138,7 @@ enum PaymentComplete {
|
|||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface PaymentResponse : EventTarget {
|
||||
interface PaymentResponse : EventTarget {
|
||||
[Default] object toJSON();
|
||||
|
||||
readonly attribute DOMString requestId;
|
||||
|
@ -153,7 +153,7 @@ interface PaymentResponse : EventTarget {
|
|||
[NewObject]
|
||||
Promise<void> complete(optional PaymentComplete result = "unknown");
|
||||
[NewObject]
|
||||
Promise<void> retry(optional PaymentValidationErrors errorFields);
|
||||
Promise<void> retry(optional PaymentValidationErrors errorFields = {});
|
||||
|
||||
attribute EventHandler onpayerdetailchange;
|
||||
};
|
||||
|
@ -171,7 +171,7 @@ dictionary PayerErrors {
|
|||
DOMString phone;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional MerchantValidationEventInit eventInitDict),
|
||||
[Constructor(DOMString type, optional MerchantValidationEventInit eventInitDict = {}),
|
||||
SecureContext, Exposed=Window]
|
||||
interface MerchantValidationEvent : Event {
|
||||
readonly attribute DOMString methodName;
|
||||
|
@ -184,7 +184,7 @@ dictionary MerchantValidationEventInit : EventInit {
|
|||
USVString validationURL = "";
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict), SecureContext, Exposed=Window]
|
||||
[Constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {}), SecureContext, Exposed=Window]
|
||||
interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
|
||||
readonly attribute DOMString methodName;
|
||||
readonly attribute object? methodDetails;
|
||||
|
@ -195,7 +195,7 @@ dictionary PaymentMethodChangeEventInit : PaymentRequestUpdateEventInit {
|
|||
object? methodDetails = null;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict), SecureContext, Exposed=Window]
|
||||
[Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict = {}), SecureContext, Exposed=Window]
|
||||
interface PaymentRequestUpdateEvent : Event {
|
||||
void updateWith(Promise<PaymentDetailsUpdate> detailsPromise);
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Picture-in-Picture (https://wicg.github.io/picture-in-picture/)
|
||||
// Source: Picture-in-Picture (https://w3c.github.io/picture-in-picture/)
|
||||
|
||||
partial interface HTMLVideoElement {
|
||||
[NewObject] Promise<PictureInPictureWindow> requestPictureInPicture();
|
||||
|
|
|
@ -12,9 +12,9 @@ partial interface ServiceWorkerRegistration {
|
|||
interface PushManager {
|
||||
[SameObject] static readonly attribute FrozenArray<DOMString> supportedContentEncodings;
|
||||
|
||||
Promise<PushSubscription> subscribe(optional PushSubscriptionOptionsInit options);
|
||||
Promise<PushSubscription> subscribe(optional PushSubscriptionOptionsInit options = {});
|
||||
Promise<PushSubscription?> getSubscription();
|
||||
Promise<PushPermissionState> permissionState(optional PushSubscriptionOptionsInit options);
|
||||
Promise<PushPermissionState> permissionState(optional PushSubscriptionOptionsInit options = {});
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker), SecureContext]
|
||||
|
@ -64,7 +64,7 @@ partial interface ServiceWorkerGlobalScope {
|
|||
attribute EventHandler onpushsubscriptionchange;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PushEventInit eventInitDict), Exposed=ServiceWorker, SecureContext]
|
||||
[Constructor(DOMString type, optional PushEventInit eventInitDict = {}), Exposed=ServiceWorker, SecureContext]
|
||||
interface PushEvent : ExtendableEvent {
|
||||
readonly attribute PushMessageData? data;
|
||||
};
|
||||
|
@ -75,13 +75,13 @@ dictionary PushEventInit : ExtendableEventInit {
|
|||
PushMessageDataInit data;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional PushSubscriptionChangeInit eventInitDict), Exposed=ServiceWorker, SecureContext]
|
||||
[Constructor(DOMString type, optional PushSubscriptionChangeEventInit eventInitDict = {}), Exposed=ServiceWorker, SecureContext]
|
||||
interface PushSubscriptionChangeEvent : ExtendableEvent {
|
||||
readonly attribute PushSubscription? newSubscription;
|
||||
readonly attribute PushSubscription? oldSubscription;
|
||||
};
|
||||
|
||||
dictionary PushSubscriptionChangeInit : ExtendableEventInit {
|
||||
dictionary PushSubscriptionChangeEventInit : ExtendableEventInit {
|
||||
PushSubscription newSubscription = null;
|
||||
PushSubscription oldSubscription = null;
|
||||
};
|
||||
|
|
|
@ -9,10 +9,10 @@ dictionary WakeLockPermissionDescriptor : PermissionDescriptor {
|
|||
|
||||
enum WakeLockType { "screen", "system" };
|
||||
|
||||
[SecureContext, Exposed=(DedicatedWorker,Window)]
|
||||
[SecureContext, Exposed=(DedicatedWorker, Window)]
|
||||
interface WakeLock {
|
||||
[Exposed=Window] static Promise<PermissionState> requestPermission(WakeLockType type);
|
||||
static Promise<void> request(WakeLockType type, optional WakeLockRequestOptions options);
|
||||
static Promise<void> request(WakeLockType type, optional WakeLockRequestOptions options = {});
|
||||
};
|
||||
|
||||
dictionary WakeLockRequestOptions {
|
||||
|
|
|
@ -3,14 +3,29 @@
|
|||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Web NFC API (https://w3c.github.io/web-nfc/)
|
||||
|
||||
dictionary NDEFMessage {
|
||||
[Constructor(NDEFMessageInit messageInit), Exposed=Window]
|
||||
interface NDEFMessage {
|
||||
readonly attribute USVString url;
|
||||
readonly attribute FrozenArray<NDEFRecord> records;
|
||||
};
|
||||
|
||||
dictionary NDEFMessageInit {
|
||||
USVString url;
|
||||
sequence<NDEFRecord> records;
|
||||
sequence<NDEFRecordInit> records;
|
||||
};
|
||||
|
||||
typedef (DOMString or unrestricted double or ArrayBuffer or Dictionary) NDEFRecordData;
|
||||
|
||||
dictionary NDEFRecord {
|
||||
[Constructor(NDEFRecordInit recordInit), Exposed=Window]
|
||||
interface NDEFRecord {
|
||||
readonly attribute NDEFRecordType recordType;
|
||||
readonly attribute USVString mediaType;
|
||||
USVString toText();
|
||||
[NewObject] ArrayBuffer toArrayBuffer();
|
||||
[NewObject] object toJSON();
|
||||
};
|
||||
|
||||
dictionary NDEFRecordInit {
|
||||
NDEFRecordType recordType;
|
||||
USVString mediaType;
|
||||
NDEFRecordData data;
|
||||
|
@ -24,14 +39,14 @@ enum NDEFRecordType {
|
|||
"opaque"
|
||||
};
|
||||
|
||||
typedef (DOMString or ArrayBuffer or NDEFMessage) NDEFMessageSource;
|
||||
typedef (DOMString or ArrayBuffer or NDEFMessageInit) NDEFMessageSource;
|
||||
|
||||
[Constructor(), SecureContext, Exposed=Window]
|
||||
interface NFCWriter {
|
||||
Promise<void> push(NDEFMessageSource message, optional NFCPushOptions options);
|
||||
Promise<void> push(NDEFMessageSource message, optional NFCPushOptions options={});
|
||||
};
|
||||
|
||||
[Constructor(optional NFCReaderOptions options), SecureContext, Exposed=Window]
|
||||
[Constructor(optional NFCReaderOptions options={}), SecureContext, Exposed=Window]
|
||||
interface NFCReader : EventTarget {
|
||||
attribute EventHandler onreading;
|
||||
attribute EventHandler onerror;
|
||||
|
@ -43,12 +58,12 @@ interface NFCReader : EventTarget {
|
|||
[Constructor(DOMString type, NFCReadingEventInit readingEventInitDict), SecureContext, Exposed=Window]
|
||||
interface NFCReadingEvent : Event {
|
||||
readonly attribute DOMString serialNumber;
|
||||
readonly attribute object message; // NDEFMessage
|
||||
[SameObject] readonly attribute NDEFMessage message;
|
||||
};
|
||||
|
||||
dictionary NFCReadingEventInit : EventInit {
|
||||
DOMString? serialNumber = "";
|
||||
required NDEFMessage message;
|
||||
required NDEFMessageInit message;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, NFCErrorEventInit errorEventInitDict), SecureContext, Exposed=Window]
|
||||
|
|
|
@ -116,8 +116,8 @@ interface AudioBuffer {
|
|||
readonly attribute double duration;
|
||||
readonly attribute unsigned long numberOfChannels;
|
||||
Float32Array getChannelData (unsigned long channel);
|
||||
void copyFromChannel (Float32Array destination, unsigned long channelNumber, optional unsigned long startInChannel = 0);
|
||||
void copyToChannel (Float32Array source, unsigned long channelNumber, optional unsigned long startInChannel = 0);
|
||||
void copyFromChannel (Float32Array destination, unsigned long channelNumber, optional unsigned long bufferOffset = 0);
|
||||
void copyToChannel (Float32Array source, unsigned long channelNumber, optional unsigned long bufferOffset = 0);
|
||||
};
|
||||
|
||||
dictionary AudioBufferOptions {
|
||||
|
@ -581,7 +581,7 @@ dictionary AudioWorkletNodeOptions : AudioNodeOptions {
|
|||
unsigned long numberOfOutputs = 1;
|
||||
sequence<unsigned long> outputChannelCount;
|
||||
record<DOMString, double> parameterData;
|
||||
object? processorOptions = null;
|
||||
object processorOptions;
|
||||
};
|
||||
|
||||
[Exposed=AudioWorklet,
|
||||
|
|
|
@ -65,26 +65,26 @@ dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
|
|||
};
|
||||
|
||||
dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
||||
DOMString trackId;
|
||||
DOMString receiverId;
|
||||
DOMString remoteId;
|
||||
unsigned long framesDecoded;
|
||||
unsigned long keyFramesDecoded;
|
||||
unsigned long long qpSum;
|
||||
double totalDecodeTime;
|
||||
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
||||
double averageRtcpInterval;
|
||||
unsigned long fecPacketsReceived;
|
||||
unsigned long fecPacketsDiscarded;
|
||||
unsigned long long bytesReceived;
|
||||
unsigned long packetsFailedDecryption;
|
||||
unsigned long packetsDuplicated;
|
||||
record<USVString, unsigned long> perDscpPacketsReceived;
|
||||
unsigned long nackCount;
|
||||
unsigned long firCount;
|
||||
unsigned long pliCount;
|
||||
unsigned long sliCount;
|
||||
};
|
||||
DOMString trackId;
|
||||
DOMString receiverId;
|
||||
DOMString remoteId;
|
||||
unsigned long framesDecoded;
|
||||
unsigned long keyFramesDecoded;
|
||||
unsigned long long qpSum;
|
||||
double totalDecodeTime;
|
||||
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
||||
double averageRtcpInterval;
|
||||
unsigned long fecPacketsReceived;
|
||||
unsigned long fecPacketsDiscarded;
|
||||
unsigned long long bytesReceived;
|
||||
unsigned long packetsFailedDecryption;
|
||||
unsigned long packetsDuplicated;
|
||||
record<USVString, unsigned long> perDscpPacketsReceived;
|
||||
unsigned long nackCount;
|
||||
unsigned long firCount;
|
||||
unsigned long pliCount;
|
||||
unsigned long sliCount;
|
||||
};
|
||||
|
||||
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
||||
DOMString localId;
|
||||
|
@ -126,11 +126,11 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|||
};
|
||||
|
||||
enum RTCQualityLimitationReason {
|
||||
"none",
|
||||
"cpu",
|
||||
"bandwidth",
|
||||
"other",
|
||||
};
|
||||
"none",
|
||||
"cpu",
|
||||
"bandwidth",
|
||||
"other",
|
||||
};
|
||||
|
||||
dictionary RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
||||
DOMString localId;
|
||||
|
@ -277,7 +277,6 @@ dictionary RTCIceCandidateStats : RTCStats {
|
|||
long priority;
|
||||
DOMString url;
|
||||
DOMString relayProtocol;
|
||||
boolean deleted = false;
|
||||
};
|
||||
|
||||
enum RTCNetworkType {
|
||||
|
@ -336,24 +335,24 @@ dictionary RTCCertificateStats : RTCStats {
|
|||
};
|
||||
|
||||
dictionary RTCStunServerConnectionStats : RTCStats {
|
||||
DOMString url;
|
||||
long port;
|
||||
DOMString protocol;
|
||||
RTCNetworkType networkType;
|
||||
unsigned long totalRequestsSent;
|
||||
unsigned long totalResponsesReceived;
|
||||
double totalRoundTripTime;
|
||||
};
|
||||
DOMString url;
|
||||
long port;
|
||||
DOMString protocol;
|
||||
RTCNetworkType networkType;
|
||||
unsigned long totalRequestsSent;
|
||||
unsigned long totalResponsesReceived;
|
||||
double totalRoundTripTime;
|
||||
};
|
||||
|
||||
partial dictionary RTCIceCandidateStats {
|
||||
boolean isRemote;
|
||||
};
|
||||
boolean isRemote;
|
||||
};
|
||||
|
||||
partial dictionary RTCIceCandidatePairStats {
|
||||
double totalRtt;
|
||||
double currentRtt;
|
||||
unsigned long long priority;
|
||||
};
|
||||
double totalRtt;
|
||||
double currentRtt;
|
||||
unsigned long long priority;
|
||||
};
|
||||
|
||||
partial dictionary RTCRtpStreamStats {
|
||||
DOMString mediaType;
|
||||
|
|
|
@ -95,11 +95,11 @@ enum RTCIceConnectionState {
|
|||
interface RTCPeerConnection : EventTarget {
|
||||
Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options);
|
||||
Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options);
|
||||
Promise<void> setLocalDescription(RTCSessionDescriptionInit description);
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description);
|
||||
readonly attribute RTCSessionDescription? localDescription;
|
||||
readonly attribute RTCSessionDescription? currentLocalDescription;
|
||||
readonly attribute RTCSessionDescription? pendingLocalDescription;
|
||||
Promise<void> setRemoteDescription(RTCSessionDescriptionInit description);
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description);
|
||||
readonly attribute RTCSessionDescription? remoteDescription;
|
||||
readonly attribute RTCSessionDescription? currentRemoteDescription;
|
||||
readonly attribute RTCSessionDescription? pendingRemoteDescription;
|
||||
|
@ -127,12 +127,12 @@ partial interface RTCPeerConnection {
|
|||
Promise<void> createOffer(RTCSessionDescriptionCallback successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback,
|
||||
optional RTCOfferOptions options);
|
||||
Promise<void> setLocalDescription(RTCSessionDescriptionInit description,
|
||||
Promise<void> setLocalDescription(optional RTCSessionDescriptionInit description,
|
||||
VoidFunction successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> createAnswer(RTCSessionDescriptionCallback successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> setRemoteDescription(RTCSessionDescriptionInit description,
|
||||
Promise<void> setRemoteDescription(optional RTCSessionDescriptionInit description,
|
||||
VoidFunction successCallback,
|
||||
RTCPeerConnectionErrorCallback failureCallback);
|
||||
Promise<void> addIceCandidate(RTCIceCandidateInit candidate,
|
||||
|
@ -156,7 +156,7 @@ enum RTCSdpType {
|
|||
"rollback"
|
||||
};
|
||||
|
||||
[Exposed=Window, Constructor(RTCSessionDescriptionInit descriptionInitDict)]
|
||||
[Exposed=Window, Constructor(optional RTCSessionDescriptionInit descriptionInitDict)]
|
||||
interface RTCSessionDescription {
|
||||
readonly attribute RTCSdpType type;
|
||||
readonly attribute DOMString sdp;
|
||||
|
@ -164,7 +164,7 @@ interface RTCSessionDescription {
|
|||
};
|
||||
|
||||
dictionary RTCSessionDescriptionInit {
|
||||
required RTCSdpType type;
|
||||
RTCSdpType type;
|
||||
DOMString sdp = "";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue