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

Core - Infinite recursion when calling ExecuteScriptAsync #3914

Closed
s-ve opened this issue Nov 30, 2021 · 1 comment
Closed

Core - Infinite recursion when calling ExecuteScriptAsync #3914

s-ve opened this issue Nov 30, 2021 · 1 comment
Milestone

Comments

@s-ve
Copy link

s-ve commented Nov 30, 2021

Due to this recent refactoring, this ExecuteScriptAsync overload now calls itself infinitely.

  • What version of the product are you using?
    96.0.141

  • What architecture x86 or x64?
    x64

  • What version of .Net?
    .Net 6.0

  • On what operating system?
    Win10

  • Are you using WinForms, WPF or OffScreen?
    WinForms

  • What steps will reproduce the problem?

    • Call the method WebBrowserExtensions.ExecuteScriptAsync(this IWebBrowser browser, string methodName, params object[] args)
  • What is the expected output? What do you see instead?

    • Calling this method causes an infinite loop and crashes the program.
@amaitland amaitland changed the title Infinite recursion when calling ExecuteScriptAsync Core - Infinite recursion when calling ExecuteScriptAsync Nov 30, 2021
@amaitland amaitland added this to the 96.0.x milestone Nov 30, 2021
amaitland added a commit that referenced this issue Nov 30, 2021
@amaitland
Copy link
Member

Thanks, if all goes well I'll release an updated version later today.

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

2 participants