mirror of
https://github.com/servo/servo.git
synced 2025-09-04 03:58:23 +01:00
Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2
This commit is contained in:
parent
e5689df6b4
commit
bea56037ef
701 changed files with 13864 additions and 1909 deletions
|
@ -42,6 +42,7 @@ dictionary WebAppManifest {
|
|||
ServiceWorkerRegistrationObject serviceworker;
|
||||
sequence<ExternalApplicationResource> related_applications;
|
||||
boolean prefer_related_applications = "false";
|
||||
sequence<ShortcutItem> shortcuts;
|
||||
};
|
||||
|
||||
enum TextDirectionType { "ltr", "rtl", "auto" };
|
||||
|
@ -61,6 +62,14 @@ dictionary ImageResource {
|
|||
USVString platform;
|
||||
};
|
||||
|
||||
dictionary ShortcutItem {
|
||||
required USVString name;
|
||||
USVString short_name;
|
||||
USVString description;
|
||||
required USVString url;
|
||||
sequence<ImageResource> icons;
|
||||
};
|
||||
|
||||
dictionary ServiceWorkerRegistrationObject {
|
||||
required USVString src;
|
||||
USVString scope;
|
||||
|
|
|
@ -70,7 +70,7 @@ dictionary RequestInit {
|
|||
any window; // can only be set to null
|
||||
};
|
||||
|
||||
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
|
||||
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
|
||||
enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
|
||||
enum RequestCredentials { "omit", "same-origin", "include" };
|
||||
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
|
||||
|
|
|
@ -31,11 +31,9 @@ interface PictureInPictureWindow : EventTarget {
|
|||
attribute EventHandler onresize;
|
||||
};
|
||||
|
||||
[
|
||||
Constructor(DOMString type, EnterPictureInPictureEventInit eventInitDict),
|
||||
Exposed=Window
|
||||
]
|
||||
[Exposed=Window]
|
||||
interface EnterPictureInPictureEvent : Event {
|
||||
constructor(DOMString type, EnterPictureInPictureEventInit eventInitDict);
|
||||
[SameObject] readonly attribute PictureInPictureWindow pictureInPictureWindow;
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// Source: Resize Observer (https://drafts.csswg.org/resize-observer/)
|
||||
|
||||
enum ResizeObserverBoxOptions {
|
||||
"border-box", "content-box"
|
||||
"border-box", "content-box", "device-pixel-content-box"
|
||||
};
|
||||
|
||||
dictionary ResizeObserverOptions {
|
||||
|
@ -27,6 +27,7 @@ interface ResizeObserverEntry {
|
|||
readonly attribute DOMRectReadOnly contentRect;
|
||||
readonly attribute ResizeObserverSize borderBoxSize;
|
||||
readonly attribute ResizeObserverSize contentBoxSize;
|
||||
readonly attribute ResizeObserverSize devicePixelContentBoxSize;
|
||||
};
|
||||
|
||||
interface ResizeObserverSize {
|
||||
|
|
|
@ -92,11 +92,12 @@ dictionary ComputedEffectTiming : EffectTiming {
|
|||
|
||||
[Exposed=Window]
|
||||
interface KeyframeEffect : AnimationEffect {
|
||||
constructor((Element or CSSPseudoElement)? target,
|
||||
constructor(Element? target,
|
||||
object? keyframes,
|
||||
optional (unrestricted double or KeyframeEffectOptions) options = {});
|
||||
constructor(KeyframeEffect source);
|
||||
attribute (Element or CSSPseudoElement)? target;
|
||||
attribute Element? target;
|
||||
attribute CSSOMString? pseudoElement;
|
||||
attribute CompositeOperation composite;
|
||||
sequence<object> getKeyframes();
|
||||
void setKeyframes(object? keyframes);
|
||||
|
@ -122,7 +123,8 @@ dictionary BaseKeyframe {
|
|||
};
|
||||
|
||||
dictionary KeyframeEffectOptions : EffectTiming {
|
||||
CompositeOperation composite = "replace";
|
||||
CompositeOperation composite = "replace";
|
||||
CSSOMString? pseudoElement = null;
|
||||
};
|
||||
|
||||
enum CompositeOperation { "replace", "add", "accumulate" };
|
||||
|
@ -153,8 +155,6 @@ partial interface mixin DocumentOrShadowRoot {
|
|||
|
||||
Element includes Animatable;
|
||||
|
||||
CSSPseudoElement includes Animatable;
|
||||
|
||||
[Exposed=Window]
|
||||
interface AnimationPlaybackEvent : Event {
|
||||
constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
|
||||
|
|
|
@ -52,6 +52,7 @@ interface NDEFWriter {
|
|||
interface NDEFReader : EventTarget {
|
||||
constructor();
|
||||
|
||||
attribute EventHandler onerror;
|
||||
attribute EventHandler onreading;
|
||||
|
||||
Promise<void> scan(optional NDEFScanOptions options={});
|
||||
|
|
|
@ -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: Web Share API - Level 1 (https://w3c.github.io/web-share/)
|
||||
// Source: Web Share API (https://w3c.github.io/web-share/)
|
||||
|
||||
partial interface Navigator {
|
||||
[SecureContext] Promise<void> share(optional ShareData data = {});
|
||||
|
|
|
@ -78,6 +78,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|||
double framesPerSecond;
|
||||
unsigned long long qpSum;
|
||||
double totalDecodeTime;
|
||||
double totalInterFrameDelay;
|
||||
double totalSquaredInterFrameDelay;
|
||||
boolean voiceActivityFlag;
|
||||
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
||||
double averageRtcpInterval;
|
||||
|
|
|
@ -47,9 +47,7 @@ enum RTCRtcpMuxPolicy {
|
|||
"require"
|
||||
};
|
||||
|
||||
dictionary RTCOfferAnswerOptions {
|
||||
boolean voiceActivityDetection = true;
|
||||
};
|
||||
dictionary RTCOfferAnswerOptions {};
|
||||
|
||||
dictionary RTCOfferOptions : RTCOfferAnswerOptions {
|
||||
boolean iceRestart = false;
|
||||
|
@ -111,7 +109,6 @@ interface RTCPeerConnection : EventTarget {
|
|||
readonly attribute RTCPeerConnectionState connectionState;
|
||||
readonly attribute boolean? canTrickleIceCandidates;
|
||||
void restartIce();
|
||||
static sequence<RTCIceServer> getDefaultIceServers();
|
||||
RTCConfiguration getConfiguration();
|
||||
void setConfiguration(RTCConfiguration configuration);
|
||||
void close();
|
||||
|
@ -266,7 +263,6 @@ dictionary RTCCertificateExpiration {
|
|||
[Exposed=Window, Serializable]
|
||||
interface RTCCertificate {
|
||||
readonly attribute DOMTimeStamp expires;
|
||||
static sequence<AlgorithmIdentifier> getSupportedAlgorithms();
|
||||
sequence<RTCDtlsFingerprint> getFingerprints();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue