From 8ac5bb55ce1932411041659c8644471e85f17fdb Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 14 Aug 2018 21:32:13 -0400 Subject: [PATCH] adjust comments --- src/browser/browserApi.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/browser/browserApi.ts b/src/browser/browserApi.ts index e5894b81bfa..81512fb561b 100644 --- a/src/browser/browserApi.ts +++ b/src/browser/browserApi.ts @@ -207,9 +207,9 @@ export class BrowserApi { static closePopup(win: Window) { if (BrowserApi.isWebExtensionsApi && BrowserApi.isFirefoxOnAndroid) { - // COMPAT: Reactivating the active tab dismisses the popout-tab. The promise final - // condition is only called if the popout wasn't already dismissed (future proofing). - // BUGZILLA: https://bugzilla.mozilla.org/show_bug.cgi?id=1433604 + // Reactivating the active tab dismisses the popup tab. The promise final + // condition is only called if the popup wasn't already dismissed (future proofing). + // ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1433604 browser.tabs.update({ active: true }).finally(win.close); }  else if (BrowserApi.isWebExtensionsApi || BrowserApi.isChromeApi) { win.close();