I was answering a question on Stack Overflow and noticed this: a web request sent from an addon is not logged in the network tab of the “debug the addon” toolbox (FF 61a here) :
I tried using fetch
and jquery $.ajax
and got the same behaviour.
The request can only be seen from the overall “browser toolbox” Network tool:
I find this behaviour really unexpected, I’d expect my addon network requests to be visible when I debug my specific addon (using the “debug” link from the about:debugging page). I tried to change the toolbox target (request was sent from a browser action popup in my test) but it didn’t change anything, I couldn’t get any request visible from the addon debugging toolbox.
Is this made on purpose? Or am I missing something (a setting maybe)?