Update web-platform-tests to revision 2332a6bd8ab3d47986492a44d7a0455dfb4ad823

This commit is contained in:
WPT Sync Bot 2019-08-04 10:26:10 +00:00
parent d2856ce8ae
commit c789859814
350 changed files with 5147 additions and 1855 deletions

View file

@ -102,9 +102,9 @@ interface SpeechGrammarList {
readonly attribute unsigned long length;
getter SpeechGrammar item(unsigned long index);
void addFromURI(DOMString src,
optional float weight);
optional float weight = 1.0);
void addFromString(DOMString string,
optional float weight);
optional float weight = 1.0);
};
[Exposed=Window]

View file

@ -20,6 +20,7 @@ typedef (DOMString or unrestricted double or ArrayBuffer or object) NDEFRecordDa
interface NDEFRecord {
readonly attribute NDEFRecordType recordType;
readonly attribute USVString mediaType;
USVString toText();
[NewObject] ArrayBuffer toArrayBuffer();
[NewObject] object toJSON();
@ -28,6 +29,7 @@ interface NDEFRecord {
dictionary NDEFRecordInit {
NDEFRecordType recordType;
USVString mediaType;
NDEFRecordData data;
};

View file

@ -18,8 +18,7 @@ partial interface Navigator {
enum XRSessionMode {
"inline",
"immersive-vr",
"immersive-ar"
"immersive-vr"
};
dictionary XRSessionInit {
@ -139,15 +138,6 @@ interface XRRigidTransform {
[SameObject] readonly attribute XRRigidTransform inverse;
};
[SecureContext, Exposed=Window,
Constructor(optional DOMPointInit origin, optional DOMPointInit direction),
Constructor(XRRigidTransform transform)]
interface XRRay {
[SameObject] readonly attribute DOMPointReadOnly origin;
[SameObject] readonly attribute DOMPointReadOnly direction;
readonly attribute Float32Array matrix;
};
[SecureContext, Exposed=Window] interface XRPose {
[SameObject] readonly attribute XRRigidTransform transform;
readonly attribute boolean emulatedPosition;
@ -175,7 +165,6 @@ interface XRInputSource {
readonly attribute XRTargetRayMode targetRayMode;
[SameObject] readonly attribute XRSpace targetRaySpace;
[SameObject] readonly attribute XRSpace? gripSpace;
[SameObject] readonly attribute Gamepad? gamepad;
[SameObject] readonly attribute FrozenArray<DOMString> profiles;
};
@ -186,12 +175,6 @@ interface XRInputSourceArray {
getter XRInputSource(unsigned long index);
};
enum GamepadMappingType {
"", // Defined in the Gamepad API
"standard", // Defined in the Gamepad API
"xr-standard",
};
typedef (WebGLRenderingContext or
WebGL2RenderingContext) XRWebGLRenderingContext;