Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-07-05 17:28:42 +08:00
commit 206c9dcbbf
8 changed files with 58 additions and 23 deletions

View file

@ -474,6 +474,11 @@ nsPACMan::StartLoading()
void
nsPACMan::OnLoadFailure()
{
// We have to clear the loader to indicate that we are currently not loading PAC.
if (mLoader) {
mLoader = nullptr;
}
int32_t minInterval = 5; // 5 seconds
int32_t maxInterval = 300; // 5 minutes