Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb

This commit is contained in:
WPT Sync Bot 2019-03-28 22:09:18 -04:00
parent fcd6beb608
commit cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions

View file

@ -81,11 +81,9 @@ interface FontFaceSet : EventTarget {
readonly attribute FontFaceSetLoadStatus status;
};
[Exposed=(Window,Worker),
NoInterfaceObject]
interface FontFaceSource {
interface mixin FontFaceSource {
readonly attribute FontFaceSet fonts;
};
Document implements FontFaceSource;
WorkerGlobalScope implements FontFaceSource;
Document includes FontFaceSource;
WorkerGlobalScope includes FontFaceSource;

View file

@ -4,20 +4,20 @@
// Source: Payment Method: Basic Card (https://w3c.github.io/payment-method-basic-card/)
dictionary BasicCardRequest {
sequence<DOMString> supportedNetworks;
sequence<DOMString> supportedNetworks = [];
};
dictionary BasicCardChangeDetails {
PaymentAddress? billingAddress;
PaymentAddress? billingAddress = null;
};
dictionary BasicCardResponse {
required DOMString cardNumber;
DOMString cardholderName;
DOMString cardSecurityCode;
DOMString expiryMonth;
DOMString expiryYear;
PaymentAddress? billingAddress;
DOMString cardholderName = "";
DOMString cardSecurityCode = "";
DOMString expiryMonth = "";
DOMString expiryYear = "";
PaymentAddress? billingAddress = null;
};
dictionary BasicCardErrors {

View file

@ -16,12 +16,14 @@ partial dictionary MediaTrackSupportedConstraints {
boolean displaySurface = true;
boolean logicalSurface = true;
boolean cursor = true;
boolean restrictOwnAudio = true;
};
partial dictionary MediaTrackConstraintSet {
ConstrainDOMString displaySurface;
ConstrainBoolean logicalSurface;
ConstrainDOMString cursor;
ConstrainBoolean restrictOwnAudio;
};
partial dictionary MediaTrackSettings {

View file

@ -3,6 +3,10 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Wake Lock API (https://w3c.github.io/wake-lock/)
dictionary WakeLockPermissionDescriptor : PermissionDescriptor {
WakeLockType type;
};
enum WakeLockType { "screen", "system" };
[Constructor(WakeLockType type), SecureContext, Exposed=(DedicatedWorker,Window)]

View file

@ -82,8 +82,15 @@ interface Table {
readonly attribute unsigned long length;
};
enum ValueType {
"i32",
"i64",
"f32",
"f64"
};
dictionary GlobalDescriptor {
required USVString value;
required ValueType value;
boolean mutable = false;
};

View file

@ -32,6 +32,7 @@ dictionary WebGLContextAttributes {
boolean preserveDrawingBuffer = false;
WebGLPowerPreference powerPreference = "default";
boolean failIfMajorPerformanceCaveat = false;
boolean desynchronized = false;
};
[Exposed=(Window,Worker)]