Bug 1472256 [wpt PR 11732] - Update trivial IDL changes, a=testonly
authorLuke Bjerring <lukebjerring@users.noreply.github.com>
Fri, 06 Jul 2018 23:47:43 +0000
changeset 426116 d396738b9fbd95ff2713518fa3015710191553b2
parent 426115 610562192785827dbbcc03cbc61663351f08724c
child 426117 51a659edc01aba75e5fa9a0574e92c043655eec1
push id34267
push userrgurzau@mozilla.com
push dateWed, 11 Jul 2018 22:05:21 +0000
treeherdermozilla-central@3aca103e4915 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1472256, 11732
milestone63.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 1472256 [wpt PR 11732] - Update trivial IDL changes, a=testonly Automatic update from web-platform-testsUpdate trivial IDL changes (#11732) -- wpt-commits: 7706fe685052caf0d9295123913ed4a7dddfb6a5 wpt-pr: 11732
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/interfaces/FileAPI.idl
testing/web-platform/tests/interfaces/beacon.idl
testing/web-platform/tests/interfaces/encoding.idl
testing/web-platform/tests/interfaces/input-events.idl
testing/web-platform/tests/interfaces/mediasession.idl
testing/web-platform/tests/interfaces/orientation-sensor.idl
testing/web-platform/tests/interfaces/pointerevents.idl
testing/web-platform/tests/interfaces/pointerlock.idl
testing/web-platform/tests/interfaces/remote-playback.idl
testing/web-platform/tests/interfaces/screen-orientation.idl
testing/web-platform/tests/interfaces/selection-api.idl
testing/web-platform/tests/interfaces/sensors.idl
testing/web-platform/tests/interfaces/vibration.idl
testing/web-platform/tests/interfaces/wake-lock.idl
testing/web-platform/tests/interfaces/web-nfc.idl
testing/web-platform/tests/interfaces/web-share.idl
testing/web-platform/tests/interfaces/webdriver.idl
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -593377,17 +593377,17 @@
    "3f9bbca50917a8a3e27d4983fa792b6d2686552e",
    "support"
   ],
   "interfaces/DOM-Parsing.idl": [
    "61b8e622931ffee1b779e798e4a381959457ef45",
    "support"
   ],
   "interfaces/FileAPI.idl": [
-   "3fb06078e603a6010c2eb0fb45715c8cbda35678",
+   "7190428bcf718192ea3b183b333b1313e50069a0",
    "support"
   ],
   "interfaces/IndexedDB.idl": [
    "149cca0098cf37769391b4caa0650a7182ed8212",
    "support"
   ],
   "interfaces/InputDeviceCapabilities.idl": [
    "75bf10b0d1bda48c56cb5cd2ac1c73eb59f744fc",
@@ -593425,17 +593425,17 @@
    "272d5ef66a2df3a6c3fefaf9688802ed93a9ad5f",
    "support"
   ],
   "interfaces/battery.idl": [
    "37550560186be55b56d226be2fdecc1e36574a6d",
    "support"
   ],
   "interfaces/beacon.idl": [
-   "0c44727b2685654751d2927f9c384f7e05cc7cf3",
+   "66228ca11f9e8a5360d799bd43035b67c3b006c9",
    "support"
   ],
   "interfaces/budget-api.idl": [
    "caba22c23688d761adef48dae1b58cc13a3e90ea",
    "support"
   ],
   "interfaces/clipboard-apis.idl": [
    "f117178bf9731a8f33da624f48530b84f1ca90f4",
@@ -593505,17 +593505,17 @@
    "993f3d3b4fa58585c444a76d2a5fc9f388e65999",
    "support"
   ],
   "interfaces/dom.idl": [
    "13caf62b3918fec8ad0cf436c6a855c0d457a56d",
    "support"
   ],
   "interfaces/encoding.idl": [
-   "0dd77d1c6d854b0bdd003107c2385a224e1953f8",
+   "d03929c62005870ae2a5a2718374c7364ec86103",
    "support"
   ],
   "interfaces/encrypted-media.idl": [
    "9965e27558616e512abdfacb451a4798035cf1df",
    "support"
   ],
   "interfaces/entries-api.idl": [
    "894cdcbceaa9834b8c90db155e1220482dfcc015",
@@ -593561,17 +593561,17 @@
    "fe86c7370a537be87884d1b9da1f7b7630c6af41",
    "support"
   ],
   "interfaces/image-capture.idl": [
    "9060a5d260bb68509a1709abf5c3ed59027293ce",
    "support"
   ],
   "interfaces/input-events.idl": [
-   "99bcfa971e6b2628ab8ba174b772d56b23dee38b",
+   "1a984c4719f9bc9b31217b34002e811fb22d2c15",
    "support"
   ],
   "interfaces/keyboard-lock.idl": [
    "de86b3ca38839202b4b31e055cfb6e18591b7857",
    "support"
   ],
   "interfaces/keyboard-map.idl": [
    "1e9e311a4d347d9f036702d29ef0bc82fca04162",
@@ -593597,25 +593597,25 @@
    "a2a5e12acdc863828532e28574ed4904f0b0b2b8",
    "support"
   ],
   "interfaces/mediacapture-record.idl": [
    "2af81807d578af4bfec67e58aeb17fa194bf83b4",
    "support"
   ],
   "interfaces/mediasession.idl": [
-   "7cbe73f7f563ee45772bb466ce63e16a549548d3",
+   "378af7beb3cf20086cec84840286f5e2a33f850c",
    "support"
   ],
   "interfaces/orientation-event.idl": [
    "0188bd03cdd323e354e8e7c3d279c6983f701378",
    "support"
   ],
   "interfaces/orientation-sensor.idl": [
-   "1f0698a8611726b1ba724a5d7a0961e836c7b07e",
+   "22846ce3ca7d7e8325915a8f1cb52d97bb8467f4",
    "support"
   ],
   "interfaces/payment-handler.idl": [
    "c47c18345c06d87b7b9fe318b22d51413603f626",
    "support"
   ],
   "interfaces/payment-request.idl": [
    "669b8faf18cb5c12f135e991279b90a48d71ee97",
@@ -593629,21 +593629,21 @@
    "7fec46d25cf175390524b681cdbec7b0b76c89b9",
    "support"
   ],
   "interfaces/pointerevents-extension.idl": [
    "26055736a27852501eba7da7f0cab7c57eceb652",
    "support"
   ],
   "interfaces/pointerevents.idl": [
-   "29ca4e05813256592af7e9804e8135aaffdcc995",
+   "5bf09b0822cbd8ecd479092842de1cd80b891269",
    "support"
   ],
   "interfaces/pointerlock.idl": [
-   "6d3ff2b3f8b4015f3cb282db2cd2dbb8c2e90db5",
+   "f0f26193e73bf8e046cfd4fa33de37659d22c904",
    "support"
   ],
   "interfaces/presentation-api.idl": [
    "2f9d2c446e561acea02f9954f4f35f1c4dc61f2c",
    "support"
   ],
   "interfaces/proximity.idl": [
    "5416752c31de2d0f7a3b72941e24a0030d98599c",
@@ -593653,41 +593653,41 @@
    "8157418c11faef0a36f0829f42b070daca8b57f5",
    "support"
   ],
   "interfaces/referrer-policy.idl": [
    "04193aef279c9c8e0cb060d715d91c66045aaf17",
    "support"
   ],
   "interfaces/remote-playback.idl": [
-   "9ddb3a7bfce2454a3f7d835785db912f70521449",
+   "84f289a6f282eff4f541c03ab0ee91e3b3d9bea1",
    "support"
   ],
   "interfaces/resource-timing.idl": [
    "75fcdf5c6ac811254e1a025cd58d958f27ab5b5b",
    "support"
   ],
   "interfaces/screen-orientation.idl": [
-   "ace5a4ae79933cdfd7ecf5c3801e93f0636fe57b",
+   "80c719557dd4495a15c11585dbeaa570afafe144",
    "support"
   ],
   "interfaces/scroll-animations.idl": [
    "b8a8781f130345d09ceb3cf064ce02ef1cd1c96a",
    "support"
   ],
   "interfaces/secure-contexts.idl": [
    "27034035747147b5b460d6ee782e060cfa58b2f5",
    "support"
   ],
   "interfaces/selection-api.idl": [
-   "c8c9e45b541e511673dbe8ddd1321dceef2856b4",
+   "10e7cdeb0e3c5e3871c81e30e89e72412d3f572f",
    "support"
   ],
   "interfaces/sensors.idl": [
-   "3b2cb524838f2274463664621fddc7c927ac95af",
+   "9de43c7411213bf2ef1cd4cdab2ac78ce1357e1b",
    "support"
   ],
   "interfaces/server-timing.idl": [
    "0c9862d6e00d02a0955a1eaf2ec4f237bd060ac4",
    "support"
   ],
   "interfaces/shape-detection-api.idl": [
    "e348a282e353caac1d0bb93e453e06031b1aca75",
@@ -593713,53 +593713,53 @@
    "642e1ec46c8e57b579900f7cd10e99a8f80d552e",
    "support"
   ],
   "interfaces/user-timing.idl": [
    "41c00eec8e9c1b2137bd05e85bdc029b7a87c349",
    "support"
   ],
   "interfaces/vibration.idl": [
-   "d1f3f51b0c6a46958d4bb3e9cc8bbc85e8a74512",
+   "2cac333a4dcdb11d56a4457a31941d924911853d",
    "support"
   ],
   "interfaces/wake-lock.idl": [
-   "7d0ee3d60a923bf454e18f9116cded1cc3a16f9b",
+   "ad3e3670d5565a3fc1a1c2ec82f62a90577cf819",
    "support"
   ],
   "interfaces/web-animations.idl": [
    "a68224b17684bd43309bef57e7ad835f5f324a3a",
    "support"
   ],
   "interfaces/web-bluetooth.idl": [
    "48e51b15f2338d6b3b0a8c0a013b4f1bfdf6ca1f",
    "support"
   ],
   "interfaces/web-nfc.idl": [
-   "c81f70e3dd5a703ce38211227017a56a6262cadf",
+   "72c9cee13268a5ef29284658951a4618178130a9",
    "support"
   ],
   "interfaces/web-share.idl": [
-   "21b54128664c5962c29fd708ebba3d8d90987f26",
+   "f0a24aa4dac5f13ad837a1f9eeb31b2fbc6115a9",
    "support"
   ],
   "interfaces/webappsec-subresource-integrity.idl": [
    "059b8faf32b557e4303a8c119ab46fe58ca85102",
    "support"
   ],
   "interfaces/webaudio.idl": [
    "a2adb319de88d1d33080a837972caefa5c5c1946",
    "support"
   ],
   "interfaces/webauthn.idl": [
    "1ae8b428644479b352fd5b1996677fd4dcdbb84b",
    "support"
   ],
   "interfaces/webdriver.idl": [
-   "6f6ce7d142a9b548988c9ab2a7a13f0f1793cf6a",
+   "90c156cf51255b6c8e52c1fb887580e244c289e1",
    "support"
   ],
   "interfaces/webrtc-pc.idl": [
    "a631e2e0ea0f451c64b5d5f74fe7cbeafc231b8e",
    "support"
   ],
   "interfaces/webusb.idl": [
    "1567268ad97c23f6709c835ba5d272c0982c0a59",
--- a/testing/web-platform/tests/interfaces/FileAPI.idl
+++ b/testing/web-platform/tests/interfaces/FileAPI.idl
@@ -1,11 +1,12 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the FileAPI spec.
-// See https://w3c.github.io/FileAPI/
+// Content of this file was automatically extracted from the
+// "File API" spec.
+// See: https://w3c.github.io/FileAPI/
 
 [Constructor(optional sequence<BlobPart> blobParts,
              optional BlobPropertyBag options),
  Exposed=(Window,Worker), Serializable]
 interface Blob {
 
   readonly attribute unsigned long long size;
   readonly attribute DOMString type;
@@ -55,16 +56,17 @@ interface FileReader: EventTarget {
 
   void abort();
 
   // states
   const unsigned short EMPTY = 0;
   const unsigned short LOADING = 1;
   const unsigned short DONE = 2;
 
+
   readonly attribute unsigned short readyState;
 
   // File or Blob data
   readonly attribute (DOMString or ArrayBuffer)? result;
 
   readonly attribute DOMException? error;
 
   // event handler content attributes
--- a/testing/web-platform/tests/interfaces/beacon.idl
+++ b/testing/web-platform/tests/interfaces/beacon.idl
@@ -1,8 +1,8 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content of this file was automatically extracted from the
 // "Beacon" spec.
 // See: https://w3c.github.io/beacon/
 
 partial interface Navigator {
-    boolean sendBeacon(USVString url, optional BodyInit? data = null);
+    boolean sendBeacon(USVString url,optional  BodyInit? data = null);
 };
--- a/testing/web-platform/tests/interfaces/encoding.idl
+++ b/testing/web-platform/tests/interfaces/encoding.idl
@@ -1,8 +1,13 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Encoding Standard" spec.
+// See: https://encoding.spec.whatwg.org/
+
 dictionary TextDecoderOptions {
   boolean fatal = false;
   boolean ignoreBOM = false;
 };
 
 dictionary TextDecodeOptions {
   boolean stream = false;
 };
@@ -10,15 +15,14 @@ dictionary TextDecodeOptions {
 [Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
  Exposed=(Window,Worker)]
 interface TextDecoder {
   readonly attribute DOMString encoding;
   readonly attribute boolean fatal;
   readonly attribute boolean ignoreBOM;
   USVString decode(optional BufferSource input, optional TextDecodeOptions options);
 };
-
 [Constructor,
  Exposed=(Window,Worker)]
 interface TextEncoder {
   readonly attribute DOMString encoding;
   [NewObject] Uint8Array encode(optional USVString input = "");
 };
--- a/testing/web-platform/tests/interfaces/input-events.idl
+++ b/testing/web-platform/tests/interfaces/input-events.idl
@@ -1,11 +1,16 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Input Events Level 1" spec.
+// See: https://rawgit.com/w3c/input-events/v1/index.html
+
 partial interface InputEvent {
-  readonly attribute DOMString inputType;
-  readonly attribute DataTransfer? dataTransfer;
-  sequence<StaticRange> getTargetRanges();
+    readonly attribute DOMString     inputType;
+    readonly attribute DataTransfer? dataTransfer;
+    sequence<StaticRange> getTargetRanges();
 };
 
 partial dictionary InputEventInit {
-  DOMString inputType = "";
-  DataTransfer? dataTransfer = null;
-  sequence<StaticRange> targetRanges = [];
+    DOMString             inputType = "";
+    DataTransfer?         dataTransfer = null;
+    sequence<StaticRange> targetRanges = [];
 };
--- a/testing/web-platform/tests/interfaces/mediasession.idl
+++ b/testing/web-platform/tests/interfaces/mediasession.idl
@@ -1,8 +1,13 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Media Session Standard" spec.
+// See: https://wicg.github.io/mediasession/
+
 [Exposed=Window]
 partial interface Navigator {
   [SameObject] readonly attribute MediaSession mediaSession;
 };
 
 enum MediaSessionPlaybackState {
   "none",
   "paused",
@@ -18,17 +23,19 @@ enum MediaSessionAction {
   "nexttrack",
 };
 
 callback MediaSessionActionHandler = void();
 
 [Exposed=Window]
 interface MediaSession {
   attribute MediaMetadata? metadata;
+
   attribute MediaSessionPlaybackState playbackState;
+
   void setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler);
 };
 
 [Constructor(optional MediaMetadataInit init), Exposed=Window]
 interface MediaMetadata {
   attribute DOMString title;
   attribute DOMString artist;
   attribute DOMString album;
--- a/testing/web-platform/tests/interfaces/orientation-sensor.idl
+++ b/testing/web-platform/tests/interfaces/orientation-sensor.idl
@@ -1,19 +1,24 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Orientation Sensor" spec.
+// See: https://w3c.github.io/orientation-sensor/
+
 typedef (Float32Array or Float64Array or DOMMatrix) RotationMatrixType;
 
 [SecureContext, Exposed=Window]
 interface OrientationSensor : Sensor {
   readonly attribute FrozenArray<double>? quaternion;
   void populateMatrix(RotationMatrixType targetMatrix);
 };
 
 enum OrientationSensorLocalCoordinateSystem { "device", "screen" };
 
-dictionary OrientationSensorOptions : SensorOptions  {
+dictionary OrientationSensorOptions : SensorOptions {
   OrientationSensorLocalCoordinateSystem referenceFrame = "device";
 };
 
 [Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
 interface AbsoluteOrientationSensor : OrientationSensor {
 };
 
 [Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window]
--- a/testing/web-platform/tests/interfaces/pointerevents.idl
+++ b/testing/web-platform/tests/interfaces/pointerevents.idl
@@ -1,53 +1,52 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Pointer Events spec.
-// See https://w3c.github.io/pointerevents/
+// Content of this file was automatically extracted from the
+// "Pointer Events" spec.
+// See: https://w3c.github.io/pointerevents/
 
 dictionary PointerEventInit : MouseEventInit {
-    long        pointerId = 0;
-    double      width = 1;
-    double      height = 1;
-    float       pressure = 0;
-    float       tangentialPressure = 0;
-    long        tiltX = 0;
-    long        tiltY = 0;
-    long        twist = 0;
-    DOMString   pointerType = "";
-    boolean     isPrimary = false;
+    long      pointerId = 0;
+    double    width = 1;
+    double    height = 1;
+    float     pressure = 0;
+    float     tangentialPressure = 0;
+    long      tiltX = 0;
+    long      tiltY = 0;
+    long      twist = 0;
+    DOMString pointerType = "";
+    boolean   isPrimary = false;
 };
 
-[Constructor(DOMString type, optional PointerEventInit eventInitDict), Exposed=Window]
+[Constructor(DOMString type, optional PointerEventInit eventInitDict),
+ Exposed=Window]
 interface PointerEvent : MouseEvent {
-    readonly        attribute long        pointerId;
-    readonly        attribute double      width;
-    readonly        attribute double      height;
-    readonly        attribute float       pressure;
-    readonly        attribute float       tangentialPressure;
-    readonly        attribute long        tiltX;
-    readonly        attribute long        tiltY;
-    readonly        attribute long        twist;
-    readonly        attribute DOMString   pointerType;
-    readonly        attribute boolean     isPrimary;
+    readonly attribute long      pointerId;
+    readonly attribute double    width;
+    readonly attribute double    height;
+    readonly attribute float     pressure;
+    readonly attribute float     tangentialPressure;
+    readonly attribute long      tiltX;
+    readonly attribute long      tiltY;
+    readonly attribute long      twist;
+    readonly attribute DOMString pointerType;
+    readonly attribute boolean   isPrimary;
 };
-
 partial interface Element {
-  void setPointerCapture (long pointerId);
-  void releasePointerCapture (long pointerId);
-  boolean hasPointerCapture (long pointerId);
+    void    setPointerCapture(long pointerId);
+    void    releasePointerCapture(long pointerId);
+    boolean hasPointerCapture(long pointerId);
 };
-
 partial interface GlobalEventHandlers {
     attribute EventHandler ongotpointercapture;
     attribute EventHandler onlostpointercapture;
     attribute EventHandler onpointerdown;
     attribute EventHandler onpointermove;
     attribute EventHandler onpointerup;
     attribute EventHandler onpointercancel;
     attribute EventHandler onpointerover;
     attribute EventHandler onpointerout;
     attribute EventHandler onpointerenter;
     attribute EventHandler onpointerleave;
 };
-
 partial interface Navigator {
-    readonly  attribute long maxTouchPoints;
+    readonly attribute long maxTouchPoints;
 };
--- a/testing/web-platform/tests/interfaces/pointerlock.idl
+++ b/testing/web-platform/tests/interfaces/pointerlock.idl
@@ -1,27 +1,24 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Pointer Lock spec.
-// See https://w3c.github.io/pointerlock/
+// Content of this file was automatically extracted from the
+// "Pointer Lock 2.0" spec.
+// See: https://w3c.github.io/pointerlock/
 
 partial interface Element {
-  void requestPointerLock();
+    void requestPointerLock();
 };
-
 partial interface Document {
-  attribute EventHandler onpointerlockchange;
-  attribute EventHandler onpointerlockerror;
-  void exitPointerLock();
+    attribute EventHandler onpointerlockchange;
+    attribute EventHandler onpointerlockerror;
+    void exitPointerLock();
 };
-
 partial interface DocumentOrShadowRoot {
-  readonly attribute Element ? pointerLockElement;
+    readonly attribute Element? pointerLockElement;
 };
-
 partial interface MouseEvent {
-  readonly attribute long movementX;
-  readonly attribute long movementY;
+    readonly attribute long movementX;
+    readonly attribute long movementY;
 };
-
 partial dictionary MouseEventInit {
-  long movementX = 0;
-  long movementY = 0;
+    long movementX = 0;
+    long movementY = 0;
 };
--- a/testing/web-platform/tests/interfaces/remote-playback.idl
+++ b/testing/web-platform/tests/interfaces/remote-playback.idl
@@ -1,31 +1,33 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Remote Playback API spec.
-// See https://w3c.github.io/remote-playback/
+// Content of this file was automatically extracted from the
+// "Remote Playback API" spec.
+// See: https://w3c.github.io/remote-playback/
 
 [Exposed=Window]
 interface RemotePlayback : EventTarget {
-  Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
-  Promise<void> cancelWatchAvailability(optional long id);
+    Promise<long> watchAvailability(RemotePlaybackAvailabilityCallback callback);
+    Promise<void> cancelWatchAvailability(optional long id);
 
-  readonly attribute RemotePlaybackState state;
+    readonly attribute RemotePlaybackState state;
 
-  attribute EventHandler onconnecting;
-  attribute EventHandler onconnect;
-  attribute EventHandler ondisconnect;
+             attribute EventHandler        onconnecting;
+             attribute EventHandler        onconnect;
+             attribute EventHandler        ondisconnect;
 
-  Promise<void> prompt();
+    Promise<void> prompt();
 };
 
 enum RemotePlaybackState {
-  "connecting",
-  "connected",
-  "disconnected"
+    "connecting",
+    "connected",
+    "disconnected"
 };
 
-callback RemotePlaybackAvailabilityCallback = void(boolean available);
-
+callback RemotePlaybackAvailabilityCallback = void (boolean available);
 partial interface HTMLMediaElement {
-  [SameObject] readonly attribute RemotePlayback remote;
+    [SameObject]
+    readonly attribute RemotePlayback remote;
 
-  [CEReactions] attribute boolean disableRemotePlayback;
+    [CEReactions]
+             attribute boolean        disableRemotePlayback;
 };
--- a/testing/web-platform/tests/interfaces/screen-orientation.idl
+++ b/testing/web-platform/tests/interfaces/screen-orientation.idl
@@ -1,34 +1,33 @@
 // 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/
+// Content of this file was automatically extracted from the
+// "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"
 };
--- a/testing/web-platform/tests/interfaces/selection-api.idl
+++ b/testing/web-platform/tests/interfaces/selection-api.idl
@@ -1,42 +1,45 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Selection API spec.
-// See https://w3c.github.io/selection-api/
+// Content of this file was automatically extracted from the
+// "Selection API" spec.
+// See: https://w3c.github.io/selection-api/
 
 interface Selection {
-  readonly attribute Node? anchorNode;
-  readonly attribute unsigned long anchorOffset;
-  readonly attribute Node? focusNode;
-  readonly attribute unsigned long focusOffset;
-  readonly attribute boolean isCollapsed;
-  readonly attribute unsigned long rangeCount;
-  readonly attribute DOMString type;
-  Range getRangeAt(unsigned long index);
-  void addRange(Range range);
-  void removeRange(Range range);
-  void removeAllRanges();
-  void empty();
-  void collapse(Node? node, optional unsigned long offset = 0);
-  void setPosition(Node? node, optional unsigned long offset = 0);
-  void collapseToStart();
-  void collapseToEnd();
-  void extend(Node node, optional unsigned long offset = 0);
-  void setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
-  void selectAllChildren(Node node);
-  [CEReactions]
-  void deleteFromDocument();
-  boolean containsNode(Node node, optional boolean allowPartialContainment = false);
-  stringifier DOMString ();
+    readonly attribute Node?         anchorNode;
+    readonly attribute unsigned long anchorOffset;
+    readonly attribute Node?         focusNode;
+    readonly attribute unsigned long focusOffset;
+    readonly attribute boolean       isCollapsed;
+    readonly attribute unsigned long rangeCount;
+    readonly attribute DOMString     type;
+    Range                 getRangeAt(unsigned long index);
+    void                  addRange(Range range);
+    void                  removeRange(Range range);
+    void                  removeAllRanges();
+    void                  empty();
+    void                  collapse(Node? node,
+                                   optional unsigned long offset = 0);
+    void                  setPosition(Node? node,
+                                      optional unsigned long offset = 0);
+    void                  collapseToStart();
+    void                  collapseToEnd();
+    void                  extend(Node node, optional unsigned long offset = 0);
+    void                  setBaseAndExtent(Node anchorNode,
+                                           unsigned long anchorOffset,
+                                           Node focusNode,
+                                           unsigned long focusOffset);
+    void                  selectAllChildren(Node node);
+    [CEReactions] void                  deleteFromDocument();
+    boolean               containsNode(Node node,
+                                       optional boolean allowPartialContainment = false);
+    stringifier DOMString ();
 };
-
 partial interface Document {
-  Selection ? getSelection();
+    Selection? getSelection();
 };
-
 partial interface Window {
-  Selection? getSelection();
+    Selection? getSelection();
 };
-
 partial interface GlobalEventHandlers {
-  attribute EventHandler onselectstart;
-  attribute EventHandler onselectionchange;
+    attribute EventHandler onselectstart;
+    attribute EventHandler onselectionchange;
 };
--- a/testing/web-platform/tests/interfaces/sensors.idl
+++ b/testing/web-platform/tests/interfaces/sensors.idl
@@ -1,8 +1,12 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the Generic Sensor API spec.
+// See https://w3c.github.io/sensors/
+
 [SecureContext, Exposed=Window]
 interface Sensor : EventTarget {
   readonly attribute boolean activated;
   readonly attribute boolean hasReading;
   readonly attribute DOMHighResTimeStamp? timestamp;
   void start();
   void stop();
   attribute EventHandler onreading;
--- a/testing/web-platform/tests/interfaces/vibration.idl
+++ b/testing/web-platform/tests/interfaces/vibration.idl
@@ -1,9 +1,10 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Vibration API spec.
-// See https://w3c.github.io/vibration/
+// Content of this file was automatically extracted from the
+// "Vibration API (Second Edition)" spec.
+// See: https://w3c.github.io/vibration/
 
 typedef (unsigned long or sequence<unsigned long>) VibratePattern;
 
 partial interface Navigator {
-    boolean vibrate (VibratePattern pattern);
+    boolean vibrate(VibratePattern pattern);
 };
--- a/testing/web-platform/tests/interfaces/wake-lock.idl
+++ b/testing/web-platform/tests/interfaces/wake-lock.idl
@@ -1,23 +1,25 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Wake Lock API" spec.
+// See: https://w3c.github.io/wake-lock/
+
 enum WakeLockType {
     "screen",
     "system"
 };
-
 partial interface Navigator {
     [SecureContext] Promise<WakeLock> getWakeLock(WakeLockType type);
 };
-
 [SecureContext,
  Exposed=Window]
 interface WakeLock : EventTarget {
     readonly attribute WakeLockType type;
     readonly attribute boolean      active;
              attribute EventHandler onactivechange;
     WakeLockRequest createRequest();
 };
-
 [SecureContext,
  Exposed=Window]
 interface WakeLockRequest {
     void cancel();
 };
--- a/testing/web-platform/tests/interfaces/web-nfc.idl
+++ b/testing/web-platform/tests/interfaces/web-nfc.idl
@@ -1,63 +1,60 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content of this file was automatically extracted from the
+// "Web NFC API" spec.
+// See: https://w3c.github.io/web-nfc/
+
 dictionary NFCMessage {
     sequence<NFCRecord> records;
     USVString           url;
 };
-
 typedef (DOMString or unrestricted double or ArrayBuffer or Dictionary) NFCRecordData;
 
 dictionary NFCRecord {
     NFCRecordType recordType;
     USVString     mediaType;
     NFCRecordData data;
 };
-
 enum NFCRecordType {
     "empty",
     "text",
     "url",
     "json",
     "opaque"
 };
-
 partial interface Navigator {
     [SecureContext,
      SameObject]
     readonly attribute NFC nfc;
 };
-
 typedef (DOMString or ArrayBuffer or NFCMessage) NFCPushMessage;
 
 [SecureContext]
 interface NFC {
     Promise<void> push(NFCPushMessage message, optional NFCPushOptions options);
     Promise<void> cancelPush(optional NFCPushTarget target = "any");
     Promise<long> watch(MessageCallback callback,
                         optional NFCWatchOptions options);
     Promise<void> cancelWatch(optional long id);
 };
 
 callback MessageCallback = void (NFCMessage message);
-
 dictionary NFCPushOptions {
     NFCPushTarget       target = "any";
     unrestricted double timeout = Infinity;
     boolean             ignoreRead = true;
 };
-
 enum NFCPushTarget {
     "tag",
     "peer",
     "any"
 };
-
 dictionary NFCWatchOptions {
     USVString      url = "";
     NFCRecordType? recordType;
     USVString      mediaType = "";
     NFCWatchMode   mode = "web-nfc-only";
 };
-
 enum NFCWatchMode {
     "web-nfc-only",
     "any"
 };
--- a/testing/web-platform/tests/interfaces/web-share.idl
+++ b/testing/web-platform/tests/interfaces/web-share.idl
@@ -1,13 +1,13 @@
 // GENERATED CONTENT - DO NOT EDIT
-// Content of this file was automatically extracted from the Web Share API spec.
-// See https://wicg.github.io/web-share/
+// Content of this file was automatically extracted from the
+// "Web Share API" spec.
+// See: https://wicg.github.io/web-share/
 
 partial interface Navigator {
-  [SecureContext] Promise<void> share(optional ShareData data);
+    [SecureContext] Promise<void> share(optional ShareData data);
 };
-
 dictionary ShareData {
-  USVString title;
-  USVString text;
-  USVString url;
+    USVString title;
+    USVString text;
+    USVString url;
 };
--- a/testing/web-platform/tests/interfaces/webdriver.idl
+++ b/testing/web-platform/tests/interfaces/webdriver.idl
@@ -1,9 +1,9 @@
 // GENERATED CONTENT - DO NOT EDIT
 // Content of this file was automatically extracted from the
 // "WebDriver" spec.
-// See: https://w3c.github.io/webdriver/webdriver-spec.html
+// See: https://w3c.github.io/webdriver/
 
 Navigator includes NavigatorAutomationInformation;
 interface mixin NavigatorAutomationInformation {
     readonly attribute boolean webdriver;
 };