Update web-platform-tests to revision 6d85a3b422cab97d032ad3db47cb741ca364185f

This commit is contained in:
WPT Sync Bot 2018-02-08 20:20:17 -05:00
parent cd663ea332
commit b524b7c279
37 changed files with 1446 additions and 178 deletions

View file

@ -1,11 +1,17 @@
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
enum LocalCoordinateSystem { "device", "screen" };
dictionary SpatialSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
interface Accelerometer : Sensor {
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
[Constructor(optional SpatialSensorOptions options), SecureContext, Exposed=Window]
interface LinearAccelerationSensor : Accelerometer {
};