Developing with WebExtensions - very frustrating

Talk about add-ons and extension development.
Post Reply
User avatar
Shadoefax
Posts: 465
Joined: April 29th, 2005, 2:59 pm
Location: Glendale, AZ
Contact:

Developing with WebExtensions - very frustrating

Post by Shadoefax »

While developing extensions for Fx Quantum, my work-flow is as following:
  1. Start Quantum
  2. Open "about:debugging"
  3. Click "Load Temporary Add-on"
  4. Navigate to my extensions folder and select any one of the files
Then:
  • Open (or re-load) a test html page.
  • Test the extension
  • Modify the extension source
  • Reload the extension from the "about:debugging" page
  • Rinse and repeat
The problem is that once the extension is reloaded, it doesn't seem to "take" until I reload the test page (or reload the extension) several times. I know it's not "taking" because I attempt to set a badge on the extension's toolbar icon and create a context menu when the page loads or is activated. They are not appearing every time. I might have to reload 5 or 6 times before I can see the changes. It's as if Quantum is not completing the reload.

This is very irritating and really slows down development. I have tried using the Fx release version and the developer edition with the same results. Has anyone else seen this behavior?
All my signatures are stolen from other people. Including this one.
Homepage
Post Reply