mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision 90e1ee27eede63cf117f19c1e55553cc1881aef0
This commit is contained in:
parent
5fd4467cb3
commit
3f940e3f4c
89 changed files with 11097 additions and 382 deletions
|
@ -5,8 +5,7 @@
|
|||
|
||||
[Exposed=Window]
|
||||
partial interface Navigator {
|
||||
[SecureContext] Promise<MediaKeySystemAccess> requestMediaKeySystemAccess(DOMString keySystem,
|
||||
sequence<MediaKeySystemConfiguration> supportedConfigurations);
|
||||
[SecureContext] Promise<MediaKeySystemAccess> requestMediaKeySystemAccess (DOMString keySystem, sequence<MediaKeySystemConfiguration> supportedConfigurations);
|
||||
};
|
||||
|
||||
enum MediaKeysRequirement {
|
||||
|
@ -16,26 +15,24 @@ enum MediaKeysRequirement {
|
|||
};
|
||||
|
||||
dictionary MediaKeySystemConfiguration {
|
||||
DOMString label = "";
|
||||
sequence<DOMString> initDataTypes = [];
|
||||
sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
|
||||
sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
|
||||
MediaKeysRequirement distinctiveIdentifier = "optional";
|
||||
MediaKeysRequirement persistentState = "optional";
|
||||
sequence<DOMString> sessionTypes;
|
||||
DOMString label = "";
|
||||
sequence<DOMString> initDataTypes = [];
|
||||
sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
|
||||
sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
|
||||
MediaKeysRequirement distinctiveIdentifier = "optional";
|
||||
MediaKeysRequirement persistentState = "optional";
|
||||
sequence<DOMString> sessionTypes;
|
||||
};
|
||||
|
||||
dictionary MediaKeySystemMediaCapability {
|
||||
DOMString contentType = "";
|
||||
DOMString robustness = "";
|
||||
DOMString contentType = "";
|
||||
DOMString robustness = "";
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface MediaKeySystemAccess {
|
||||
readonly attribute DOMString keySystem;
|
||||
MediaKeySystemConfiguration getConfiguration();
|
||||
Promise<MediaKeys> createMediaKeys();
|
||||
[Exposed=Window, SecureContext] interface MediaKeySystemAccess {
|
||||
readonly attribute DOMString keySystem;
|
||||
MediaKeySystemConfiguration getConfiguration ();
|
||||
Promise<MediaKeys> createMediaKeys ();
|
||||
};
|
||||
|
||||
enum MediaKeySessionType {
|
||||
|
@ -43,37 +40,30 @@ enum MediaKeySessionType {
|
|||
"persistent-license"
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface MediaKeys {
|
||||
MediaKeySession createSession(optional MediaKeySessionType sessionType = "temporary");
|
||||
Promise<boolean> setServerCertificate(BufferSource serverCertificate);
|
||||
[Exposed=Window, SecureContext] interface MediaKeys {
|
||||
MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary");
|
||||
Promise<boolean> setServerCertificate (BufferSource serverCertificate);
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface MediaKeySession : EventTarget {
|
||||
readonly attribute DOMString sessionId;
|
||||
readonly attribute unrestricted double expiration;
|
||||
readonly attribute Promise<void> closed;
|
||||
readonly attribute MediaKeyStatusMap keyStatuses;
|
||||
attribute EventHandler onkeystatuseschange;
|
||||
attribute EventHandler onmessage;
|
||||
Promise<void> generateRequest(DOMString initDataType,
|
||||
BufferSource initData);
|
||||
Promise<boolean> load(DOMString sessionId);
|
||||
Promise<void> update(BufferSource response);
|
||||
Promise<void> close();
|
||||
Promise<void> remove();
|
||||
[Exposed=Window, SecureContext] interface MediaKeySession : EventTarget {
|
||||
readonly attribute DOMString sessionId;
|
||||
readonly attribute unrestricted double expiration;
|
||||
readonly attribute Promise<void> closed;
|
||||
readonly attribute MediaKeyStatusMap keyStatuses;
|
||||
attribute EventHandler onkeystatuseschange;
|
||||
attribute EventHandler onmessage;
|
||||
Promise<void> generateRequest (DOMString initDataType, BufferSource initData);
|
||||
Promise<boolean> load (DOMString sessionId);
|
||||
Promise<void> update (BufferSource response);
|
||||
Promise<void> close ();
|
||||
Promise<void> remove ();
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext]
|
||||
interface MediaKeyStatusMap {
|
||||
iterable<BufferSource, MediaKeyStatus>;
|
||||
readonly attribute unsigned long size;
|
||||
boolean has(BufferSource keyId);
|
||||
any get(BufferSource keyId);
|
||||
[Exposed=Window, SecureContext] interface MediaKeyStatusMap {
|
||||
iterable<BufferSource,MediaKeyStatus>;
|
||||
readonly attribute unsigned long size;
|
||||
boolean has (BufferSource keyId);
|
||||
any get (BufferSource keyId);
|
||||
};
|
||||
|
||||
enum MediaKeyStatus {
|
||||
|
@ -93,36 +83,33 @@ enum MediaKeyMessageType {
|
|||
"individualization-request"
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
SecureContext,
|
||||
Constructor(DOMString type, MediaKeyMessageEventInit eventInitDict)]
|
||||
[Exposed=Window, SecureContext]
|
||||
interface MediaKeyMessageEvent : Event {
|
||||
readonly attribute MediaKeyMessageType messageType;
|
||||
readonly attribute ArrayBuffer message;
|
||||
constructor(DOMString type, MediaKeyMessageEventInit eventInitDict);
|
||||
readonly attribute MediaKeyMessageType messageType;
|
||||
readonly attribute ArrayBuffer message;
|
||||
};
|
||||
|
||||
dictionary MediaKeyMessageEventInit : EventInit {
|
||||
required MediaKeyMessageType messageType;
|
||||
required ArrayBuffer message;
|
||||
required MediaKeyMessageType messageType;
|
||||
required ArrayBuffer message;
|
||||
};
|
||||
|
||||
[Exposed=Window] partial interface HTMLMediaElement {
|
||||
[SecureContext] readonly attribute MediaKeys? mediaKeys;
|
||||
attribute EventHandler onencrypted;
|
||||
attribute EventHandler onwaitingforkey;
|
||||
[SecureContext] Promise<void> setMediaKeys (MediaKeys? mediaKeys);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
partial interface HTMLMediaElement {
|
||||
[SecureContext]
|
||||
readonly attribute MediaKeys? mediaKeys;
|
||||
attribute EventHandler onencrypted;
|
||||
attribute EventHandler onwaitingforkey;
|
||||
[SecureContext] Promise<void> setMediaKeys(MediaKeys? mediaKeys);
|
||||
};
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict)]
|
||||
interface MediaEncryptedEvent : Event {
|
||||
readonly attribute DOMString initDataType;
|
||||
readonly attribute ArrayBuffer? initData;
|
||||
constructor(DOMString type, optional MediaEncryptedEventInit eventInitDict = {});
|
||||
readonly attribute DOMString initDataType;
|
||||
readonly attribute ArrayBuffer? initData;
|
||||
};
|
||||
|
||||
dictionary MediaEncryptedEventInit : EventInit {
|
||||
DOMString initDataType = "";
|
||||
ArrayBuffer? initData = null;
|
||||
DOMString initDataType = "";
|
||||
ArrayBuffer? initData = null;
|
||||
};
|
||||
|
|
|
@ -14,7 +14,7 @@ dictionary FullscreenOptions {
|
|||
};
|
||||
|
||||
partial interface Element {
|
||||
Promise<void> requestFullscreen(optional FullscreenOptions options);
|
||||
Promise<void> requestFullscreen(optional FullscreenOptions options = {});
|
||||
|
||||
attribute EventHandler onfullscreenchange;
|
||||
attribute EventHandler onfullscreenerror;
|
||||
|
|
|
@ -28,7 +28,7 @@ interface MediaRecorder : EventTarget {
|
|||
};
|
||||
|
||||
dictionary MediaRecorderOptions {
|
||||
DOMString mimeType;
|
||||
DOMString mimeType = "";
|
||||
unsigned long audioBitsPerSecond;
|
||||
unsigned long videoBitsPerSecond;
|
||||
unsigned long bitsPerSecond;
|
||||
|
|
|
@ -3,18 +3,18 @@
|
|||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Reporting API 1 (https://w3c.github.io/reporting/)
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface ReportBody {
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Report {
|
||||
readonly attribute DOMString type;
|
||||
readonly attribute DOMString url;
|
||||
readonly attribute ReportBody? body;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface ReportingObserver {
|
||||
constructor(ReportingObserverCallback callback, optional ReportingObserverOptions options = {});
|
||||
void observe();
|
||||
|
@ -31,7 +31,7 @@ dictionary ReportingObserverOptions {
|
|||
|
||||
typedef sequence<Report> ReportList;
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface DeprecationReportBody : ReportBody {
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute Date? anticipatedRemoval;
|
||||
|
@ -41,7 +41,7 @@ interface DeprecationReportBody : ReportBody {
|
|||
readonly attribute unsigned long? columnNumber;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface InterventionReportBody : ReportBody {
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute DOMString message;
|
||||
|
@ -50,7 +50,7 @@ interface InterventionReportBody : ReportBody {
|
|||
readonly attribute unsigned long? columnNumber;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface CrashReportBody : ReportBody {
|
||||
readonly attribute DOMString? reason;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue