I guess Chromium is just more strict when it comes to the CSP and assigning stuff to the innerHTML property?
https://greasyfork.org/en/discussions/development/220765-this-document-requires-trustedhtml-assignment
https://developer.mozilla.org/en-US/docs/Web/API/TrustedHTML
The library DOMPurify could be used to fix this without having to manually implement the TrustedHTML API which isn't supported in Firefox and Safari yet.