This is a comment on our extension Container Tab Groups.
This is the closest I’ve come to using an extension that provides what I liked about Panorama. I like being able to sort and create new categories in the sidebar but for whatever reason when I use this extension from time to time pages will no longer load. I’ll see the loading animation on the tab but nothing appears. When I turn this extension off then the page loads normally. It’s frustrating and it’s the one problem I have with this extension. Even when I clear the browser cache and history then quit and reopen Firefox it still happens.
Also in my testing environment, Firefox is sometimes too slow to load any pages with this extension enabled. Disabling the extension fixes the problem, but I think it to be a some sort of Firefox issue, because any call to WebExtensions API takes too much time and freezes the browser when this problem occurs.
Certainly Container Tab Groups (CTG) registers many listeners/handlers on various parts of web requests.
-
webRequest.onBeforeRequest
to redirect requests. -
webRequest.onBeforeSendHeaders
to override some request headers (e.g. User-Agent and Accept-Languages). -
webRequest.onHeadersReceived
to make some changes to response headers. (this might not be needed, so I am considering removing it) -
proxy.onRequest
to set per-container proxies. -
webRequest.onAuthRequired
to provide HTTP-proxy credentials. -
webRequest.onCompleted
/webRequest.onErrorOccurred
to clear pending requests list to correctly handle proxy requests.
When the problem happens, WebExtensions API calls in the listeners become too slow and block page load for a long time.
Do you other extension developers have similar problems?