Bug 1452643 [wpt PR 9827] - Update the screen-orientation IDL file, a=testonly
authorLuke Bjerring <lukebjerring@users.noreply.github.com>
Mon, 09 Apr 2018 16:53:19 +0000
changeset 467055 736f2837c320df202e3331b09be38a8e7dec06d3
parent 467054 8c3991b579415f5c0331d8504b8d2bf3caff6305
child 467056 562d9c5f3aabdc763e410e6b2f792213f1c9c272
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1452643
milestone61.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 1452643 [wpt PR 9827] - Update the screen-orientation IDL file, a=testonly Automatic update from web-platform-testsUpdate the screen-orientation IDL file (#9827) wpt-commits: 6534d852f8bcef689ffa4023325c8cbaa71cdf9c wpt-pr: 9827 wpt-commits: 6534d852f8bcef689ffa4023325c8cbaa71cdf9c wpt-pr: 9827
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/interfaces/screen-orientation.idl
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -571988,17 +571988,17 @@
    "74f2bf81a497589e7b3ed323368df218a70925a3",
    "support"
   ],
   "interfaces/remoteplayback.idl": [
    "fc724b70bc1e1d30e538ee5154a99d4871414302",
    "support"
   ],
   "interfaces/screen-orientation.idl": [
-   "b280c2a72795d4abd55a361a0afd8adce70562dc",
+   "ace5a4ae79933cdfd7ecf5c3801e93f0636fe57b",
    "support"
   ],
   "interfaces/selection-api.idl": [
    "f9f483a150b0e918f653f6ce4e84eb9c044d921f",
    "support"
   ],
   "interfaces/sensors.idl": [
    "3b2cb524838f2274463664621fddc7c927ac95af",
--- a/testing/web-platform/tests/interfaces/screen-orientation.idl
+++ b/testing/web-platform/tests/interfaces/screen-orientation.idl
@@ -1,28 +1,34 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the Screen Orientation API spec.
+// See https://w3c.github.io/screen-orientation/
+
 partial interface Screen {
-    [SameObject]
-    readonly attribute ScreenOrientation orientation;
+  [SameObject] readonly attribute ScreenOrientation orientation;
 };
+
 [Exposed=Window]
 interface ScreenOrientation : EventTarget {
-    Promise<void> lock(OrientationLockType orientation);
-    void          unlock();
-    readonly attribute OrientationType type;
-    readonly attribute unsigned short  angle;
-             attribute EventHandler    onchange;
+  Promise<void> lock(OrientationLockType orientation);
+  void unlock();
+  readonly attribute OrientationType type;
+  readonly attribute unsigned short angle;
+  attribute EventHandler onchange;
 };
+
 enum OrientationType {
-    "portrait-primary",
-    "portrait-secondary",
-    "landscape-primary",
-    "landscape-secondary"
+  "portrait-primary",
+  "portrait-secondary",
+  "landscape-primary",
+  "landscape-secondary"
 };
+
 enum OrientationLockType {
-    "any",
-    "natural",
-    "landscape",
-    "portrait",
-    "portrait-primary",
-    "portrait-secondary",
-    "landscape-primary",
-    "landscape-secondary"
+  "any",
+  "natural",
+  "landscape",
+  "portrait",
+  "portrait-primary",
+  "portrait-secondary",
+  "landscape-primary",
+  "landscape-secondary"
 };