Skip to content

编译到wasm时是否避免eval? #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Curtion opened this issue Jan 9, 2025 · 1 comment
Open

编译到wasm时是否避免eval? #12

Curtion opened this issue Jan 9, 2025 · 1 comment

Comments

@Curtion
Copy link

Curtion commented Jan 9, 2025

在manifest v3的浏览器拓展中,报错:
2

具体报错位置:
1

经过检查,发现manifest v3禁用了'unsafe-eval'
内容安全政策
3

是否可以在编译时避免使用相关动态语法来解决这个问题?

@Curtion
Copy link
Author

Curtion commented Jan 9, 2025

应该是和这个有关系 emscripten-core/emscripten#20994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant