Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024

This commit is contained in:
WPT Sync Bot 2019-12-12 08:22:50 +00:00
parent 82fd8d1daf
commit 5e74467d68
112 changed files with 1704 additions and 536 deletions

View file

@ -19,6 +19,12 @@ interface CookieStore : EventTarget {
Promise<void> delete(USVString name);
Promise<void> delete(CookieStoreDeleteOptions options);
[Exposed=ServiceWorker]
Promise<void> subscribeToChanges(sequence<CookieStoreGetOptions> subscriptions);
[Exposed=ServiceWorker]
Promise<sequence<CookieStoreGetOptions>> getChangeSubscriptions();
[Exposed=Window]
attribute EventHandler onchange;
};
@ -71,7 +77,8 @@ dictionary CookieListItem {
typedef sequence<CookieListItem> CookieList;
[Exposed=Window, SecureContext]
[Exposed=Window,
SecureContext]
interface CookieChangeEvent : Event {
constructor(DOMString type, optional CookieChangeEventInit eventInitDict = {});
readonly attribute CookieList changed;
@ -83,8 +90,8 @@ dictionary CookieChangeEventInit : EventInit {
CookieList deleted;
};
[Exposed=ServiceWorker]
interface ExtendableCookieChangeEvent : ExtendableEvent {
[Exposed=ServiceWorker
] interface ExtendableCookieChangeEvent : ExtendableEvent {
constructor(DOMString type, optional ExtendableCookieChangeEventInit eventInitDict = {});
readonly attribute CookieList changed;
readonly attribute CookieList deleted;
@ -95,13 +102,6 @@ dictionary ExtendableCookieChangeEventInit : ExtendableEventInit {
CookieList deleted;
};
[Exposed=(ServiceWorker,Window), SecureContext]
interface CookieStoreManager {
Promise<void> subscribe(sequence<CookieStoreGetOptions> subscriptions);
Promise<sequence<CookieStoreGetOptions>> getSubscriptions();
Promise<void> unsubscribe(sequence<CookieStoreGetOptions> subscriptions);
};
[SecureContext]
partial interface Window {
[Replaceable, SameObject] readonly attribute CookieStore cookieStore;
@ -109,10 +109,6 @@ partial interface Window {
partial interface ServiceWorkerGlobalScope {
[Replaceable, SameObject] readonly attribute CookieStore cookieStore;
attribute EventHandler oncookiechange;
};
[Exposed=(ServiceWorker,Window), SecureContext]
partial interface ServiceWorkerRegistration {
readonly attribute CookieStoreManager cookies;
};

View file

@ -3,6 +3,7 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Feature Policy (https://w3c.github.io/webappsec-feature-policy/)
[Exposed=Window]
interface FeaturePolicy {
boolean allowsFeature(DOMString feature, optional DOMString origin);
sequence<DOMString> features();
@ -17,6 +18,7 @@ partial interface Document {
partial interface HTMLIFrameElement {
[SameObject] readonly attribute FeaturePolicy featurePolicy;
};
[Exposed=Window]
interface FeaturePolicyViolationReportBody : ReportBody {
readonly attribute DOMString featureId;

View file

@ -8,7 +8,6 @@ dictionary RTCConfiguration {
RTCIceTransportPolicy iceTransportPolicy;
RTCBundlePolicy bundlePolicy;
RTCRtcpMuxPolicy rtcpMuxPolicy;
DOMString peerIdentity;
sequence<RTCCertificate> certificates;
[EnforceRange] octet iceCandidatePoolSize = 0;
};
@ -296,11 +295,9 @@ dictionary RTCRtpParameters {
dictionary RTCRtpSendParameters : RTCRtpParameters {
required DOMString transactionId;
required sequence<RTCRtpEncodingParameters> encodings;
RTCDegradationPreference degradationPreference = "balanced";
};
dictionary RTCRtpReceiveParameters : RTCRtpParameters {
required sequence<RTCRtpDecodingParameters> encodings;
};
dictionary RTCRtpCodingParameters {
@ -315,12 +312,6 @@ dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
double scaleResolutionDownBy;
};
enum RTCDegradationPreference {
"maintain-framerate",
"maintain-resolution",
"balanced"
};
dictionary RTCRtcpParameters {
DOMString cname;
boolean reducedSize;
@ -615,14 +606,6 @@ enum RTCErrorDetailType {
"data-channel-failure",
"dtls-failure",
"fingerprint-failure",
"idp-bad-script-failure",
"idp-execution-failure",
"idp-load-failure",
"idp-need-login",
"idp-timeout",
"idp-tls-failure",
"idp-token-expired",
"idp-token-invalid",
"sctp-failure",
"sdp-syntax-error",
"hardware-encoder-not-available",

View file

@ -193,7 +193,7 @@ interface XRWebGLLayer {
readonly attribute boolean antialias;
readonly attribute boolean ignoreDepthValues;
[SameObject] readonly attribute WebGLFramebuffer framebuffer;
[SameObject] readonly attribute WebGLFramebuffer? framebuffer;
readonly attribute unsigned long framebufferWidth;
readonly attribute unsigned long framebufferHeight;