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:
autofoolip 2019-08-14 10:55:39 +00:00 committed by moz-wptsync-bot
parent 67e3f8f196
commit 5db69bbecb

View File

@ -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;