gecko-dev/xpcom/base
Jens Stutte 8560eb86e8 Bug 1690326: Map Windows error 0x570 ERROR_FILE_CORRUPT to NS_ERROR_FILE_FS_CORRUPTED r=xpcom-reviewers,janv,nika
While NS_ERROR_FILE_CORRUPTED already exists, it indicates most of the times more a parsing problem of a given file format.
But Windows ERROR_FILE_CORRUPTED signals a malfunctioning or corrupted file system at OS level, thus we translate it to the new
NS_ERROR_FILE_FS_CORRUPTED.

There seems to be no suitable errno under POSIX to map here.

Differential Revision: https://phabricator.services.mozilla.com/D108793
2021-03-23 10:29:02 +00:00
..
AppShutdown.cpp Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers 2021-03-17 08:07:48 +00:00
AppShutdown.h Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers 2021-03-17 08:07:48 +00:00
AutoRestore.h
AvailableMemoryTracker.cpp
AvailableMemoryTracker.h
ClearOnShutdown.cpp Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers 2021-03-17 08:07:48 +00:00
ClearOnShutdown.h Bug 1696397: Move SpinEventLoopUntilOrShutdown to -Quit and move the current shutdown state logic from nsThreadManager to AppShutdown; r=kmag,xpcom-reviewers 2021-03-17 08:07:48 +00:00
CodeAddressService.h Bug 1699375 - Make MozFormatCodeAddress* return the printed size, and use that instead of strlen. r=nika 2021-03-22 21:25:30 +00:00
CountingAllocatorBase.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
CycleCollectedJSContext.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
CycleCollectedJSContext.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CycleCollectedJSRuntime.cpp Bug 1698172 - Add descriptions to GC markers r=jonco 2021-03-22 16:00:52 +00:00
CycleCollectedJSRuntime.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
Debug.cpp
Debug.h
DebuggerOnGCRunnable.cpp
DebuggerOnGCRunnable.h
DeferredFinalize.cpp
DeferredFinalize.h Bug 1692403 - Never inline DeferredFinalize(nsISupports*). r=xpcom-reviewers,mccr8 2021-03-15 16:44:23 +00:00
EnumeratedArrayCycleCollection.h
ErrorList.py Bug 1690326: Map Windows error 0x570 ERROR_FILE_CORRUPT to NS_ERROR_FILE_FS_CORRUPTED r=xpcom-reviewers,janv,nika 2021-03-23 10:29:02 +00:00
ErrorNames.cpp
ErrorNames.h
GkRustUtils.cpp Bug 1662518 part 1 - Add semver to gkrust_util r=emilio 2020-09-02 23:49:02 +00:00
GkRustUtils.h Bug 1662518 part 1 - Add semver to gkrust_util r=emilio 2020-09-02 23:49:02 +00:00
HoldDropJSObjects.cpp
HoldDropJSObjects.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
IntentionalCrash.h
JSObjectHolder.cpp
JSObjectHolder.h
LogCommandLineHandler.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
LogCommandLineHandler.h
LogModulePrefWatcher.cpp
LogModulePrefWatcher.h
Logging.cpp Bug 1694530 - Allow to prepend a distinct header by using MOZ_LOG=prependheader. r=xpcom-reviewers,nika 2021-03-13 00:18:47 +00:00
Logging.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
MacHelpers.h
MacHelpers.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
MacStringHelpers.h
MacStringHelpers.mm Bug 1692391 - Replace the NS_OBJC_BEGIN/END_TRY_ABORT_BLOCK_NSRESULT macros with the functionally identical NS_OBJC_BEGIN/END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE). r=haik 2021-02-16 22:55:20 +00:00
MemoryInfo.cpp
MemoryInfo.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
MemoryMapping.cpp
MemoryMapping.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
MemoryReportingProcess.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
MemoryTelemetry.cpp Bug 1689182 - Collect content memory telemetry from the parent process, r=kmag 2021-01-28 19:48:03 +00:00
MemoryTelemetry.h Bug 1689182 - Collect content memory telemetry from the parent process, r=kmag 2021-01-28 19:48:03 +00:00
NSPRLogModulesParser.cpp
NSPRLogModulesParser.h
OwningNonNull.h
ShutdownPhase.h Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten 2021-02-27 14:38:14 +00:00
SizeOfState.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
StaticLocalPtr.h
StaticMonitor.h
StaticMutex.h
StaticPtr.h
TupleCycleCollection.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
components.conf
moz.build Bug 1692391 - Clean up nsObjCExceptions.h a little bit, and use -[NSException callStackSymbols] instead of manual symbolication. r=haik 2021-02-16 22:55:18 +00:00
nsAlgorithm.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsAutoRef.h Bug 1665373 - Remove nsCountedRef. r=xpcom-reviewers,nika 2020-09-17 00:50:56 +00:00
nsCOMPtr.cpp Bug 1661242 - Declare nsCOMPtr_base::begin_assignment MOZ_ALWAYS_INLINE in release builds. r=froydnj 2020-09-03 14:45:09 +00:00
nsCOMPtr.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsCRTGlue.cpp Bug 1680402. Use stderr in printf_stderr instead of reopening fd 2. r=glandium 2021-03-16 20:45:21 +00:00
nsCRTGlue.h
nsClassInfoImpl.cpp
nsCom.h
nsConsoleMessage.cpp Bug 1696856 - [devtools] Move isForwardedFromContentProcess to nsConsoleMessage. r=baku. 2021-03-10 12:44:22 +00:00
nsConsoleMessage.h Bug 1696856 - [devtools] Move isForwardedFromContentProcess to nsConsoleMessage. r=baku. 2021-03-10 12:44:22 +00:00
nsConsoleService.cpp Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in xpcom. r=xpcom-reviewers,nika 2021-03-01 09:59:33 +00:00
nsConsoleService.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsCrashOnException.cpp
nsCrashOnException.h
nsCycleCollectionNoteChild.h
nsCycleCollectionNoteRootCallback.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsCycleCollectionParticipant.cpp
nsCycleCollectionParticipant.h Bug 1696507 - Remove support for NO_UNLINK version of cycle collector macros. r=smaug 2021-03-10 19:50:40 +00:00
nsCycleCollectionTraversalCallback.h Bug 1676363 - Remove unnecessary includes from xpcom/base/nsCycleCollectionTraversalCallback.h. r=#xpcom-reviewers 2020-11-23 16:09:59 +00:00
nsCycleCollector.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
nsCycleCollector.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsCycleCollectorTraceJSHelpers.cpp Bug 1428742 - use Value::toGCCellPtr and delegating ctr of GCCellPtr. r=jonco 2021-02-03 20:13:10 +00:00
nsDebug.h Bug 1666802 - Remove LayersLogging.*. r=mattwoodrow 2020-10-11 21:20:46 +00:00
nsDebugImpl.cpp Bug 1699375 - Move WalkTheStack to mozglue. r=nika 2021-03-22 21:25:30 +00:00
nsDebugImpl.h
nsDumpUtils.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsDumpUtils.h Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsError.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsErrorService.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsErrorService.h
nsGZFileWriter.cpp
nsGZFileWriter.h Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
nsIClassInfoImpl.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana 2020-10-06 16:12:00 +00:00
nsIConsoleListener.idl
nsIConsoleMessage.idl Bug 1696856 - [devtools] Move isForwardedFromContentProcess to nsConsoleMessage. r=baku. 2021-03-10 12:44:22 +00:00
nsIConsoleService.idl
nsICycleCollectorListener.idl
nsID.cpp
nsID.h
nsIDebug2.idl
nsIErrorService.idl
nsIException.idl
nsIGZFileWriter.idl Bug 1657033 - Use Span<const char> in JSONWriter - r=froydnj 2020-09-14 02:33:20 +00:00
nsIInterfaceRequestor.idl
nsIInterfaceRequestorUtils.cpp
nsIInterfaceRequestorUtils.h
nsIMacPreferencesReader.idl
nsIMacUtils.idl
nsIMemory.idl
nsIMemoryInfoDumper.idl
nsIMemoryReporter.idl Bug 1673432 - Add comment about minimizeMemoryUsage being async. r=kmag DONTBUILD 2020-11-03 21:54:46 +00:00
nsIMessageLoop.idl
nsINIParser.cpp Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
nsINIParser.h
nsISecurityConsoleMessage.idl
nsISizeOf.h
nsISupports.idl
nsISupportsBase.h
nsISupportsImpl.cpp Bug 1678463 - Part 1: Add _WITH_DELETE_ON_EVENT_TARGET macros to nsISupportsImpl, r=mccr8 2020-12-14 18:30:51 +00:00
nsISupportsImpl.h Bug 1678463 - Part 1: Add _WITH_DELETE_ON_EVENT_TARGET macros to nsISupportsImpl, r=mccr8 2020-12-14 18:30:51 +00:00
nsISupportsUtils.h
nsIUUIDGenerator.idl
nsIVersionComparator.idl
nsIWeakReference.idl
nsIWeakReferenceUtils.h
nsInterfaceRequestorAgg.cpp
nsInterfaceRequestorAgg.h
nsMacPreferencesReader.h
nsMacPreferencesReader.mm Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsMacUtilsImpl.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsMacUtilsImpl.h Bug 1677029 - With universal builds on Apple Silicon, first launch of the GMP process is slow r=bryce,spohl 2020-11-16 22:34:31 +00:00
nsMaybeWeakPtr.h
nsMemory.cpp
nsMemory.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsMemoryImpl.cpp
nsMemoryImpl.h
nsMemoryInfoDumper.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsMemoryInfoDumper.h
nsMemoryReporterManager.cpp Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
nsMemoryReporterManager.h Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
nsMessageLoop.cpp
nsMessageLoop.h
nsObjCExceptions.h Bug 1694000 - Ignore "Missing Touches." exception when it bubbles up to the event loop. r=spohl 2021-02-20 22:11:34 +00:00
nsObjCExceptions.mm Bug 1694000 - Ignore "Missing Touches." exception when it bubbles up to the event loop. r=spohl 2021-02-20 22:11:34 +00:00
nsQueryObject.h
nsSecurityConsoleMessage.cpp
nsSecurityConsoleMessage.h
nsSystemInfo.cpp Bug 1683373: Add hasUserCET flag to cpu.extensions in Telemetry Environment. r=dmajor 2020-12-19 19:48:29 +00:00
nsSystemInfo.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsTraceRefcnt.cpp Bug 1699375 - Move WalkTheStack to mozglue. r=nika 2021-03-22 21:25:30 +00:00
nsTraceRefcnt.h Bug 1699375 - Move WalkTheStack to mozglue. r=nika 2021-03-22 21:25:30 +00:00
nsUUIDGenerator.cpp
nsUUIDGenerator.h
nsVersionComparator.cpp
nsVersionComparator.h
nsVersionComparatorImpl.cpp
nsVersionComparatorImpl.h
nsWeakReference.cpp
nsWeakReference.h
nsWindowsHelpers.h
nscore.h Bug 1688768 - Enable full shutdown when JS_STRUCTURED_SPEW is enabled. r=sfink 2021-01-27 23:40:35 +00:00
nsrootidl.idl