I need to reload the tab where the extension form is. So I use this line to query the tab I want which is html file but starts with : moz-extension
var querying = browser.tabs.query({url:"moz-extension://*/tab.html"});
I do not get anything returned. Is this restricted?
But this pattern works:
var querying = browser.tabs.query({url: "moz-extension://*/*"});
However, I want to specify the page with the exact html file. What’s wrong in my first pattern?