You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Odoo/owl uses function constructor to add reactivity in code which hinders latest manifest version's security policy of chrome extensions.
How can I remove use of these Function constructors or is there any other way to make owl chrome extension friendly.
Thank You!!
The text was updated successfully, but these errors were encountered:
You can use the compile_xml.js script to compile templates ahead of time and bundle them in your extension, this is exactly what we do for the owl devtools which are a chrome extension written in owl. See this the owl devtools rollup config for more details:
(also please not that the use of the function constructor has nothing to do with adding reactivity, the reactivity is an entirely runtime feature that doesn't depend on the compiler)
Odoo/owl uses function constructor to add reactivity in code which hinders latest manifest version's security policy of chrome extensions.
How can I remove use of these Function constructors or is there any other way to make owl chrome extension friendly.
Thank You!!
The text was updated successfully, but these errors were encountered: