Thanks for your treats.
Turning off scripts did not solve the problem under edge I use the same scripts and there is no error. As I found out, the problem lies in the profile of firefox. After I had exchanged the profile against a profile which produced no error, the error did not appear anymore. What exactly was changed in the Firefox profile I have not found out yet