Bug 1583503 [wpt PR 19252] - Update interfaces/orientation-event.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 25 Sep 2019 16:57:02 +0000
changeset 495253 6cffe0ec10b08ed883347d5474d94f14ea724647
parent 495252 86acc8523611dd1bfeb02aa801b7ed91f1cd6aea
child 495254 8526c52a6f89d7e8299f0866135e8eb23d4cff09
push id36625
push userbtara@mozilla.com
push dateFri, 27 Sep 2019 09:48:17 +0000
treeherdermozilla-central@aa8f530a1a35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1583503, 19252
milestone71.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 1583503 [wpt PR 19252] - Update interfaces/orientation-event.idl, a=testonly Automatic update from web-platform-tests Update interfaces/orientation-event.idl (#19252) Source: https://github.com/tidoust/reffy-reports/blob/1c5a999/ed/idl/orientation-event.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/588932563 -- wpt-commits: 81ea692803a63bbb06dbd1c99996b8c30ce7df6a wpt-pr: 19252
testing/web-platform/tests/interfaces/orientation-event.idl
--- a/testing/web-platform/tests/interfaces/orientation-event.idl
+++ b/testing/web-platform/tests/interfaces/orientation-event.idl
@@ -2,18 +2,19 @@
 // Content was automatically extracted by Reffy into reffy-reports
 // (https://github.com/tidoust/reffy-reports)
 // Source: DeviceOrientation Event Specification (https://w3c.github.io/deviceorientation/)
 
 partial interface Window {
     [SecureContext] attribute EventHandler ondeviceorientation;
 };
 
-[Constructor(DOMString type, optional DeviceOrientationEventInit eventInitDict = {}), Exposed=Window, SecureContext]
+[Exposed=Window, SecureContext]
 interface DeviceOrientationEvent : Event {
+    constructor(DOMString type, optional DeviceOrientationEventInit eventInitDict = {});
     readonly attribute double? alpha;
     readonly attribute double? beta;
     readonly attribute double? gamma;
     readonly attribute boolean absolute;
 
     static Promise<PermissionState> requestPermission();
 };
 
@@ -36,32 +37,33 @@ partial interface Window {
 partial interface Window {
     attribute EventHandler oncompassneedscalibration;
 };
 
 partial interface Window {
     [SecureContext] attribute EventHandler ondevicemotion;
 };
 
-[SecureContext]
+[Exposed=Window, SecureContext]
 interface DeviceMotionEventAcceleration {
     readonly attribute double? x;
     readonly attribute double? y;
     readonly attribute double? z;
 };
 
-[SecureContext]
+[Exposed=Window, SecureContext]
 interface DeviceMotionEventRotationRate {
     readonly attribute double? alpha;
     readonly attribute double? beta;
     readonly attribute double? gamma;
 };
 
-[Constructor(DOMString type, optional DeviceMotionEventInit eventInitDict = {}), Exposed=Window, SecureContext]
+[Exposed=Window, SecureContext]
 interface DeviceMotionEvent : Event {
+    constructor(DOMString type, optional DeviceMotionEventInit eventInitDict = {});
     readonly attribute DeviceMotionEventAcceleration? acceleration;
     readonly attribute DeviceMotionEventAcceleration? accelerationIncludingGravity;
     readonly attribute DeviceMotionEventRotationRate? rotationRate;
     readonly attribute double interval;
 
     static Promise<PermissionState> requestPermission();
 };