mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 2b758296541cf4f2209b8c2352cf6c7890c97be3
This commit is contained in:
parent
2304f02123
commit
835d593cd0
118 changed files with 3269 additions and 703 deletions
|
@ -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: Content Security Policy: Embedded Enforcement (https://w3c.github.io/webappsec-csp/embedded/)
|
||||
// Source: Content Security Policy: Embedded Enforcement (https://w3c.github.io/webappsec-cspee/)
|
||||
|
||||
partial interface HTMLIFrameElement {
|
||||
[CEReactions] attribute DOMString csp;
|
||||
|
|
|
@ -78,12 +78,6 @@ dictionary PaymentItem {
|
|||
required DOMString label;
|
||||
required PaymentCurrencyAmount amount;
|
||||
boolean pending = false;
|
||||
// Note: type member is "at risk" of being removed!
|
||||
PaymentItemType type;
|
||||
};
|
||||
|
||||
enum PaymentItemType {
|
||||
"tax"
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=(Window)]
|
||||
|
@ -92,8 +86,6 @@ interface PaymentAddress {
|
|||
readonly attribute DOMString city;
|
||||
readonly attribute DOMString country;
|
||||
readonly attribute DOMString dependentLocality;
|
||||
// "languageCode" is a feature at risk
|
||||
readonly attribute DOMString languageCode;
|
||||
readonly attribute DOMString organization;
|
||||
readonly attribute DOMString phone;
|
||||
readonly attribute DOMString postalCode;
|
||||
|
@ -113,7 +105,6 @@ dictionary AddressInit {
|
|||
DOMString dependentLocality;
|
||||
DOMString postalCode;
|
||||
DOMString sortingCode;
|
||||
DOMString languageCode;
|
||||
DOMString organization;
|
||||
DOMString recipient;
|
||||
DOMString phone;
|
||||
|
@ -124,7 +115,6 @@ dictionary AddressErrors {
|
|||
DOMString city;
|
||||
DOMString country;
|
||||
DOMString dependentLocality;
|
||||
DOMString languageCode;
|
||||
DOMString organization;
|
||||
DOMString phone;
|
||||
DOMString postalCode;
|
||||
|
|
|
@ -95,6 +95,7 @@ interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|||
[Exposed=ServiceWorker]
|
||||
interface Client {
|
||||
readonly attribute USVString url;
|
||||
readonly attribute FrameType frameType;
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute ClientType type;
|
||||
void postMessage(any message, optional sequence<object> transfer = []);
|
||||
|
@ -109,6 +110,13 @@ interface WindowClient : Client {
|
|||
[NewObject] Promise<WindowClient?> navigate(USVString url);
|
||||
};
|
||||
|
||||
enum FrameType {
|
||||
"auxiliary",
|
||||
"top-level",
|
||||
"nested",
|
||||
"none"
|
||||
};
|
||||
|
||||
[Exposed=ServiceWorker]
|
||||
interface Clients {
|
||||
// The objects returned will be new instances every time
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// Source: Web MIDI API (http://webaudio.github.io/web-midi-api/)
|
||||
|
||||
partial interface Navigator {
|
||||
Promise<MIDIAccess> requestMIDIAccess(optional MIDIOptions options);
|
||||
[SecureContext] Promise<MIDIAccess> requestMIDIAccess(optional MIDIOptions options);
|
||||
};
|
||||
|
||||
dictionary MIDIOptions {
|
||||
|
@ -20,14 +20,14 @@ interface MIDIOutputMap {
|
|||
readonly maplike<DOMString, MIDIOutput>;
|
||||
};
|
||||
|
||||
interface MIDIAccess : EventTarget {
|
||||
[SecureContext] interface MIDIAccess : EventTarget {
|
||||
readonly attribute MIDIInputMap inputs;
|
||||
readonly attribute MIDIOutputMap outputs;
|
||||
attribute EventHandler onstatechange;
|
||||
readonly attribute boolean sysexEnabled;
|
||||
};
|
||||
|
||||
interface MIDIPort : EventTarget {
|
||||
[SecureContext] interface MIDIPort : EventTarget {
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute DOMString? manufacturer;
|
||||
readonly attribute DOMString? name;
|
||||
|
@ -40,11 +40,11 @@ interface MIDIPort : EventTarget {
|
|||
Promise<MIDIPort> close();
|
||||
};
|
||||
|
||||
interface MIDIInput : MIDIPort {
|
||||
[SecureContext] interface MIDIInput : MIDIPort {
|
||||
attribute EventHandler onmidimessage;
|
||||
};
|
||||
|
||||
interface MIDIOutput : MIDIPort {
|
||||
[SecureContext] interface MIDIOutput : MIDIPort {
|
||||
void send(sequence<octet> data, optional DOMHighResTimeStamp timestamp = 0);
|
||||
void clear();
|
||||
};
|
||||
|
@ -65,7 +65,7 @@ enum MIDIPortConnectionState {
|
|||
"pending",
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict)]
|
||||
[SecureContext, Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict)]
|
||||
interface MIDIMessageEvent : Event {
|
||||
readonly attribute Uint8Array data;
|
||||
};
|
||||
|
@ -74,7 +74,7 @@ dictionary MIDIMessageEventInit : EventInit {
|
|||
Uint8Array data;
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict)]
|
||||
[SecureContext, Constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict)]
|
||||
interface MIDIConnectionEvent : Event {
|
||||
readonly attribute MIDIPort port;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue