mirror of
https://github.com/servo/servo.git
synced 2025-08-19 12:25:33 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -1,7 +1,7 @@
|
|||
// -----------------------------------------------------------------------------
|
||||
// DOM
|
||||
// -----------------------------------------------------------------------------
|
||||
[Exposed=(Window,Worker)]
|
||||
[Constructor(), Exposed=(Window,Worker)]
|
||||
interface EventTarget {
|
||||
void addEventListener(DOMString type, EventListener? callback, optional (AddEventListenerOptions or boolean) options);
|
||||
void removeEventListener(DOMString type, EventListener? callback, optional (EventListenerOptions or boolean) options);
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[Constructor(optional SensorOptions options), Exposed=Window]
|
||||
interface GeolocationSensor : Sensor {
|
||||
readonly attribute unrestricted double? latitude;
|
||||
readonly attribute unrestricted double? longitude;
|
||||
readonly attribute unrestricted double? altitude;
|
||||
readonly attribute unrestricted double? accuracy;
|
||||
readonly attribute unrestricted double? altitudeAccuracy;
|
||||
readonly attribute unrestricted double? heading;
|
||||
readonly attribute unrestricted double? speed;
|
||||
};
|
|
@ -158,7 +158,7 @@ interface MediaDeviceInfo {
|
|||
readonly attribute MediaDeviceKind kind;
|
||||
readonly attribute DOMString label;
|
||||
readonly attribute DOMString groupId;
|
||||
serializer = {attribute};
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
enum MediaDeviceKind {
|
||||
|
|
|
@ -157,7 +157,7 @@ enum RTCSdpType {
|
|||
interface RTCSessionDescription {
|
||||
readonly attribute RTCSdpType type;
|
||||
readonly attribute DOMString sdp;
|
||||
serializer = {attribute};
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
dictionary RTCSessionDescriptionInit {
|
||||
|
@ -180,15 +180,15 @@ interface RTCIceCandidate {
|
|||
readonly attribute RTCIceTcpCandidateType? tcpType;
|
||||
readonly attribute DOMString? relatedAddress;
|
||||
readonly attribute unsigned short? relatedPort;
|
||||
readonly attribute DOMString? ufrag;
|
||||
serializer = {candidate, sdpMid, sdpMLineIndex, ufrag};
|
||||
readonly attribute DOMString? usernameFragment;
|
||||
RTCIceCandidateInit toJSON();
|
||||
};
|
||||
|
||||
dictionary RTCIceCandidateInit {
|
||||
DOMString candidate = "";
|
||||
DOMString? sdpMid = null;
|
||||
unsigned short? sdpMLineIndex = null;
|
||||
DOMString ufrag;
|
||||
DOMString usernameFragment;
|
||||
};
|
||||
|
||||
enum RTCIceProtocol {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue