mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 2df7f9ff620cbdaa2928464892fb1dfb880fd6c6
This commit is contained in:
parent
97e3c5f3a9
commit
7ba3376dde
74 changed files with 1985 additions and 504 deletions
|
@ -7,12 +7,24 @@ partial interface Navigator {
|
|||
Promise<MediaStream> getDisplayMedia(optional MediaStreamConstraints constraints);
|
||||
};
|
||||
|
||||
partial dictionary MediaTrackSupportedConstraints {
|
||||
boolean displaySurface = true;
|
||||
boolean logicalSurface = true;
|
||||
boolean cursor = true;
|
||||
};
|
||||
|
||||
partial dictionary MediaTrackConstraintSet {
|
||||
ConstrainDOMString displaySurface;
|
||||
ConstrainBoolean logicalSurface;
|
||||
ConstrainDOMString cursor;
|
||||
};
|
||||
|
||||
partial dictionary MediaTrackSettings {
|
||||
DOMString displaySurface;
|
||||
boolean logicalSurface;
|
||||
DOMString cursor;
|
||||
};
|
||||
|
||||
enum DisplayCaptureSurfaceType {
|
||||
"monitor",
|
||||
"window",
|
||||
|
|
|
@ -137,7 +137,8 @@ interface SpeechSynthesisUtterance : EventTarget {
|
|||
attribute EventHandler onboundary;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, SpeechSynthesisEventInit eventInitDict)]
|
||||
interface SpeechSynthesisEvent : Event {
|
||||
readonly attribute SpeechSynthesisUtterance utterance;
|
||||
readonly attribute unsigned long charIndex;
|
||||
|
@ -145,6 +146,13 @@ interface SpeechSynthesisEvent : Event {
|
|||
readonly attribute DOMString name;
|
||||
};
|
||||
|
||||
dictionary SpeechSynthesisEventInit : EventInit {
|
||||
required SpeechSynthesisUtterance utterance;
|
||||
unsigned long charIndex = 0;
|
||||
float elapsedTime = 0;
|
||||
DOMString name = "";
|
||||
};
|
||||
|
||||
enum SpeechSynthesisErrorCode {
|
||||
"canceled",
|
||||
"interrupted",
|
||||
|
@ -160,11 +168,16 @@ enum SpeechSynthesisErrorCode {
|
|||
"not-allowed",
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window,
|
||||
Constructor(DOMString type, SpeechSynthesisErrorEventInit eventInitDict)]
|
||||
interface SpeechSynthesisErrorEvent : SpeechSynthesisEvent {
|
||||
readonly attribute SpeechSynthesisErrorCode error;
|
||||
};
|
||||
|
||||
dictionary SpeechSynthesisErrorEventInit : SpeechSynthesisEventInit {
|
||||
required SpeechSynthesisErrorCode error;
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface SpeechSynthesisVoice {
|
||||
readonly attribute DOMString voiceURI;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue