Update web-platform-tests to revision d04c0d50dbbf7752c27957005a5a659701b781ad

This commit is contained in:
WPT Sync Bot 2018-02-15 20:09:00 -05:00
parent ff58cb0a3f
commit 44c252aede
56 changed files with 1921 additions and 67 deletions

View file

@ -6,10 +6,16 @@ interface OrientationSensor : Sensor {
void populateMatrix(RotationMatrixType targetMatrix);
};
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
enum LocalCoordinateSystem { "device", "screen" };
dictionary OrientationSensorOptions : SensorOptions {
LocalCoordinateSystem referenceFrame = "device";
};
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface AbsoluteOrientationSensor : OrientationSensor {
};
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
interface RelativeOrientationSensor : OrientationSensor {
};