Skip to content
Snippets Groups Projects
Commit f242e71c authored by Andrew McCreight's avatar Andrew McCreight
Browse files

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

--HG--
extra : moz-landing-system : lando
parent 0d1d9827
No related branches found
No related tags found
No related merge requests found
Showing
with 13 additions and 29 deletions
......@@ -11,7 +11,7 @@
* 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
{
/**
......@@ -73,7 +73,7 @@ interface nsIAddonPolicyService : nsISupports
* 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
{
/**
......
......@@ -23,7 +23,7 @@ typedef unsigned long nsContentPolicyType;
* 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
{
/**
......
......@@ -29,8 +29,6 @@ interface nsIOpenURIInFrameParams : nsISupports
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
......@@ -38,6 +36,7 @@ interface nsIOpenURIInFrameParams : nsISupports
* 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
{
/**
......
......@@ -10,7 +10,6 @@ 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
......@@ -39,6 +38,7 @@ webidl Element;
*
* Blur and focus events do not bubble as per the W3C DOM Events spec.
*/
[scriptable, uuid(86e1f1e1-365d-493b-b52a-a649f3f311dc)]
interface nsIFocusManager : nsISupports
{
/**
......
......@@ -7,7 +7,7 @@
interface mozIDOMWindowProxy;
[scriptable,uuid(0feba7f2-800d-4fe5-b28d-e3f17a7a7322)]
[scriptable, uuid(0feba7f2-800d-4fe5-b28d-e3f17a7a7322)]
interface nsITabSource : nsISupports
{
mozIDOMWindowProxy getTabToStream();
......
......@@ -17,7 +17,6 @@ class HTMLEditor;
%}
[scriptable, builtinclass, uuid(24f963d1-e6fc-43ea-a206-99ac5fcc5265)]
interface nsIEditingSession : nsISupports
{
/**
......
......@@ -26,7 +26,6 @@ Editor Action Listener interface to outside world
* nsIDocumentObserver.
*/
[scriptable, uuid(b22907b1-ee93-11d2-8d50-000064657374)]
interface nsIEditActionListener : nsISupports
{
/**
......
......@@ -10,7 +10,6 @@ interface nsIArray;
webidl Node;
[scriptable, builtinclass, uuid(fdf23301-4a94-11d3-9ce4-9960496c41bc)]
interface nsIEditorMailSupport : nsISupports
{
/** Insert a string as quoted text
......
......@@ -6,7 +6,6 @@
#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
......
......@@ -7,7 +7,6 @@
#include "domstubs.idl"
[scriptable, builtinclass, uuid(eda2e65c-a758-451f-9b05-77cb8de74ed2)]
interface nsIHTMLInlineTableEditor : nsISupports
{
/**
......
......@@ -16,7 +16,6 @@ webidl Node;
*/
[scriptable, uuid(2226927e-1dd2-11b2-b57f-faab47288563)]
interface nsIURIRefObject : nsISupports
{
attribute Node node;
......
......@@ -7,12 +7,10 @@
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 {
/**
......
......@@ -9,12 +9,10 @@ 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
......
......@@ -33,7 +33,7 @@ interface mozIDOMLocalization : nsISupports
readonly attribute Promise ready;
};
[scriptable,uuid(96532d26-2422-11e9-a1ce-9bb586acd241)]
[scriptable, uuid(96532d26-2422-11e9-a1ce-9bb586acd241)]
interface mozIDOMLocalizationJSM : nsISupports
{
mozIDOMLocalization getDOMLocalization();
......
......@@ -9,13 +9,12 @@
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
{
/**
......
......@@ -11,7 +11,6 @@
* It will never be frozen. Do not use it in external code.
*/
[builtinclass, scriptable, uuid(18f73bf1-b35b-4b7b-aa9a-11bcbdbc389c)]
interface nsPISocketTransportService : nsIRoutedSocketTransportService
{
/**
......
......@@ -12,7 +12,6 @@
*/
[scriptable, uuid(be205dae-4f4c-11e6-80ba-ea5cd310c1a8)]
interface nsICookie2 : nsICookie
{
const uint32_t SAMESITE_UNSET = 0;
......
......@@ -7,7 +7,6 @@
#include "nsISupports.idl"
[scriptable, uuid(5d1acf82-223a-46fb-a8f3-a1b16e2ceb04)]
interface nsISecurityUITelemetry : nsISupports {
/*
......
......@@ -8,7 +8,7 @@ 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);
......@@ -20,7 +20,7 @@ interface mozIExtensionProcessScript : nsISupports
in bool privileged);
};
[scriptable,uuid(9f2a6434-f0ef-4063-ae33-368d929805d2)]
[scriptable, uuid(9f2a6434-f0ef-4063-ae33-368d929805d2)]
interface mozIExtensionProcessScriptJSM : nsISupports
{
readonly attribute mozIExtensionProcessScript ExtensionProcessScript;
......
......@@ -5,12 +5,11 @@
#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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment