Mimieam / TabSorter2

Google Chrome Tab Management Extension - Merge, Sort, split and more :) - https://chrome.google.com/webstore/detail/tabsorter2/lmmmdnmgmgnimgcfbnomdgeldehlfafn
https://www.tabsorter2.com
65 stars 9 forks source link

Outstanding chrome Manifest 3 issues #31

Closed Mimieam closed 2 years ago

Mimieam commented 2 years ago

upgrading TabSorter2 to Manifest v3 roadblocks

ServiceWorker shuts down after 5 minutes -> https://bugs.chromium.org/p/chromium/issues/detail?id=1152255 SW - Not reactivating on new events -> https://groups.google.com/a/chromium.org/g/chromium-extensions/c/LQ_VpMCpksw/m/WUV6bFAMAwAJ?utm_medium=email&utm_source=footer

Mimieam commented 2 years ago

both Fixed with refactoring to pure event base

Mimieam commented 2 years ago

MV3 service worker broken after auto-update and manual refresh

https://bugs.chromium.org/p/chromium/issues/detail?id=1271154 https://groups.google.com/a/chromium.org/g/chromium-extensions/c/POU6sW-I39M/m/Wm-d3dBTBAAJ

(For reference...) laptop sleep/wake cycle... a new instance of the service worker is loaded, and a race condition(mentioned in the ticket above) sometimes disconnects the communication between the Popup and the Service worker...

Screen Shot 2022-05-20 at 4 58 55 PM
Mimieam commented 2 years ago

Heavy workaround done to automate reload if we somehow get in this state... A manual reload button is also now available on a popup as well