Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich

Differential Revision: https://phabricator.services.mozilla.com/D165559
This commit is contained in:
Sylvestre Ledru
2022-12-28 09:52:44 +00:00
parent 0321cb41bc
commit 94583492da
242 changed files with 101 additions and 319 deletions

View File

@@ -20,4 +20,3 @@ library ISimpleDOM
interface ISimpleDOMText; interface ISimpleDOMText;
interface ISimpleDOMDocument; interface ISimpleDOMDocument;
}; };

View File

@@ -173,4 +173,3 @@ interface ISimpleDOMNode : IUnknown
[propget] HRESULT language([out, retval] BSTR *language); [propget] HRESULT language([out, retval] BSTR *language);
} }

View File

@@ -76,4 +76,3 @@ interface ISimpleDOMText: IUnknown
[propget] HRESULT fontFamily([out, retval] BSTR *fontFamily); [propget] HRESULT fontFamily([out, retval] BSTR *fontFamily);
}; };

View File

@@ -349,4 +349,3 @@ interface nsIAccessible : nsISupports
[notxpcom, nostdcall] InternalAccessible toInternalGeneric(); [notxpcom, nostdcall] InternalAccessible toInternalGeneric();
}; };

View File

@@ -28,4 +28,3 @@ interface nsIAccessibleImage : nsISupports
*/ */
void getImageSize(out long width, out long height); void getImageSize(out long width, out long height);
}; };

View File

@@ -74,4 +74,3 @@ interface nsIAccessibleStates : nsISupports
const unsigned long EXT_STATE_PINNED = 0x00010000; // Indicates object is pinned. const unsigned long EXT_STATE_PINNED = 0x00010000; // Indicates object is pinned.
const unsigned long EXT_STATE_CURRENT = 0x00020000; // Indicates object is the current item in its container const unsigned long EXT_STATE_CURRENT = 0x00020000; // Indicates object is the current item in its container
}; };

View File

@@ -78,4 +78,3 @@ interface nsIAccessibleCoordinateType : nsISupports
*/ */
const unsigned long COORDTYPE_PARENT_RELATIVE = 0x02; const unsigned long COORDTYPE_PARENT_RELATIVE = 0x02;
}; };

View File

@@ -13,4 +13,3 @@ library Accessible
interface IEnumVARIANT; interface IEnumVARIANT;
interface IServiceProvider; interface IServiceProvider;
}; };

View File

@@ -21,4 +21,3 @@ interface nsIGNOMEShellService : nsIShellService
*/ */
boolean isDefaultForScheme(in AUTF8String aScheme); boolean isDefaultForScheme(in AUTF8String aScheme);
}; };

View File

@@ -203,4 +203,3 @@ interface nsIURIFixup : nsISupports
*/ */
bool isDomainKnown(in AUTF8String aDomain); bool isDomainKnown(in AUTF8String aDomain);
}; };

View File

@@ -29,4 +29,3 @@ namespace PlacesObservers {
[Throws] [Throws]
undefined notifyListeners(sequence<PlacesEvent> events); undefined notifyListeners(sequence<PlacesEvent> events);
}; };

View File

@@ -117,4 +117,3 @@ Arguments to observers "Observe" method are as follows:
in wstring aDummy ); // unused in wstring aDummy ); // unused
*/ */

View File

@@ -90,4 +90,3 @@ interface nsICommandParams : nsISupports
inline const nsCommandParams* AsCommandParams() const; inline const nsCommandParams* AsCommandParams() const;
%} %}
}; };

View File

@@ -50,4 +50,3 @@ interface nsIControllerCommand : nsISupports
void doCommandParams(in string aCommandName, in nsICommandParams aParams, in nsISupports aCommandContext); void doCommandParams(in string aCommandName, in nsICommandParams aParams, in nsISupports aCommandContext);
}; };

View File

@@ -100,4 +100,3 @@ interface nsIControllerCommandTable : nsISupports
inline const nsControllerCommandTable* AsControllerCommandTable() const; inline const nsControllerCommandTable* AsControllerCommandTable() const;
%} %}
}; };

View File

@@ -126,4 +126,3 @@ interface nsIEventListenerService : nsISupports
void addListenerChangeListener(in nsIListenerChangeListener aListener); void addListenerChangeListener(in nsIListenerChangeListener aListener);
void removeListenerChangeListener(in nsIListenerChangeListener aListener); void removeListenerChangeListener(in nsIListenerChangeListener aListener);
}; };

View File

@@ -184,4 +184,3 @@ interface nsIBrowserDOMWindow : nsISupports
*/ */
readonly attribute unsigned long tabCount; readonly attribute unsigned long tabCount;
}; };

View File

@@ -29,4 +29,3 @@ interface nsIPermissionDelegateHandler : nsISupports
*/ */
readonly attribute boolean permissionDelegateFPEnabled; readonly attribute boolean permissionDelegateFPEnabled;
}; };

View File

@@ -21,4 +21,3 @@ interface nsIDOMXULContainerItemElement : nsISupports
interface nsIDOMXULContainerElement : nsIDOMXULContainerItemElement interface nsIDOMXULContainerElement : nsIDOMXULContainerItemElement
{ {
}; };

View File

@@ -17,5 +17,3 @@ interface nsIDOMXULControlElement : nsISupports {
// void focus(); // void focus();
// void blur(); // void blur();
}; };

View File

@@ -21,4 +21,3 @@ interface nsIDOMXULMenuListElement : nsIDOMXULSelectControlElement {
// For editable menu lists only. // For editable menu lists only.
readonly attribute Element inputField; readonly attribute Element inputField;
}; };

View File

@@ -19,4 +19,3 @@ interface nsIDOMXULSelectControlElement : nsIDOMXULControlElement {
long getIndexOfItem(in nsIDOMXULSelectControlItemElement item); long getIndexOfItem(in nsIDOMXULSelectControlItemElement item);
Element getItemAtIndex(in long index); Element getItemAtIndex(in long index);
}; };

View File

@@ -26,5 +26,3 @@ interface nsIDOMXULSelectControlItemElement : nsISupports {
// XXX defined in XULElement, but should be defined here // XXX defined in XULElement, but should be defined here
// void doCommand(); // void doCommand();
}; };

View File

@@ -56,4 +56,3 @@ interface nsITCPSocketCallback : nsISupports {
void updateBufferedAmount(in uint32_t bufferedAmount, void updateBufferedAmount(in uint32_t bufferedAmount,
in uint32_t trackingNumber); in uint32_t trackingNumber);
}; };

View File

@@ -9,4 +9,3 @@ interface AddonEvent : Event {
dictionary AddonEventInit : EventInit { dictionary AddonEventInit : EventInit {
required DOMString id; required DOMString id;
}; };

View File

@@ -104,4 +104,3 @@ interface AddonManager : EventTarget {
namespace AddonManagerPermissions { namespace AddonManagerPermissions {
boolean isHostPermitted(DOMString host); boolean isHostPermitted(DOMString host);
}; };

View File

@@ -17,4 +17,3 @@ interface AudioDestinationNode : AudioNode {
readonly attribute unsigned long maxChannelCount; readonly attribute unsigned long maxChannelCount;
}; };

View File

@@ -17,4 +17,3 @@ interface AudioListener {
undefined setPosition(double x, double y, double z); undefined setPosition(double x, double y, double z);
undefined setOrientation(double x, double y, double z, double xUp, double yUp, double zUp); undefined setOrientation(double x, double y, double z, double xUp, double yUp, double zUp);
}; };

View File

@@ -73,4 +73,3 @@ interface mixin AudioNodePassThrough {
[ChromeOnly] [ChromeOnly]
attribute boolean passThrough; attribute boolean passThrough;
}; };

View File

@@ -20,4 +20,3 @@ dictionary AudioParamDescriptor {
// implemented // implemented
// AutomationRate automationRate = "a-rate"; // AutomationRate automationRate = "a-rate";
}; };

View File

@@ -22,4 +22,3 @@ interface AudioProcessingEvent : Event {
readonly attribute AudioBuffer outputBuffer; readonly attribute AudioBuffer outputBuffer;
}; };

View File

@@ -51,4 +51,3 @@ interface BiquadFilterNode : AudioNode {
// Mozilla extension // Mozilla extension
BiquadFilterNode includes AudioNodePassThrough; BiquadFilterNode includes AudioNodePassThrough;

View File

@@ -48,4 +48,3 @@ partial interface Blob {
[ChromeOnly] [ChromeOnly]
readonly attribute DOMString blobImplType; readonly attribute DOMString blobImplType;
}; };

View File

@@ -21,4 +21,3 @@ interface ChannelSplitterNode : AudioNode {
constructor(BaseAudioContext context, constructor(BaseAudioContext context,
optional ChannelSplitterOptions options = {}); optional ChannelSplitterOptions options = {});
}; };

View File

@@ -34,4 +34,3 @@ enum ClientType {
"serviceworker", "serviceworker",
"all" "all"
}; };

View File

@@ -30,4 +30,3 @@ interface ConvolverNode : AudioNode {
// Mozilla extension // Mozilla extension
ConvolverNode includes AudioNodePassThrough; ConvolverNode includes AudioNodePassThrough;

View File

@@ -47,4 +47,3 @@ interface DOMParser {
[Func="IsChromeOrUAWidget"] [Func="IsChromeOrUAWidget"]
undefined forceEnableDTD(); undefined forceEnableDTD();
}; };

View File

@@ -27,4 +27,3 @@ interface DelayNode : AudioNode {
// Mozilla extension // Mozilla extension
DelayNode includes AudioNodePassThrough; DelayNode includes AudioNodePassThrough;

View File

@@ -37,4 +37,3 @@ interface DynamicsCompressorNode : AudioNode {
// Mozilla extension // Mozilla extension
DynamicsCompressorNode includes AudioNodePassThrough; DynamicsCompressorNode includes AudioNodePassThrough;

View File

@@ -46,4 +46,3 @@ dictionary FakePluginMimeEntry {
DOMString description = ""; DOMString description = "";
DOMString extension = ""; DOMString extension = "";
}; };

View File

@@ -26,4 +26,3 @@ interface GainNode : AudioNode {
// Mozilla extension // Mozilla extension
GainNode includes AudioNodePassThrough; GainNode includes AudioNodePassThrough;

View File

@@ -16,4 +16,3 @@
interface HTMLAudioElement : HTMLMediaElement { interface HTMLAudioElement : HTMLMediaElement {
[HTMLConstructor] constructor(); [HTMLConstructor] constructor();
}; };

View File

@@ -21,4 +21,3 @@ interface HTMLBaseElement : HTMLElement {
[CEReactions, SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString target; attribute DOMString target;
}; };

View File

@@ -19,4 +19,3 @@ interface HTMLDirectoryElement : HTMLElement {
[CEReactions, SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute boolean compact; attribute boolean compact;
}; };

View File

@@ -16,4 +16,3 @@
interface HTMLHeadElement : HTMLElement { interface HTMLHeadElement : HTMLElement {
[HTMLConstructor] constructor(); [HTMLConstructor] constructor();
}; };

View File

@@ -35,4 +35,3 @@ interface HTMLMarqueeElement : HTMLElement {
undefined start(); undefined start();
undefined stop(); undefined stop();
}; };

View File

@@ -19,4 +19,3 @@ interface HTMLQuoteElement : HTMLElement {
[CEReactions, SetterThrows, Pure] [CEReactions, SetterThrows, Pure]
attribute DOMString cite; attribute DOMString cite;
}; };

View File

@@ -15,4 +15,3 @@ interface HTMLTemplateElement : HTMLElement {
readonly attribute DocumentFragment content; readonly attribute DocumentFragment content;
}; };

View File

@@ -65,4 +65,3 @@ interface IDBObjectStore {
[Throws] [Throws]
undefined deleteIndex (DOMString indexName); undefined deleteIndex (DOMString indexName);
}; };

View File

@@ -23,4 +23,3 @@ interface IDBVersionChangeEvent : Event {
[Constant] readonly attribute unsigned long long oldVersion; [Constant] readonly attribute unsigned long long oldVersion;
[Constant] readonly attribute unsigned long long? newVersion; [Constant] readonly attribute unsigned long long? newVersion;
}; };

View File

@@ -33,4 +33,3 @@ interface ImageCaptureError {
readonly attribute unsigned short code; readonly attribute unsigned short code;
readonly attribute DOMString message; readonly attribute DOMString message;
}; };

View File

@@ -39,4 +39,3 @@ dictionary DhKeyAlgorithm : KeyAlgorithm {
required Uint8Array prime; required Uint8Array prime;
required Uint8Array generator; required Uint8Array generator;
}; };

View File

@@ -10,4 +10,3 @@
interface mixin LinkStyle { interface mixin LinkStyle {
[BinaryName="sheetForBindings"] readonly attribute StyleSheet? sheet; [BinaryName="sheetForBindings"] readonly attribute StyleSheet? sheet;
}; };

View File

@@ -12,4 +12,3 @@
interface MIDIInput : MIDIPort { interface MIDIInput : MIDIPort {
attribute EventHandler onmidimessage; attribute EventHandler onmidimessage;
}; };

View File

@@ -39,4 +39,3 @@ interface MIDIPort : EventTarget {
[Throws] [Throws]
Promise<MIDIPort> close(); Promise<MIDIPort> close();
}; };

View File

@@ -25,4 +25,3 @@ interface MediaElementAudioSourceNode : AudioNode {
// Mozilla extensions // Mozilla extensions
MediaElementAudioSourceNode includes AudioNodePassThrough; MediaElementAudioSourceNode includes AudioNodePassThrough;

View File

@@ -26,4 +26,3 @@ interface MediaStreamAudioSourceNode : AudioNode {
// Mozilla extensions // Mozilla extensions
MediaStreamAudioSourceNode includes AudioNodePassThrough; MediaStreamAudioSourceNode includes AudioNodePassThrough;

View File

@@ -137,4 +137,3 @@ partial interface MouseEvent
[ChromeOnly] [ChromeOnly]
boolean clickEventPrevented(); boolean clickEventPrevented();
}; };

View File

@@ -42,4 +42,3 @@ interface OffscreenCanvas : EventTarget {
Promise<Blob> toBlob(optional DOMString type = "", Promise<Blob> toBlob(optional DOMString type = "",
optional any encoderOptions); optional any encoderOptions);
}; };

View File

@@ -82,4 +82,3 @@ interface PannerNode : AudioNode {
// Mozilla extension // Mozilla extension
PannerNode includes AudioNodePassThrough; PannerNode includes AudioNodePassThrough;

View File

@@ -22,4 +22,3 @@ interface PerformanceObserverEntryList {
PerformanceEntryList getEntriesByName(DOMString name, PerformanceEntryList getEntriesByName(DOMString name,
optional DOMString entryType); optional DOMString entryType);
}; };

View File

@@ -63,4 +63,3 @@ dictionary RTCIdentityProviderOptions {
DOMString usernameHint; DOMString usernameHint;
DOMString peerIdentity; DOMString peerIdentity;
}; };

View File

@@ -38,4 +38,3 @@ interface RTCPeerConnectionStatic {
undefined registerPeerConnectionLifecycleCallback( undefined registerPeerConnectionLifecycleCallback(
PeerConnectionLifecycleCallback cb); PeerConnectionLifecycleCallback cb);
}; };

View File

@@ -48,4 +48,3 @@ interface RTCRtpTransceiver {
[ChromeOnly] [ChromeOnly]
boolean hasBeenUsedToSend(); boolean hasBeenUsedToSend();
}; };

View File

@@ -34,4 +34,3 @@ interface SVGAElement : SVGGraphicsElement {
}; };
SVGAElement includes SVGURIReference; SVGAElement includes SVGURIReference;

View File

@@ -33,4 +33,3 @@ interface SVGAngle {
[Throws] [Throws]
undefined convertToSpecifiedUnits(unsigned short unitType); undefined convertToSpecifiedUnits(unsigned short unitType);
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGAnimateElement : SVGAnimationElement { interface SVGAnimateElement : SVGAnimationElement {
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGAnimateMotionElement : SVGAnimationElement { interface SVGAnimateMotionElement : SVGAnimationElement {
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGAnimateTransformElement : SVGAnimationElement { interface SVGAnimateTransformElement : SVGAnimationElement {
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedAngle {
[Constant] [Constant]
readonly attribute SVGAngle animVal; readonly attribute SVGAngle animVal;
}; };

View File

@@ -15,4 +15,3 @@ interface SVGAnimatedBoolean {
attribute boolean baseVal; attribute boolean baseVal;
readonly attribute boolean animVal; readonly attribute boolean animVal;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedLength {
[Constant] [Constant]
readonly attribute SVGLength animVal; readonly attribute SVGLength animVal;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedLengthList {
[Constant] [Constant]
readonly attribute SVGLengthList animVal; readonly attribute SVGLengthList animVal;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedNumberList {
[Constant] [Constant]
readonly attribute SVGNumberList animVal; readonly attribute SVGNumberList animVal;
}; };

View File

@@ -16,4 +16,3 @@ interface mixin SVGAnimatedPathData {
[Pref="dom.svg.pathSeg.enabled"] [Pref="dom.svg.pathSeg.enabled"]
readonly attribute SVGPathSegList animatedPathSegList; readonly attribute SVGPathSegList animatedPathSegList;
}; };

View File

@@ -16,4 +16,3 @@ interface mixin SVGAnimatedPoints {
[Constant] [Constant]
readonly attribute SVGPointList animatedPoints; readonly attribute SVGPointList animatedPoints;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedPreserveAspectRatio {
[Constant] [Constant]
readonly attribute SVGPreserveAspectRatio animVal; readonly attribute SVGPreserveAspectRatio animVal;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGAnimatedTransformList {
[Constant] [Constant]
readonly attribute SVGTransformList animVal; readonly attribute SVGTransformList animVal;
}; };

View File

@@ -37,4 +37,3 @@ interface SVGAnimationElement : SVGElement {
}; };
SVGAnimationElement includes SVGTests; SVGAnimationElement includes SVGTests;

View File

@@ -19,4 +19,3 @@ interface SVGCircleElement : SVGGeometryElement {
[Constant] [Constant]
readonly attribute SVGAnimatedLength r; readonly attribute SVGAnimatedLength r;
}; };

View File

@@ -17,4 +17,3 @@ interface SVGClipPathElement : SVGElement {
[Constant] [Constant]
readonly attribute SVGAnimatedTransformList transform; readonly attribute SVGAnimatedTransformList transform;
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGDefsElement : SVGGraphicsElement { interface SVGDefsElement : SVGGraphicsElement {
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGDescElement : SVGElement { interface SVGDescElement : SVGElement {
}; };

View File

@@ -21,4 +21,3 @@ interface SVGEllipseElement : SVGGeometryElement {
[Constant] [Constant]
readonly attribute SVGAnimatedLength ry; readonly attribute SVGAnimatedLength ry;
}; };

View File

@@ -29,4 +29,3 @@ interface SVGFilterElement : SVGElement {
}; };
SVGFilterElement includes SVGURIReference; SVGFilterElement includes SVGURIReference;

View File

@@ -16,4 +16,3 @@ interface mixin SVGFitToViewBox {
[Constant] [Constant]
readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio; readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
}; };

View File

@@ -21,4 +21,3 @@ interface SVGForeignObjectElement : SVGGraphicsElement {
[Constant] [Constant]
readonly attribute SVGAnimatedLength height; readonly attribute SVGAnimatedLength height;
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGGElement : SVGGraphicsElement { interface SVGGElement : SVGGraphicsElement {
}; };

View File

@@ -30,4 +30,3 @@ interface SVGImageElement : SVGGraphicsElement {
SVGImageElement includes MozImageLoadingContent; SVGImageElement includes MozImageLoadingContent;
SVGImageElement includes SVGURIReference; SVGImageElement includes SVGURIReference;

View File

@@ -21,4 +21,3 @@ interface SVGLineElement : SVGGeometryElement {
[Constant] [Constant]
readonly attribute SVGAnimatedLength y2; readonly attribute SVGAnimatedLength y2;
}; };

View File

@@ -15,4 +15,3 @@ interface SVGMPathElement : SVGElement {
}; };
SVGMPathElement includes SVGURIReference; SVGMPathElement includes SVGURIReference;

View File

@@ -45,4 +45,3 @@ interface SVGMarkerElement : SVGElement {
}; };
SVGMarkerElement includes SVGFitToViewBox; SVGMarkerElement includes SVGFitToViewBox;

View File

@@ -30,4 +30,3 @@ interface SVGMaskElement : SVGElement {
[Constant] [Constant]
readonly attribute SVGAnimatedLength height; readonly attribute SVGAnimatedLength height;
}; };

View File

@@ -49,4 +49,3 @@ interface SVGMatrix {
[NewObject, Throws] [NewObject, Throws]
SVGMatrix skewY(float angle); SVGMatrix skewY(float angle);
}; };

View File

@@ -13,4 +13,3 @@
[Exposed=Window] [Exposed=Window]
interface SVGMetadataElement : SVGElement { interface SVGMetadataElement : SVGElement {
}; };

View File

@@ -16,4 +16,3 @@ interface SVGPathElement : SVGGeometryElement {
}; };
SVGPathElement includes SVGAnimatedPathData; SVGPathElement includes SVGAnimatedPathData;

View File

@@ -252,4 +252,3 @@ interface SVGPathSegCurvetoQuadraticSmoothRel : SVGPathSeg {
[SetterThrows] [SetterThrows]
attribute float y; attribute float y;
}; };

View File

@@ -21,4 +21,3 @@ interface SVGPoint {
[NewObject, Throws] [NewObject, Throws]
SVGPoint matrixTransform(optional DOMMatrix2DInit matrix = {}); SVGPoint matrixTransform(optional DOMMatrix2DInit matrix = {});
}; };

View File

@@ -15,4 +15,3 @@ interface SVGPolygonElement : SVGGeometryElement {
}; };
SVGPolygonElement includes SVGAnimatedPoints; SVGPolygonElement includes SVGAnimatedPoints;

View File

@@ -15,4 +15,3 @@ interface SVGPolylineElement : SVGGeometryElement {
}; };
SVGPolylineElement includes SVGAnimatedPoints; SVGPolylineElement includes SVGAnimatedPoints;

Some files were not shown because too many files have changed in this diff Show More