зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1621916 - Unify reporting of unknown files across quota manager, idb, sdb and ls quota client; r=dom-workers-and-storage-reviewers,ttung
Depends on D76703 Differential Revision: https://phabricator.services.mozilla.com/D76717
This commit is contained in:
Родитель
68a6cbf429
Коммит
5183f79beb
|
@ -142,12 +142,6 @@
|
|||
# define IDB_MOBILE
|
||||
#endif
|
||||
|
||||
#define UNKNOWN_FILE_WARNING(_leafName) \
|
||||
NS_WARNING( \
|
||||
nsPrintfCString("Something (%s) in the directory that doesn't belong!", \
|
||||
NS_ConvertUTF16toUTF8(_leafName).get()) \
|
||||
.get())
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
MOZ_TYPE_SPECIFIC_SCOPED_POINTER_TEMPLATE(ScopedPRFileDesc, PRFileDesc,
|
||||
|
|
|
@ -8948,8 +8948,7 @@ nsresult QuotaClient::InitOrigin(PersistenceType aPersistenceType,
|
|||
}
|
||||
}
|
||||
|
||||
LS_WARNING("Something (%s) in the directory that doesn't belong!",
|
||||
NS_ConvertUTF16toUTF8(leafName).get());
|
||||
UNKNOWN_FILE_WARNING(leafName);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -91,12 +91,6 @@
|
|||
#define QM_LOG_TEST() MOZ_LOG_TEST(GetQuotaManagerLogger(), LogLevel::Info)
|
||||
#define QM_LOG(_args) MOZ_LOG(GetQuotaManagerLogger(), LogLevel::Info, _args)
|
||||
|
||||
#define UNKNOWN_FILE_WARNING(_leafName) \
|
||||
NS_WARNING( \
|
||||
nsPrintfCString("Something (%s) in the directory that doesn't belong!", \
|
||||
NS_ConvertUTF16toUTF8(_leafName).get()) \
|
||||
.get())
|
||||
|
||||
// The amount of time, in milliseconds, that our IO thread will stay alive
|
||||
// after the last event it processes.
|
||||
#define DEFAULT_THREAD_TIMEOUT_MS 30000
|
||||
|
|
|
@ -35,6 +35,12 @@
|
|||
NS_WARNING(str.get()); \
|
||||
} while (0)
|
||||
|
||||
#define UNKNOWN_FILE_WARNING(_leafName) \
|
||||
NS_WARNING( \
|
||||
nsPrintfCString("Something (%s) in the directory that doesn't belong!", \
|
||||
NS_ConvertUTF16toUTF8(_leafName).get()) \
|
||||
.get())
|
||||
|
||||
// Telemetry probes to collect number of failure during the initialization.
|
||||
#ifdef NIGHTLY_BUILD
|
||||
# define REPORT_TELEMETRY_INIT_ERR(_key, _label) \
|
||||
|
|
|
@ -34,12 +34,6 @@
|
|||
# define ASSERT_UNLESS_FUZZING(...) MOZ_ASSERT(false, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#define UNKNOWN_FILE_WARNING(_leafName) \
|
||||
NS_WARNING( \
|
||||
nsPrintfCString("Something (%s) in the directory that doesn't belong!", \
|
||||
NS_ConvertUTF16toUTF8(_leafName).get()) \
|
||||
.get())
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче