How to fix "MutationEvent is not defined"
Issue
The browser, Chrome or Edge, gives a pop-up error "MutationEvent is not defined" when viewing a certain page on your machine's web server.
Product Line
Power Monitoring Expert 9.x
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Environment
Edge
Chrome
Firefox
Example
You get this error message when you connect to a PME via the web interface from the network,
but if you connect to the web from the application server you don't get it
Resolution:
A quick fix
- Use a different browser, like chrome or Firefox.
- In Chrome, go to chrome://flags/ search for "mutation", and set Enable (deprecated) synchronous mutation events to Enabled.
- In Edge, go to edge://flag search for "mutation", and set Enable (deprecated) synchronous mutation events to Enabled.
Note
Google Chrome and Microsoft Edge have been updated to no longer support synchronous mutation events, used by various manufacturers in their web servers.