Steps to reproduce:
1.Open a page with VE in Firefox
2.Go to Insert>Language
3.Close the language inspector without making any change
4.Click on "Save Page"
After step 3 you get the error: TypeError: sel.nativeSelection is null
After saving there is another error in the console:
TypeError: this.debugBar is null
If you had categories add on this page, they move to the top of the page
The context menu for Language Inspector is still open in read mode
Try to reopen VE , clicking on Edit button, VE does not open.
Environment: test2 and Betalabs