简体   繁体   中英

window.trustedtypes in undefined in Firefox

I have implemented trusted types in my application.which is working fine in Chrome.but in firefox i'm getting window.trustedtypes is undefined in Firefox error.please suggest how to solve this issue

I know this question is old, but some explanation for someone who comes across this question:

Check the following link for supported browsers: https://caniuse.com/trusted-types

Firefox currently does not support trusted types. It is possible to use them with the polyfill from w3c: https://github.com/w3c/trusted-types

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM