Skip to content

Commit

Permalink
Bug 1833694 - Remove obsolete fastload invalidation code from nsAppRu…
Browse files Browse the repository at this point in the history
…nner. r=xpcom-reviewers,mccr8

Differential Revision: https://phabricator.services.mozilla.com/D178353
  • Loading branch information
kmaglione committed May 17, 2023
1 parent 7882a64 commit 0702d3f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions toolkit/xre/nsAppRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3570,18 +3570,6 @@ static bool RemoveComponentRegistries(nsIFile* aProfileDir,
aLocalProfileDir->Clone(getter_AddRefs(file));
if (!file) return false;

#if defined(XP_UNIX) || defined(XP_BEOS)
# define PLATFORM_FASL_SUFFIX ".mfasl"
#elif defined(XP_WIN)
# define PLATFORM_FASL_SUFFIX ".mfl"
#endif

file->AppendNative(nsLiteralCString("XUL" PLATFORM_FASL_SUFFIX));
file->Remove(false);

file->SetNativeLeafName(nsLiteralCString("XPC" PLATFORM_FASL_SUFFIX));
file->Remove(false);

file->SetNativeLeafName("startupCache"_ns);
nsresult rv = file->Remove(true);
return NS_SUCCEEDED(rv) || rv == NS_ERROR_FILE_NOT_FOUND;
Expand Down

0 comments on commit 0702d3f

Please sign in to comment.