Bug 1545822 - Clean up some whitespace in XPIDL files. r=froydnj
authorAndrew McCreight <continuation@gmail.com>
Sun, 21 Apr 2019 01:47:00 +0000
changeset 470303 0f12aebacdd6845bed9e7f2cbf8e33dbd9b50b8b
parent 470302 076077f53326a60ce878f3057cfeb00db15c927a
child 470304 79b7450eff2c0f80bb24cee2a1a3938640d4ae1a
push id35895
push userrmaries@mozilla.com
push dateSun, 21 Apr 2019 10:22:51 +0000
treeherdermozilla-central@133b9a6eafeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1545822
milestone68.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 1545822 - Clean up some whitespace in XPIDL files. r=froydnj The attributes for an interface should be on the line right before the interface. Interface attributes should be separated by spaces. Clean up some trailing whitespace in widget/. Differential Revision: https://phabricator.services.mozilla.com/D28234
caps/nsIAddonPolicyService.idl
dom/base/nsIContentPolicy.idl
dom/interfaces/base/nsIBrowserDOMWindow.idl
dom/interfaces/base/nsIFocusManager.idl
dom/media/webrtc/nsITabSource.idl
editor/composer/nsIEditingSession.idl
editor/nsIEditActionListener.idl
editor/nsIEditorMailSupport.idl
editor/nsIEditorStyleSheets.idl
editor/nsIHTMLInlineTableEditor.idl
editor/nsIURIRefObject.idl
extensions/spellcheck/idl/mozIPersonalDictionary.idl
extensions/spellcheck/idl/mozISpellCheckingEngine.idl
intl/l10n/mozIDOMLocalization.idl
netwerk/base/nsIPermission.idl
netwerk/base/nsPISocketTransportService.idl
netwerk/cookie/nsICookie2.idl
security/manager/ssl/nsISecurityUITelemetry.idl
toolkit/components/extensions/mozIExtensionProcessScript.idl
toolkit/components/passwordmgr/nsILoginInfo.idl
toolkit/components/passwordmgr/nsILoginManagerCrypto.idl
toolkit/components/passwordmgr/nsILoginManagerStorage.idl
toolkit/components/passwordmgr/nsILoginMetaInfo.idl
toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl
toolkit/components/windowcreator/nsIWindowCreator.idl
toolkit/components/windowcreator/nsIWindowCreator2.idl
toolkit/components/windowwatcher/nsPIWindowWatcher.idl
toolkit/components/xulstore/nsIXULStore.idl
widget/nsIPrintSession.idl
widget/nsIPrintSettings.idl
widget/nsIPrintSettingsWin.idl
widget/nsIPrinterEnumerator.idl
--- a/caps/nsIAddonPolicyService.idl
+++ b/caps/nsIAddonPolicyService.idl
@@ -6,17 +6,17 @@
 
 #include "nsISupports.idl"
 #include "nsIURI.idl"
 
 /**
  * This interface allows the security manager to query custom per-addon security
  * policy.
  */
-[scriptable,uuid(8a034ef9-9d14-4c5d-8319-06c1ab574baa)]
+[scriptable, uuid(8a034ef9-9d14-4c5d-8319-06c1ab574baa)]
 interface nsIAddonPolicyService : nsISupports
 {
   /**
    * Returns the base content security policy, which is applied to all
    * extension documents, in addition to any custom policies.
    */
   readonly attribute AString baseCSP;
 
@@ -68,17 +68,17 @@ interface nsIAddonPolicyService : nsISup
    */
   AString extensionURIToAddonId(in nsIURI aURI);
 };
 
 /**
  * This interface exposes functionality related to add-on content policy
  * enforcement.
  */
-[scriptable,uuid(7a4fe60b-9131-45f5-83f3-dc63b5d71a5d)]
+[scriptable, uuid(7a4fe60b-9131-45f5-83f3-dc63b5d71a5d)]
 interface nsIAddonContentPolicy : nsISupports
 {
   /**
    * Checks a custom content security policy string, to ensure that it meets
    * minimum security requirements. Returns null for valid policies, or a
    * string describing the error for invalid policies.
    */
   AString validateAddonCSP(in AString aPolicyString);
--- a/dom/base/nsIContentPolicy.idl
+++ b/dom/base/nsIContentPolicy.idl
@@ -18,17 +18,17 @@ typedef unsigned long nsContentPolicyTyp
  * Interface for content policy mechanism.  Implementations of this
  * interface can be used to control loading of various types of out-of-line
  * content, or processing of certain types of in-line content.
  *
  * WARNING: do not block the caller from shouldLoad or shouldProcess (e.g.,
  * by launching a dialog to prompt the user for something).
  */
 
-[scriptable,uuid(caad4f1f-d047-46ac-ae9d-dc598e4fb91b)]
+[scriptable, uuid(caad4f1f-d047-46ac-ae9d-dc598e4fb91b)]
 interface nsIContentPolicy : nsISupports
 {
   /**
    * Indicates a unset or bogus policy type.
    */
   const nsContentPolicyType TYPE_INVALID = 0;
 
   /**
--- a/dom/interfaces/base/nsIBrowserDOMWindow.idl
+++ b/dom/interfaces/base/nsIBrowserDOMWindow.idl
@@ -24,25 +24,24 @@ interface nsIOpenURIInFrameParams : nsIS
   // The browser or frame element in the parent process which holds the
   // opener window in the content process. May be null.
   readonly attribute Element openerBrowser;
 
   [implicit_jscontext]
   readonly attribute jsval openerOriginAttributes;
 };
 
-[scriptable, uuid(2a9bb880-5d73-40f3-8152-c60c8d137a14)]
-
 /**
  * The C++ source has access to the browser script source through
  * nsIBrowserDOMWindow. It is intended to be attached to the chrome DOMWindow
  * of a toplevel browser window (a XUL window). A DOMWindow that does not
  * happen to be a browser chrome window will simply have no access to any such
  * interface.
  */
+[scriptable, uuid(2a9bb880-5d73-40f3-8152-c60c8d137a14)]
 interface nsIBrowserDOMWindow : nsISupports
 {
   /**
    * Values for createContentWindow's and openURI's aWhere parameter.
    */
   /**
    * Do whatever the default is based on application state, user preferences,
    * and the value of the aContext parameter to openURI.
--- a/dom/interfaces/base/nsIFocusManager.idl
+++ b/dom/interfaces/base/nsIFocusManager.idl
@@ -5,17 +5,16 @@
 
 #include "domstubs.idl"
 
 interface mozIDOMWindowProxy;
 
 webidl Document;
 webidl Element;
 
-[scriptable, uuid(86e1f1e1-365d-493b-b52a-a649f3f311dc)]
 /**
  * The focus manager deals with all focus related behaviour. Only one element
  * in the entire application may have the focus at a time; this element
  * receives any keyboard events. While there is only one application-wide
  * focused element, each nsIDOMWindow maintains a reference to the element
  * that would be focused if the window was active.
  *
  * If the window's reference is to a frame element (iframe, browser,
@@ -34,16 +33,17 @@ webidl Element;
  * element when it gains the application focus.
  *
  * A special case is that the root element may be focused, yet does not
  * receive the element focus and blur events. Instead a focus outline may be
  * drawn around the document.
  *
  * Blur and focus events do not bubble as per the W3C DOM Events spec.
  */
+[scriptable, uuid(86e1f1e1-365d-493b-b52a-a649f3f311dc)]
 interface nsIFocusManager : nsISupports
 {
   /**
    * The most active (frontmost) window, or null if no window that is part of
    * the application is active. Setting the activeWindow raises it, and
    * focuses the current child window's current element, if any. Setting this
    * to null or to a non-top-level window throws an NS_ERROR_INVALID_ARG
    * exception.
--- a/dom/media/webrtc/nsITabSource.idl
+++ b/dom/media/webrtc/nsITabSource.idl
@@ -2,17 +2,17 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface mozIDOMWindowProxy;
 
-[scriptable,uuid(0feba7f2-800d-4fe5-b28d-e3f17a7a7322)]
+[scriptable, uuid(0feba7f2-800d-4fe5-b28d-e3f17a7a7322)]
 interface nsITabSource : nsISupports
 {
   mozIDOMWindowProxy getTabToStream();
   void notifyStreamStart(in mozIDOMWindowProxy window);
   void notifyStreamStop(in mozIDOMWindowProxy window);
 };
 
 %{C++
--- a/editor/composer/nsIEditingSession.idl
+++ b/editor/composer/nsIEditingSession.idl
@@ -12,17 +12,16 @@ interface nsIEditor;
 %{ C++
 class mozIDOMWindowProxy;
 namespace mozilla {
 class HTMLEditor;
 } // namespace mozilla
 %}
 
 [scriptable, builtinclass, uuid(24f963d1-e6fc-43ea-a206-99ac5fcc5265)]
-
 interface nsIEditingSession : nsISupports
 {
   /**
    *  Error codes when we fail to create an editor
    *  is placed in attribute editorStatus
    */
   const long eEditorOK = 0;
   const long eEditorCreationInProgress = 1;
--- a/editor/nsIEditActionListener.idl
+++ b/editor/nsIEditActionListener.idl
@@ -21,17 +21,16 @@ Editor Action Listener interface to outs
  * nsIEditActionListener is the interface used by applications wishing to be notified
  * when the editor modifies the DOM tree.
  *
  * Note:  this is the wrong class to implement if you are interested in generic
  * change notifications.  For generic notifications, you should implement
  * nsIDocumentObserver.
  */
 [scriptable, uuid(b22907b1-ee93-11d2-8d50-000064657374)]
-
 interface nsIEditActionListener : nsISupports
 {
   /**
    * Called after the editor creates a node.
    * @param aTag      The tag name of the DOM Node to create.
    * @param aNewNode  The DOM Node that was created.
    * @param aResult   The result of the create node operation.
    */
--- a/editor/nsIEditorMailSupport.idl
+++ b/editor/nsIEditorMailSupport.idl
@@ -5,17 +5,16 @@
 
 #include "nsISupports.idl"
 
 interface nsIArray;
 
 webidl Node;
 
 [scriptable, builtinclass, uuid(fdf23301-4a94-11d3-9ce4-9960496c41bc)]
-
 interface nsIEditorMailSupport : nsISupports
 {
   /** Insert a string as quoted text
     * (whose representation is dependant on the editor type),
     * replacing the selected text (if any),
     * including, if possible, a "cite" attribute.
     * @param aQuotedText  The actual text to be quoted
     * @param aCitation    The "mid" URL of the source message
--- a/editor/nsIEditorStyleSheets.idl
+++ b/editor/nsIEditorStyleSheets.idl
@@ -1,17 +1,16 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 [scriptable, builtinclass, uuid(4805e682-49b9-11d3-9ce4-ed60bd6cb5bc)]
-
 interface nsIEditorStyleSheets : nsISupports
 {
   /** Load and apply the override style sheet, specified by aURL, to the
     * editor's document, replacing the last override style sheet added (if any).
     * This is always synchronous, so aURL should be a local file with only
     * local @imports. This action is not undoable. It is not intended for
     * "user" style sheets, only for editor developers to add sheets to change
     * display behavior for editing (like showing special cursors) that will
--- a/editor/nsIHTMLInlineTableEditor.idl
+++ b/editor/nsIHTMLInlineTableEditor.idl
@@ -2,17 +2,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 #include "domstubs.idl"
 
 [scriptable, builtinclass, uuid(eda2e65c-a758-451f-9b05-77cb8de74ed2)]
-
 interface nsIHTMLInlineTableEditor : nsISupports
 {
   /**
    * boolean indicating if inline table editing is enabled in the editor.
    * When inline table editing is enabled, and when the selection is
    * contained in a table cell, special buttons allowing to add/remove
    * a line/column are available on the cell's border.
    */
--- a/editor/nsIURIRefObject.idl
+++ b/editor/nsIURIRefObject.idl
@@ -11,17 +11,16 @@ webidl Node;
 /** A class which can represent any node which points to an
   * external URI, e.g. <a>, <img>, <script> etc,
   * and has the capability to rewrite URLs to be
   * relative or absolute.
   * Used by the editor but not dependant on it.
   */
 
 [scriptable, uuid(2226927e-1dd2-11b2-b57f-faab47288563)]
-
 interface nsIURIRefObject  : nsISupports
 {
   attribute Node node;
 
   /**
    * Go back to the beginning of the attribute list.
    */
   void Reset();
--- a/extensions/spellcheck/idl/mozIPersonalDictionary.idl
+++ b/extensions/spellcheck/idl/mozIPersonalDictionary.idl
@@ -2,22 +2,20 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIStringEnumerator;
 
-[scriptable, uuid(7EF52EAF-B7E1-462B-87E2-5D1DBACA9048)]
-
 /**
  * This interface represents a Personal Dictionary.
  */
-
+[scriptable, uuid(7EF52EAF-B7E1-462B-87E2-5D1DBACA9048)]
 interface mozIPersonalDictionary : nsISupports {
 
   /**
    * Load the dictionary
    */
   void load();
 
   /**
--- a/extensions/spellcheck/idl/mozISpellCheckingEngine.idl
+++ b/extensions/spellcheck/idl/mozISpellCheckingEngine.idl
@@ -4,22 +4,20 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsIURI;
 interface mozIPersonalDictionary;
 
-[scriptable, uuid(8ba643a4-7ddc-4662-b976-7ec123843f10)]
-
 /**
  * This interface represents a SpellChecker.
  */
-
+[scriptable, uuid(8ba643a4-7ddc-4662-b976-7ec123843f10)]
 interface mozISpellCheckingEngine : nsISupports {
   /**
    * The name of the current dictionary. Is either a value from
    * getDictionaryList or the empty string if no dictionary is selected.
    * Setting this attribute to a value not in getDictionaryList will throw
    * NS_ERROR_FILE_NOT_FOUND.
    *
    * If the dictionary is changed to no dictionary (the empty string), an
--- a/intl/l10n/mozIDOMLocalization.idl
+++ b/intl/l10n/mozIDOMLocalization.idl
@@ -28,13 +28,13 @@ interface mozIDOMLocalization : nsISuppo
 
   void pauseObserving();
   void resumeObserving();
 
   Promise translateRoots();
   readonly attribute Promise ready;
 };
 
-[scriptable,uuid(96532d26-2422-11e9-a1ce-9bb586acd241)]
+[scriptable, uuid(96532d26-2422-11e9-a1ce-9bb586acd241)]
 interface mozIDOMLocalizationJSM : nsISupports
 {
   mozIDOMLocalization getDOMLocalization();
 };
--- a/netwerk/base/nsIPermission.idl
+++ b/netwerk/base/nsIPermission.idl
@@ -4,23 +4,22 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface nsIPrincipal;
 interface nsIURI;
 
-[scriptable, uuid(bb409a51-2371-4fea-9dc9-b7286a458b8c)]
 /**
  * This interface defines a "permission" object,
  * used to specify allowed/blocked objects from
  * user-specified sites (cookies, images etc).
  */
-
+[scriptable, uuid(bb409a51-2371-4fea-9dc9-b7286a458b8c)]
 interface nsIPermission : nsISupports
 {
     /**
      * The principal for which this permission applies.
      */
     readonly attribute nsIPrincipal principal;
 
     /**
--- a/netwerk/base/nsPISocketTransportService.idl
+++ b/netwerk/base/nsPISocketTransportService.idl
@@ -6,17 +6,16 @@
 
 #include "nsISocketTransportService.idl"
 
 /**
  * This is a private interface used by the internals of the networking library.
  * It will never be frozen.  Do not use it in external code.
  */
 [builtinclass, scriptable, uuid(18f73bf1-b35b-4b7b-aa9a-11bcbdbc389c)]
-
 interface nsPISocketTransportService : nsIRoutedSocketTransportService
 {
   /**
    * init/shutdown routines.
    */
   void init();
   void shutdown(in bool aXpcomShutdown);
 
--- a/netwerk/cookie/nsICookie2.idl
+++ b/netwerk/cookie/nsICookie2.idl
@@ -7,17 +7,16 @@
 
 /** 
  * Main cookie object interface for use by consumers:
  * extends nsICookie, a frozen interface for external
  * access of cookie objects
  */
 
 [scriptable, uuid(be205dae-4f4c-11e6-80ba-ea5cd310c1a8)]
-
 interface nsICookie2 : nsICookie
 {
     const uint32_t SAMESITE_UNSET  = 0;
     const uint32_t SAMESITE_LAX    = 1;
     const uint32_t SAMESITE_STRICT = 2;
 
     /**
      * the host (possibly fully qualified) of the cookie,
--- a/security/manager/ssl/nsISecurityUITelemetry.idl
+++ b/security/manager/ssl/nsISecurityUITelemetry.idl
@@ -2,17 +2,16 @@
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(5d1acf82-223a-46fb-a8f3-a1b16e2ceb04)]
-
 interface nsISecurityUITelemetry : nsISupports {
 
 /*
  * Addon installation warnings
  */
 
 // Firefox prevented this site from asking you to install addon
 const uint32_t WARNING_ADDON_ASKING_PREVENTED = 1;
--- a/toolkit/components/extensions/mozIExtensionProcessScript.idl
+++ b/toolkit/components/extensions/mozIExtensionProcessScript.idl
@@ -3,25 +3,25 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 interface mozIDOMWindow;
 webidl Document;
 webidl WebExtensionContentScript;
 
-[scriptable,uuid(6b09dc51-6caa-4ca7-9d6d-30c87258a630)]
+[scriptable, uuid(6b09dc51-6caa-4ca7-9d6d-30c87258a630)]
 interface mozIExtensionProcessScript : nsISupports
 {
   void preloadContentScript(in nsISupports contentScript);
 
   Promise loadContentScript(in WebExtensionContentScript contentScript,
                             in mozIDOMWindow window);
 
   void initExtensionDocument(in nsISupports extension, in Document doc,
                              in bool privileged);
 };
 
-[scriptable,uuid(9f2a6434-f0ef-4063-ae33-368d929805d2)]
+[scriptable, uuid(9f2a6434-f0ef-4063-ae33-368d929805d2)]
 interface mozIExtensionProcessScriptJSM : nsISupports
 {
   readonly attribute mozIExtensionProcessScript ExtensionProcessScript;
 };
--- a/toolkit/components/passwordmgr/nsILoginInfo.idl
+++ b/toolkit/components/passwordmgr/nsILoginInfo.idl
@@ -1,21 +1,20 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 #include "nsISupports.idl"
 
-[scriptable, uuid(c41b7dff-6b9b-42fe-b78d-113051facb05)]
-
 /**
  * An object containing information for a login stored by the
  * password manager.
  */
+[scriptable, uuid(c41b7dff-6b9b-42fe-b78d-113051facb05)]
 interface nsILoginInfo : nsISupports {
   /**
    * The origin the login applies to, incorrectly called a hostname.
    *
    * For example,
    * "https://site.com", "http://site.com:1234", "ftp://ftp.site.com".
    */
   attribute AString hostname;
--- a/toolkit/components/passwordmgr/nsILoginManagerCrypto.idl
+++ b/toolkit/components/passwordmgr/nsILoginManagerCrypto.idl
@@ -1,17 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(2030770e-542e-40cd-8061-cd9d4ad4227f)]
-
 interface nsILoginManagerCrypto : nsISupports {
 
   const unsigned long ENCTYPE_BASE64 = 0; // obsolete
   const unsigned long ENCTYPE_SDR = 1;
 
   /**
    * encrypt
    *
--- a/toolkit/components/passwordmgr/nsILoginManagerStorage.idl
+++ b/toolkit/components/passwordmgr/nsILoginManagerStorage.idl
@@ -4,25 +4,24 @@
 
 
 #include "nsISupports.idl"
 
 interface nsIFile;
 interface nsILoginInfo;
 interface nsIPropertyBag;
 
-[scriptable, uuid(5df81a93-25e6-4b45-a696-089479e15c7d)]
-
 /*
  * NOTE: This interface is intended to be implemented by modules
  *       providing storage mechanisms for the login manager.
  *       Other code should use the login manager's interfaces
  *       (nsILoginManager), and should not call storage modules
  *       directly.
  */
+[scriptable, uuid(5df81a93-25e6-4b45-a696-089479e15c7d)]
 interface nsILoginManagerStorage : nsISupports {
   /**
    * Initialize the component.
    *
    * At present, other methods of this interface may be called before the
    * returned promise is resolved or rejected.
    *
    * @return {Promise}
--- a/toolkit/components/passwordmgr/nsILoginMetaInfo.idl
+++ b/toolkit/components/passwordmgr/nsILoginMetaInfo.idl
@@ -1,26 +1,25 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 
 #include "nsISupports.idl"
 
-[scriptable, uuid(20d8eb40-c494-497f-b2a6-aaa32f807ebd)]
-
 /**
  * An object containing metainfo for a login stored by the login manager.
  *
  * Code using login manager can generally ignore this interface. When adding
  * logins, default value will be created. When modifying logins, these
  * properties will be unchanged unless a change is explicitly requested [by
  * using modifyLogin() with a nsIPropertyBag]. When deleting a login or
  * comparing logins, these properties are ignored.
  */
+[scriptable, uuid(20d8eb40-c494-497f-b2a6-aaa32f807ebd)]
 interface nsILoginMetaInfo : nsISupports {
   /**
    * The GUID to uniquely identify the login. This can be any arbitrary
    * string, but a format as created by nsIUUIDGenerator is recommended.
    * For example, "{d4e1a1f6-5ea0-40ee-bff5-da57982f21cf}"
    *
    * addLogin will generate a random value unless a value is provided.
    *
--- a/toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl
+++ b/toolkit/components/url-classifier/IUrlClassifierUITelemetry.idl
@@ -2,17 +2,16 @@
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
 [scriptable, uuid(a6c62ce5-3a95-41bb-b0f1-8cd4f4ca00e3)]
-
 interface IUrlClassifierUITelemetry : nsISupports {
 
 const uint32_t WARNING_MALWARE_PAGE_TOP = 1;
 const uint32_t WARNING_MALWARE_PAGE_TOP_WHY_BLOCKED = 2;
 const uint32_t WARNING_MALWARE_PAGE_TOP_GET_ME_OUT_OF_HERE = 3;
 const uint32_t WARNING_MALWARE_PAGE_TOP_IGNORE_WARNING = 4;
 const uint32_t WARNING_MALWARE_PAGE_FRAME = 5;
 const uint32_t WARNING_MALWARE_PAGE_FRAME_WHY_BLOCKED = 6;
--- a/toolkit/components/windowcreator/nsIWindowCreator.idl
+++ b/toolkit/components/windowcreator/nsIWindowCreator.idl
@@ -12,17 +12,16 @@
  * @see nsIWindowWatcher
  */
 
 #include "nsISupports.idl"
 
 interface nsIWebBrowserChrome;
 
 [scriptable, uuid(30465632-A777-44cc-90F9-8145475EF999)]
-
 interface nsIWindowCreator : nsISupports {
 
   /** Create a new window. Gecko will/may call this method, if made
       available to it, to create new windows.
       @param parent parent window, if any. null if not. the newly created
                     window should be made a child/dependent window of
                     the parent, if any (and if the concept applies
                     to the underlying OS).
--- a/toolkit/components/windowcreator/nsIWindowCreator2.idl
+++ b/toolkit/components/windowcreator/nsIWindowCreator2.idl
@@ -18,17 +18,16 @@
 #include "nsIWindowCreator.idl"
 
 interface nsITabParent;
 interface nsIURI;
 interface nsIWebBrowserChrome;
 interface mozIDOMWindowProxy;
 
 [scriptable, uuid(b6c44689-f97e-4f32-a723-29eeddfbdc53)]
-
 interface nsIWindowCreator2 : nsIWindowCreator {
 
   /** Create a new window. Gecko will/may call this method, if made
       available to it, to create new windows.
       @param parent Parent window, if any. Null if not. The newly created
                     window should be made a child/dependent window of
                     the parent, if any (and if the concept applies
                     to the underlying OS).
--- a/toolkit/components/windowwatcher/nsPIWindowWatcher.idl
+++ b/toolkit/components/windowwatcher/nsPIWindowWatcher.idl
@@ -19,17 +19,16 @@ interface nsIDOMWindow;
 interface nsISimpleEnumerator;
 interface nsIWebBrowserChrome;
 interface nsIDocShellTreeItem;
 interface nsIArray;
 interface nsITabParent;
 native nsDocShellLoadStatePtr(nsDocShellLoadState*);
 
 [uuid(d162f9c4-19d5-4723-931f-f1e51bfa9f68)]
-
 interface nsPIWindowWatcher : nsISupports
 {
   /** A window has been created. Add it to our list.
       @param aWindow the window to add
       @param aChrome the corresponding chrome window. The DOM window
                      and chrome will be mapped together, and the corresponding
                      chrome can be retrieved using the (not private)
                      method getChromeForWindow. If null, any extant mapping
--- a/toolkit/components/xulstore/nsIXULStore.idl
+++ b/toolkit/components/xulstore/nsIXULStore.idl
@@ -10,17 +10,16 @@ webidl Node;
 /**
  * The XUL store is used to store information related to a XUL document/application.
  * Typically it is used to store the persisted state for the document, such as
  * window location, toolbars that are open and nodes that are open and closed in a tree.
  *
  * The data is serialized to [profile directory]/xulstore.json
  */
 [scriptable, uuid(987c4b35-c426-4dd7-ad49-3c9fa4c65d20)]
-
 interface nsIXULStore: nsISupports
 {
   /**
    * Sets a value for a specified node's attribute, except in
    * the case below (following the original XULDocument::persist):
    * If the value is empty and if calling `hasValue` with the node's
    * document and ID and `attr` would return true, then the
    * value instead gets removed from the store (see Bug 1476680).
--- a/widget/nsIPrintSession.idl
+++ b/widget/nsIPrintSession.idl
@@ -10,31 +10,30 @@
  *
  * Stores data pertaining only to a single print job. This
  * differs from nsIPrintSettings, which stores data which may
  * be valid across a number of jobs.
  *
  * The creation of a component which implements this interface
  * will begin the session. Likewise, destruction of that object
  * will end the session.
- * 
+ *
  * @status
  */
 
 %{ C++
 namespace mozilla {
 namespace layout {
 class RemotePrintJobChild;
 }
 }
 %}
 
 [ptr] native RemotePrintJobChildPtr(mozilla::layout::RemotePrintJobChild);
 
 [uuid(424ae4bb-10ca-4f35-b84e-eab893322df4)]
-
 interface nsIPrintSession : nsISupports
 {
   /**
    * The remote print job is used for printing via the parent process.
    */
   [notxpcom, nostdcall] attribute RemotePrintJobChildPtr remotePrintJob;
 };
--- a/widget/nsIPrintSettings.idl
+++ b/widget/nsIPrintSettings.idl
@@ -9,26 +9,25 @@
 %{ C++
 #include "nsMargin.h"
 #include "nsTArray.h"
 %}
 
 /**
  * Native types
  */
-  [ref] native nsNativeIntMarginRef(nsIntMargin);
-  [ref] native IntegerArray(nsTArray<int32_t>);
-  
+[ref] native nsNativeIntMarginRef(nsIntMargin);
+[ref] native IntegerArray(nsTArray<int32_t>);
+
 interface nsIPrintSession;
 
 /**
  * Simplified graphics interface for JS rendering.
  */
 [scriptable, uuid(ecc5cbad-57fc-4731-b0bd-09e865bd62ad)]
-
 interface nsIPrintSettings : nsISupports
 {
   /**
    * PrintSettings to be Saved Navigation Constants
    */
   const unsigned long kInitSaveOddEvenPages   = 0x00000001;
   const unsigned long kInitSaveHeaderLeft     = 0x00000002;
   const unsigned long kInitSaveHeaderCenter   = 0x00000004;
@@ -120,22 +119,22 @@ interface nsIPrintSettings : nsISupports
   /**
    * Output file format
    */
   const short kOutputFormatNative = 0;
   const short kOutputFormatPS     = 1;
   const short kOutputFormatPDF    = 2;
 
   /**
-   * Set PrintOptions 
+   * Set PrintOptions
    */
   void SetPrintOptions(in int32_t aType, in boolean aTurnOnOff);
 
   /**
-   * Get PrintOptions 
+   * Get PrintOptions
    */
   boolean GetPrintOptions(in int32_t aType);
 
   /**
    * Get PrintOptions Bit field
    */
   int32_t GetPrintOptionsBits();
 
@@ -160,18 +159,18 @@ interface nsIPrintSettings : nsISupports
    */
     void assign(in nsIPrintSettings aPS);
 
   /**
    * Data Members
    */
   [noscript] attribute nsIPrintSession printSession; /* We hold a weak reference */
 
-  attribute long    startPageRange;    
-  attribute long    endPageRange;    
+  attribute long    startPageRange;
+  attribute long    endPageRange;
 
   /**
    * The edge measurements define the positioning of the headers
    * and footers on the page. They're measured as an offset from
    * the "unwriteable margin" (described below).
    */
   attribute double  edgeTop;     /*  these are in inches */
   attribute double  edgeLeft;
@@ -195,17 +194,17 @@ interface nsIPrintSettings : nsISupports
   attribute double  unwriteableMarginLeft;
   attribute double  unwriteableMarginBottom;
   attribute double  unwriteableMarginRight;
 
   attribute double  scaling;      /* values 0.0 - 1.0 */
   attribute boolean printBGColors; /* Print Background Colors */
   attribute boolean printBGImages; /* Print Background Images */
 
-  attribute short   printRange; 
+  attribute short   printRange;
 
   attribute AString title;
   attribute AString docURL;
 
   attribute AString headerStrLeft;
   attribute AString headerStrCenter;
   attribute AString headerStrRight;
 
@@ -213,18 +212,18 @@ interface nsIPrintSettings : nsISupports
   attribute AString footerStrCenter;
   attribute AString footerStrRight;
 
   attribute short   howToEnableFrameUI;  /* indicates how to enable the frameset UI            */
   attribute boolean isCancelled;         /* indicates whether the print job has been cancelled */
   readonly attribute boolean saveOnCancel;        /* indicates whether the print settings should be saved after a cancel */
   attribute short   printFrameTypeUsage; /* indicates whether to use the interal value or not  */
   attribute short   printFrameType;
-  attribute boolean printSilent;	     /* print without putting up the dialog */
-  attribute boolean shrinkToFit;	     /* shrinks content to fit on page      */
+  attribute boolean printSilent;         /* print without putting up the dialog */
+  attribute boolean shrinkToFit;         /* shrinks content to fit on page      */
   attribute boolean showPrintProgress;   /* indicates whether the progress dialog should be shown */
 
   /* Additional XP Related */
   attribute AString paperName;     /* name of paper */
   attribute short   paperData;     /* native data value */
   attribute double  paperWidth;    /* width of the paper in inches or mm */
   attribute double  paperHeight;   /* height of the paper in inches or mm */
   attribute short   paperSizeUnit; /* paper is in inches or mm */
@@ -243,27 +242,27 @@ interface nsIPrintSettings : nsISupports
   attribute long    printPageDelay; /* in milliseconds */
 
   attribute long    resolution;     /* print resolution (dpi) */
 
   attribute long    duplex;         /* duplex mode */
 
   /* initialize helpers */
   /**
-   * This attribute tracks whether the PS has been initialized 
-   * from a printer specified by the "printerName" attr. 
-   * If a different name is set into the "printerName" 
+   * This attribute tracks whether the PS has been initialized
+   * from a printer specified by the "printerName" attr.
+   * If a different name is set into the "printerName"
    * attribute than the one it was initialized with the PS
    * will then get intialized from that printer.
    */
   attribute boolean isInitializedFromPrinter;
 
   /**
-   * This attribute tracks whether the PS has been initialized 
-   * from prefs. If a different name is set into the "printerName" 
+   * This attribute tracks whether the PS has been initialized
+   * from prefs. If a different name is set into the "printerName"
    * attribute than the one it was initialized with the PS
    * will then get intialized from prefs again.
    */
   attribute boolean isInitializedFromPrefs;
 
   /* C++ Helper Functions */
   [noscript] void SetMarginInTwips(in nsNativeIntMarginRef aMargin);
   [noscript] void SetEdgeInTwips(in nsNativeIntMarginRef aEdge);
@@ -278,29 +277,29 @@ interface nsIPrintSettings : nsISupports
    *
    * Either this or ShowPrintDialog (but not both) MUST be called by the print engine
    * before printing, otherwise printing can fail on some platforms.
    */
   [noscript] void SetupSilentPrinting();
 
   /**
    * Sets/Gets the "unwriteable margin" for the page format.  This defines
-   * the boundary from which we'll measure the EdgeInTwips and MarginInTwips 
+   * the boundary from which we'll measure the EdgeInTwips and MarginInTwips
    * attributes, to place the headers and content, respectively.
    *
    * Note: Implementations of SetUnwriteableMarginInTwips should handle
    * negative margin values by falling back on the system default for
    * that margin.
    */
   [noscript] void SetUnwriteableMarginInTwips(in nsNativeIntMarginRef aEdge);
   [noscript] void GetUnwriteableMarginInTwips(in nsNativeIntMarginRef aEdge);
-  
+
   /**
-   * Get more accurate print ranges from the superior interval 
-   * (startPageRange, endPageRange). The aPages array is populated with a 
-   * list of pairs (start, end), where the endpoints are included. The print 
-   * ranges (start, end), must not overlap and must be in the 
+   * Get more accurate print ranges from the superior interval
+   * (startPageRange, endPageRange). The aPages array is populated with a
+   * list of pairs (start, end), where the endpoints are included. The print
+   * ranges (start, end), must not overlap and must be in the
    * (startPageRange, endPageRange) scope.
    *
    * If there are no print ranges the aPages array is cleared.
    */
   [noscript] void GetPageRanges(in IntegerArray aPages);
 };
--- a/widget/nsIPrintSettingsWin.idl
+++ b/widget/nsIPrintSettingsWin.idl
@@ -11,31 +11,30 @@
 
 /**
  * Native types
  */
   [ptr] native nsDevMode(DEVMODEW);
   native nsHdc(HDC);
 
 /**
- * Simplified PrintSettings for Windows interface 
+ * Simplified PrintSettings for Windows interface
  */
 [scriptable, uuid(c63eed41-6ac5-459e-8a64-033eb9ad770a)]
-
 interface nsIPrintSettingsWin : nsISupports
 {
   /**
    * Data Members
    *
-   * Each of these data members make a copy 
-   * of the contents. If you get the value, 
+   * Each of these data members make a copy
+   * of the contents. If you get the value,
    * you own the memory.
    *
    * The following three pieces of data are needed
-   * to create a DC for printing. These are typcially 
+   * to create a DC for printing. These are typcially
    * gotten via the PrintDLG call ro can be obtained
    * via the "m_pd" data member of the CPrintDialog
    * in MFC.
    */
   [noscript] attribute AString deviceName;
   [noscript] attribute AString driverName;
 
   [noscript] attribute nsDevMode devMode;
--- a/widget/nsIPrinterEnumerator.idl
+++ b/widget/nsIPrinterEnumerator.idl
@@ -4,17 +4,16 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 #include "nsIPrintSettings.idl"
 
 interface nsIStringEnumerator;
 
 [scriptable, uuid(5e738fff-404c-4c94-9189-e8f2cce93e94)]
-
 interface nsIPrinterEnumerator : nsISupports
 {
   /**
    * The name of the system default printer. This name should also be
    * present in printerNameList below. This is not necessarily gecko's
    * default printer; see nsIPrintSettingsService.defaultPrinterName
    * for that.
    */
@@ -30,9 +29,8 @@ interface nsIPrinterEnumerator : nsISupp
   void initPrintSettingsFromPrinter(in AString aPrinterName,
                                     in nsIPrintSettings aPrintSettings);
 
   /**
    * The list of printer names
    */
   readonly attribute nsIStringEnumerator printerNameList;
 };
-