TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
cassus opened this issue · comments
TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
on this line:
observer.observe(document.querySelector("html"), { // this line
childList: true
});
When an svg is loaded on the page as <object data="xxx.svg"></object>
As there is no html
in the svg document
On which website did you encounter this TypeError?
Here's an example page: https://app.tealcompass.com/results/4d3cd7c8-234a-4a22-87a8-51d651c83597
It's an app I'm working on, and the errors initially showed up on my local dev environment. I can only show it to you now that it's deployed.
Additionally the errors still show in the console if I uncheck the "Keep running on this site?" option
Fixed in the next release