Fetch api does not work in webextensions
问题 I'm experimenting firefox webextensions. I'd like to make HTTP requests using the fetch API after submitting a form. The problem is that the fetch request is not doing anything. Here is the data extracted from my manifest.json: "browser_action": { "default_popup": "test.html" }, "permissions": [ "<all_urls>" ], Here is my test.html: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <form> <button type="submit">Submit</button> </form> <script src="test.js"></script> </body> <