https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 359eccb6387fbcddabd822041f03649c61215c4e authored by Benjamin C. Wiley Sittler on 12 January 2018, 19:56:25 UTC
Async Cookies API: additional getAll coverage for unprefixed cookies
Tip revision: 359eccb
orientation-sensor.idl
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 {
};
back to top