mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d
This commit is contained in:
parent
647796ede6
commit
20a08918d9
132 changed files with 3012 additions and 689 deletions
|
@ -7,7 +7,8 @@ enum SecurityPolicyViolationEventDisposition {
|
|||
"enforce", "report"
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict)]
|
||||
[Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict),
|
||||
Exposed=(Window,Worker)]
|
||||
interface SecurityPolicyViolationEvent : Event {
|
||||
readonly attribute USVString documentURI;
|
||||
readonly attribute USVString referrer;
|
||||
|
|
|
@ -125,6 +125,22 @@ interface SVGLengthList {
|
|||
setter void (unsigned long index, SVGLength newItem);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGStringList {
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
readonly attribute unsigned long numberOfItems;
|
||||
|
||||
void clear();
|
||||
DOMString initialize(DOMString newItem);
|
||||
getter DOMString getItem(unsigned long index);
|
||||
DOMString insertItemBefore(DOMString newItem, unsigned long index);
|
||||
DOMString replaceItem(DOMString newItem, unsigned long index);
|
||||
DOMString removeItem(unsigned long index);
|
||||
DOMString appendItem(DOMString newItem);
|
||||
setter void (unsigned long index, DOMString newItem);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGAnimatedBoolean {
|
||||
attribute boolean baseVal;
|
||||
|
@ -185,22 +201,6 @@ interface SVGAnimatedLengthList {
|
|||
[SameObject] readonly attribute SVGLengthList animVal;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGStringList {
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
readonly attribute unsigned long numberOfItems;
|
||||
|
||||
void clear();
|
||||
DOMString initialize(DOMString newItem);
|
||||
getter DOMString getItem(unsigned long index);
|
||||
DOMString insertItemBefore(DOMString newItem, unsigned long index);
|
||||
DOMString replaceItem(DOMString newItem, unsigned long index);
|
||||
DOMString removeItem(unsigned long index);
|
||||
DOMString appendItem(DOMString newItem);
|
||||
setter void (unsigned long index, DOMString newItem);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface SVGUnitTypes {
|
||||
// Unit Types
|
||||
|
|
|
@ -4,17 +4,30 @@
|
|||
// Source: Payment Method: Basic Card (https://w3c.github.io/payment-method-basic-card/)
|
||||
|
||||
dictionary BasicCardRequest {
|
||||
sequence<DOMString> supportedNetworks;
|
||||
sequence<BasicCardType> supportedTypes;
|
||||
};
|
||||
sequence<DOMString> supportedNetworks;
|
||||
sequence<BasicCardType> supportedTypes;
|
||||
};
|
||||
|
||||
dictionary BasicCardChangeDetails {
|
||||
PaymentAddress? billingAddress;
|
||||
};
|
||||
|
||||
enum BasicCardType { "credit", "debit", "prepaid" };
|
||||
|
||||
dictionary BasicCardResponse {
|
||||
required DOMString cardNumber;
|
||||
DOMString cardholderName;
|
||||
DOMString cardSecurityCode;
|
||||
DOMString expiryMonth;
|
||||
DOMString expiryYear;
|
||||
PaymentAddress? billingAddress;
|
||||
};
|
||||
required DOMString cardNumber;
|
||||
DOMString cardholderName;
|
||||
DOMString cardSecurityCode;
|
||||
DOMString expiryMonth;
|
||||
DOMString expiryYear;
|
||||
PaymentAddress? billingAddress;
|
||||
};
|
||||
|
||||
dictionary BasicCardErrors {
|
||||
DOMString cardNumber;
|
||||
DOMString cardholderName;
|
||||
DOMString cardSecurityCode;
|
||||
DOMString expiryMonth;
|
||||
DOMString expiryYear;
|
||||
AddressErrors billingAddress;
|
||||
};
|
||||
|
|
|
@ -49,6 +49,8 @@ dictionary PaymentDetailsUpdate : PaymentDetailsBase {
|
|||
DOMString error;
|
||||
PaymentItem total;
|
||||
AddressErrors shippingAddressErrors;
|
||||
PayerErrorFields payerErrors;
|
||||
object paymentMethodErrors;
|
||||
};
|
||||
|
||||
dictionary PaymentDetailsModifier {
|
||||
|
|
|
@ -28,3 +28,15 @@ interface PictureInPictureWindow : EventTarget {
|
|||
|
||||
attribute EventHandler onresize;
|
||||
};
|
||||
|
||||
[
|
||||
Constructor(DOMString type, EnterPictureInPictureEventInit eventInitDict),
|
||||
Exposed=Window
|
||||
]
|
||||
interface EnterPictureInPictureEvent : Event {
|
||||
[SameObject] readonly attribute PictureInPictureWindow pictureInPictureWindow;
|
||||
};
|
||||
|
||||
dictionary EnterPictureInPictureEventInit : EventInit {
|
||||
required PictureInPictureWindow pictureInPictureWindow;
|
||||
};
|
||||
|
|
|
@ -48,7 +48,6 @@ interface BaseAudioContext : EventTarget {
|
|||
Promise<AudioBuffer> decodeAudioData (ArrayBuffer audioData,
|
||||
optional DecodeSuccessCallback? successCallback,
|
||||
optional DecodeErrorCallback? errorCallback);
|
||||
Promise<void> resume ();
|
||||
};
|
||||
|
||||
enum AudioContextLatencyCategory {
|
||||
|
@ -63,6 +62,7 @@ interface AudioContext : BaseAudioContext {
|
|||
readonly attribute double baseLatency;
|
||||
readonly attribute double outputLatency;
|
||||
AudioTimestamp getOutputTimestamp ();
|
||||
Promise<void> resume ();
|
||||
Promise<void> suspend ();
|
||||
Promise<void> close ();
|
||||
MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement);
|
||||
|
@ -86,6 +86,7 @@ dictionary AudioTimestamp {
|
|||
Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)]
|
||||
interface OfflineAudioContext : BaseAudioContext {
|
||||
Promise<AudioBuffer> startRendering();
|
||||
Promise<void> resume();
|
||||
Promise<void> suspend(double suspendTime);
|
||||
readonly attribute unsigned long length;
|
||||
attribute EventHandler oncomplete;
|
||||
|
|
|
@ -230,8 +230,10 @@ dictionary RTCTransportStats : RTCStats {
|
|||
DOMString selectedCandidatePairId;
|
||||
DOMString localCertificateId;
|
||||
DOMString remoteCertificateId;
|
||||
DOMString tlsVersion;
|
||||
DOMString dtlsCipher;
|
||||
DOMString srtpCipher;
|
||||
DOMString tlsGroup;
|
||||
};
|
||||
|
||||
dictionary RTCIceCandidateStats : RTCStats {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue