Skip to content

Commit

Permalink
Bug 1871991 - Required arguments after optional are not supported r=j…
Browse files Browse the repository at this point in the history
…esup

I reviewed all js callsites, and they always use all arguments,
so this should  be no-op.

Differential Revision: https://phabricator.services.mozilla.com/D197300
  • Loading branch information
zombie committed Jan 4, 2024
1 parent 5c97317 commit 11996c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions storage/mozIStorageService.idl
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ interface mozIStorageService : nsISupports {
* string may be:
* - "memory" to open an in-memory database.
*
* @param [optional] aOpenFlags
* @param aOpenFlags
* A set of flags to open the database with optional features.
* Currently supports OPEN_SHARED, OPEN_READONLY and
* OPEN_IGNORE_LOCKING_MODE flags.
* For full details, please refer to the documentation of the flags.
*
* @param [optional] aConnectionFlags
* @param aConnectionFlags
* A set of flags to enable optional features for the returned
* asynchronous connection object.
* Currently supports CONNECTION_INTERRUPTIBLE flag.
Expand All @@ -146,8 +146,8 @@ interface mozIStorageService : nsISupports {
* main thread.
*/
void openAsyncDatabase(in nsIVariant aDatabaseStore,
[optional] in unsigned long aOpenFlags,
[optional] in unsigned long aConnectionFlags,
in unsigned long aOpenFlags,
in unsigned long aConnectionFlags,
in mozIStorageCompletionCallback aCallback);

/**
Expand Down
4 changes: 2 additions & 2 deletions toolkit/components/alerts/nsIAlertsService.idl
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ interface nsIAlertsIconData : nsISupports
* |aIconSize| will be zero.
*/
void showAlertWithIconData(in nsIAlertNotification aAlert,
[optional] in nsIObserver aAlertListener,
[optional] in uint32_t aIconSize,
in nsIObserver aAlertListener,
in uint32_t aIconSize,
[const, array, size_is(aIconSize)] in uint8_t
aIconData);
};
Expand Down
2 changes: 1 addition & 1 deletion uriloader/base/nsITransfer.idl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ interface nsITransfer : nsIWebProgressListener2 {
in boolean aIsPrivate,
in long aDownloadClassification,
in nsIReferrerInfo aReferrerInfo,
[optional] in boolean aOpenDownloadsListOnStart,
in boolean aOpenDownloadsListOnStart,
in BrowsingContext aBrowsingContext,
in boolean aHandleInternally,
in nsIHttpChannel aHttpChannel);
Expand Down

0 comments on commit 11996c6

Please sign in to comment.