Bug 1573094 [wpt PR 18384] - Update interfaces/orientation-sensor.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 14 Aug 2019 10:56:14 +0000
changeset 488109 3eef760ffbf7f87d44ef3b65ce610a3f135fbaed
parent 488108 5849833df5b7fd60a1f59646dcf2682a8823fb95
child 488110 1e63e0974c28c5978d9953285edda9a2cb5e1f7c
push id36435
push usercbrindusan@mozilla.com
push dateThu, 15 Aug 2019 09:46:49 +0000
treeherdermozilla-central@0db07ff50ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1573094, 18384
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1573094 [wpt PR 18384] - Update interfaces/orientation-sensor.idl, a=testonly Automatic update from web-platform-tests Update interfaces/orientation-sensor.idl (#18384) Source: https://github.com/tidoust/reffy-reports/blob/3336bd0/whatwg/idl/orientation-sensor.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/570123391 -- wpt-commits: f8d69df92be6ef8fa076b6a8d933fd341fe36606 wpt-pr: 18384
testing/web-platform/tests/interfaces/orientation-sensor.idl
--- a/testing/web-platform/tests/interfaces/orientation-sensor.idl
+++ b/testing/web-platform/tests/interfaces/orientation-sensor.idl
@@ -12,21 +12,21 @@ interface OrientationSensor : Sensor {
 };
 
 enum OrientationSensorLocalCoordinateSystem { "device", "screen" };
 
 dictionary OrientationSensorOptions : SensorOptions {
   OrientationSensorLocalCoordinateSystem referenceFrame = "device";
 };
 
-[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
+[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
 interface AbsoluteOrientationSensor : OrientationSensor {
 };
 
-[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
+[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
 interface RelativeOrientationSensor : OrientationSensor {
 };
 
 dictionary AbsoluteOrientationReadingValues {
   required FrozenArray<double>? quaternion;
 };
 
 dictionary RelativeOrientationReadingValues : AbsoluteOrientationReadingValues {