Bug 1873777 - Remove [function] attribute from interfaces which are not meant to be callbacks r=mccr8

Differential Revision: https://phabricator.services.mozilla.com/D198111
This commit is contained in:
Tomislav Jovanovic 2024-01-12 19:05:26 +00:00
parent dba58f44c3
commit 28fcad562f
3 changed files with 8 additions and 8 deletions

View File

@ -430,7 +430,7 @@ interface nsIContentPrefCallback2 : nsISupports
const unsigned short COMPLETE_ERROR = 1;
};
[scriptable, function, uuid(9f24948d-24b5-4b1b-b554-7dbd58c1d792)]
[scriptable, uuid(9f24948d-24b5-4b1b-b554-7dbd58c1d792)]
interface nsIContentPref : nsISupports
{
readonly attribute AString domain;

View File

@ -15,7 +15,7 @@ class UsageInfo;
[ref] native UsageInfoRef(mozilla::dom::quota::UsageInfo);
[scriptable, function, uuid(4d8def75-014e-404d-bf30-e2f0Bfcf4d89)]
[scriptable, uuid(4d8def75-014e-404d-bf30-e2f0Bfcf4d89)]
interface nsIQuotaFullOriginMetadataResult : nsISupports
{
readonly attribute ACString suffix;
@ -33,7 +33,7 @@ interface nsIQuotaFullOriginMetadataResult : nsISupports
readonly attribute long long lastAccessTime;
};
[scriptable, function, uuid(d8c9328b-9aa8-4f5d-90e6-482de4a6d5b8)]
[scriptable, uuid(d8c9328b-9aa8-4f5d-90e6-482de4a6d5b8)]
interface nsIQuotaUsageResult : nsISupports
{
readonly attribute ACString origin;
@ -45,7 +45,7 @@ interface nsIQuotaUsageResult : nsISupports
readonly attribute unsigned long long lastAccessed;
};
[scriptable, builtinclass, function, uuid(96df03d2-116a-493f-bb0b-118c212a6b32)]
[scriptable, builtinclass, uuid(96df03d2-116a-493f-bb0b-118c212a6b32)]
interface nsIQuotaOriginUsageResult : nsISupports
{
readonly attribute unsigned long long databaseUsage;
@ -64,7 +64,7 @@ interface nsIQuotaOriginUsageResult : nsISupports
[notxpcom, nostdcall] readonly attribute UsageInfoRef usageInfo;
};
[scriptable, function, uuid(9827fc69-7ea9-48ef-b30d-2e2ae0451ec0)]
[scriptable, uuid(9827fc69-7ea9-48ef-b30d-2e2ae0451ec0)]
interface nsIQuotaEstimateResult : nsISupports
{
readonly attribute unsigned long long usage;

View File

@ -48,7 +48,7 @@ interface nsIUrlClassifierCacheEntry : nsISupports {
/**
* Cache information for a given table.
*/
[scriptable, function, uuid(69384f24-d9c5-4462-b24e-351c69e3b46a)]
[scriptable, uuid(69384f24-d9c5-4462-b24e-351c69e3b46a)]
interface nsIUrlClassifierCacheInfo : nsISupports {
/**
* Table name.
@ -61,7 +61,7 @@ interface nsIUrlClassifierCacheInfo : nsISupports {
readonly attribute nsIArray entries;
};
[scriptable, uuid(26e12ea4-14ff-4c77-858f-6745998b7659)]
[scriptable, function, uuid(26e12ea4-14ff-4c77-858f-6745998b7659)]
interface nsIUrlClassifierGetCacheCallback : nsISupports {
void onGetCacheComplete(in nsIUrlClassifierCacheInfo info);
@ -70,7 +70,7 @@ interface nsIUrlClassifierGetCacheCallback : nsISupports {
/**
* Interface to query url-classifier information.
*/
[scriptable, function, uuid(411bbff4-1b88-4687-aa36-e2bbdd93f6e8)]
[scriptable, uuid(411bbff4-1b88-4687-aa36-e2bbdd93f6e8)]
interface nsIUrlClassifierInfo : nsISupports {
/**
* An asynchronous call to return cache information for the table.