From 1f347df8cfe122a23931e285915f252df0a93f39 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 4 May 2018 22:06:50 +0300 Subject: [PATCH] fixup c26fa76f: Set#has #380 --- background/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background/update.js b/background/update.js index 18be9280..918b46f4 100644 --- a/background/update.js +++ b/background/update.js @@ -103,7 +103,7 @@ global API_METHODS function reportFailure(error) { // retry once if the error is 503 Service Unavailable - if (error === 503 && !retrying.get(id)) { + if (error === 503 && !retrying.has(id)) { retrying.add(id); return new Promise(resolve => { setTimeout(() => {