mirror of
https://github.com/servo/servo.git
synced 2025-08-24 06:45:33 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
14
tests/wpt/web-platform-tests/interfaces/accelerometer.idl
Normal file
14
tests/wpt/web-platform-tests/interfaces/accelerometer.idl
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Constructor(optional SensorOptions 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]
|
||||
interface LinearAccelerationSensor : Accelerometer {
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
|
||||
interface GravitySensor : Accelerometer {
|
||||
};
|
6
tests/wpt/web-platform-tests/interfaces/gyroscope.idl
Normal file
6
tests/wpt/web-platform-tests/interfaces/gyroscope.idl
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface Gyroscope : Sensor {
|
||||
readonly attribute double? x;
|
||||
readonly attribute double? y;
|
||||
readonly attribute double? z;
|
||||
};
|
16
tests/wpt/web-platform-tests/interfaces/magnetometer.idl
Normal file
16
tests/wpt/web-platform-tests/interfaces/magnetometer.idl
Normal file
|
@ -0,0 +1,16 @@
|
|||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface Magnetometer : Sensor {
|
||||
readonly attribute double? x;
|
||||
readonly attribute double? y;
|
||||
readonly attribute double? z;
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface UncalibratedMagnetometer : Sensor {
|
||||
readonly attribute double? x;
|
||||
readonly attribute double? y;
|
||||
readonly attribute double? z;
|
||||
readonly attribute double? xBias;
|
||||
readonly attribute double? yBias;
|
||||
readonly attribute double? zBias;
|
||||
};
|
|
@ -0,0 +1,15 @@
|
|||
typedef (Float32Array or Float64Array or DOMMatrix) RotationMatrixType;
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface OrientationSensor : Sensor {
|
||||
readonly attribute FrozenArray<double>? quaternion;
|
||||
void populateMatrix(RotationMatrixType targetMatrix);
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface AbsoluteOrientationSensor : OrientationSensor {
|
||||
};
|
||||
|
||||
[Constructor(optional SensorOptions sensorOptions), SecureContext, Exposed=Window]
|
||||
interface RelativeOrientationSensor : OrientationSensor {
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue