mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1573007 [wpt PR 18380] - Update interfaces/magnetometer.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/magnetometer.idl (#18380) Source: https://github.com/tidoust/reffy-reports/blob/3336bd0/whatwg/idl/magnetometer.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/570123391 -- wpt-commits: 74383cb9108c25128f5a358378a34e2177890535 wpt-pr: 18380
This commit is contained in:
parent
67e3f8f196
commit
5db69bbecb
@ -3,7 +3,7 @@
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: Magnetometer (https://w3c.github.io/magnetometer/)
|
||||
|
||||
[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
|
||||
[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext,
|
||||
Exposed=Window]
|
||||
interface Magnetometer : Sensor {
|
||||
readonly attribute double? x;
|
||||
@ -17,7 +17,7 @@ dictionary MagnetometerSensorOptions : SensorOptions {
|
||||
MagnetometerLocalCoordinateSystem referenceFrame = "device";
|
||||
};
|
||||
|
||||
[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext,
|
||||
[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext,
|
||||
Exposed=Window]
|
||||
interface UncalibratedMagnetometer : Sensor {
|
||||
readonly attribute double? x;
|
||||
|
Loading…
Reference in New Issue
Block a user