I’ve got web-extension proxying requests to the local server via nativeMessaging.
If server response with 307 and location “moz-extension://{ext-id}/page.html” browser displays it well. But when I try to refresh the page, error “Access to the file was denied” is occurred. Refreshing in any other cases works well:
direct jump to “moz-extension://{ext-id}/page.html”
displaying “moz-extension://{ext-id}/page.html” with browser.tabs.update
Such behavior was in several previous versions too, not just in the last 103 and but I didn’t tested if it was always like this.
If I doing something wrong or this is browser issue?
After small research we find out that the problem appears only if we use addon debugging from the folder. If the xpi archive was used the problem is absent.
Have you found a solution ? I am developing an extension that has a local page, and I’m seeing the same problem. Refreshing the page does not work with extension loaded from disk