Update web-platform-tests to revision 33fa44546cbd74796eebfd7e8a33d6fc2f4e020a

This commit is contained in:
WPT Sync Bot 2019-10-11 10:24:47 +00:00
parent 0e503a0e0c
commit e10932a8f7
2576 changed files with 7707 additions and 6192 deletions

View file

@ -22,7 +22,7 @@ dictionary TextDecodeOptions {
interface TextDecoder {
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
USVString decode(optional BufferSource input, optional TextDecodeOptions options = {});
USVString decode(optional [AllowShared] BufferSource input, optional TextDecodeOptions options = {});
};
TextDecoder includes TextDecoderCommon;
@ -40,7 +40,7 @@ interface TextEncoder {
constructor();
[NewObject] Uint8Array encode(optional USVString input = "");
TextEncoderEncodeIntoResult encodeInto(USVString source, Uint8Array destination);
TextEncoderEncodeIntoResult encodeInto(USVString source, [AllowShared] Uint8Array destination);
};
TextEncoder includes TextEncoderCommon;

View file

@ -38,11 +38,11 @@ dictionary RTCIdentityValidationResult {
};
partial interface RTCPeerConnection {
void setIdentityProvider(DOMString provider, optional RTCIdentityProviderOptions options);
Promise<DOMString> getIdentityAssertion();
void setIdentityProvider (DOMString provider, optional RTCIdentityProviderOptions options = {});
Promise<DOMString> getIdentityAssertion ();
readonly attribute Promise<RTCIdentityAssertion> peerIdentity;
readonly attribute DOMString? idpLoginUrl;
readonly attribute DOMString? idpErrorInfo;
readonly attribute DOMString? idpLoginUrl;
readonly attribute DOMString? idpErrorInfo;
};
dictionary RTCIdentityProviderOptions {
@ -51,8 +51,9 @@ dictionary RTCIdentityProviderOptions {
DOMString peerIdentity;
};
[Constructor(DOMString idp, DOMString name), Exposed=Window]
[Exposed=Window]
interface RTCIdentityAssertion {
constructor(DOMString idp, DOMString name);
attribute DOMString idp;
attribute DOMString name;
};
@ -62,6 +63,6 @@ partial dictionary MediaStreamConstraints {
};
partial interface MediaStreamTrack {
readonly attribute boolean isolated;
readonly attribute boolean isolated;
attribute EventHandler onisolationchange;
};

View file

@ -233,7 +233,8 @@ dictionary RTCPeerConnectionIceEventInit : EventInit {
[Exposed=Window]
interface RTCPeerConnectionIceErrorEvent : Event {
constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict);
readonly attribute DOMString hostCandidate;
readonly attribute DOMString? address;
readonly attribute unsigned short? port;
readonly attribute DOMString url;
readonly attribute unsigned short errorCode;
readonly attribute USVString errorText;