Currently the popup menu only displays domain details of the page if the tab is in loaded state. When navigating and page takes long to load this can cause problems and bad user experience.
Current implementation relies solely on tab.onUpdated APIs.
Use webNavigation APIs to detect navigation update popup suggestions before tab is loaded.
If for any reason the loading is cancelled, we should rely on the current url of the document, not what was being loaded.
Currently the popup menu only displays domain details of the page if the tab is in loaded state. When navigating and page takes long to load this can cause problems and bad user experience.
Current implementation relies solely on
tab.onUpdatedAPIs.Use webNavigation APIs to detect navigation update popup suggestions before tab is loaded.
If for any reason the loading is cancelled, we should rely on the current url of the document, not what was being loaded.