From a73be191760731c89d4674c12b418a0cf3ae242c Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 24 Feb 2020 15:34:32 +0300 Subject: [PATCH] fixup! ensure frame url is present --- popup/popup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/popup/popup.js b/popup/popup.js index 24d36ce0..950dec1a 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -219,6 +219,7 @@ function sortTabFrames(frames) { const sortedFrames = [...known.values(), ...unknown.values()]; const urls = new Set([ABOUT_BLANK]); for (const f of sortedFrames) { + f.url = f.url || ''; f.isDupe = urls.has(f.url); urls.add(f.url); }