Skip to content
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

[BUG]: 调用executeJavascript出现异常并崩溃 #370

Open
ChenKe404 opened this issue Jan 20, 2024 · 0 comments
Open

[BUG]: 调用executeJavascript出现异常并崩溃 #370

ChenKe404 opened this issue Jan 20, 2024 · 0 comments

Comments

@ChenKe404
Copy link

Describe the bug 【Bug描述】

当调用函数 executeJavascript 时在 QCefViewPrivate.cpp 的1054行出现异常。
#58 这个issue提到了这个问题,但是只对函数 executeJavascriptWithResult 做了更改。

QCefView 版本 1.1.0

To Reproduce 【复现步骤】

  1. 使用官网的教程创建QCefView
  2. 在页面加载完毕后执行 executeJavascript(QCefView::MainFrameID,"任意js代码","");
  3. 报异常并崩溃

Expected behavior 【正确的预期行为】

就算js代码执行不成功也不因该把程序崩掉。

Screenshots 【截图】
KOG)I71NVW)MZT%W)W1S@6C
QM78`33QVXA }05925((YPJ

Environment 【BUG产生的环境】

  • OSR/NCW Mode: OSR enable
  • OS & Version: Windows 10
  • Qt Version: 5.12.5
  • CEF Version: 113.3.1

Additional context 【更多额外信息】

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