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

net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getTopCallScope #440

Open
niyuhan opened this issue Feb 7, 2022 · 5 comments
Open

Comments

@niyuhan
Copy link

niyuhan commented Feb 7, 2022

ScriptRuntime:3881

image

request vue-cli website

@niyuhan
Copy link
Author

niyuhan commented Feb 7, 2022

Version 2.57.0 has problem
Version 2.50.0 has not

@rbri
Copy link
Member

rbri commented Feb 7, 2022

Do you have a public url for me to reproduce?

@svbrunov
Copy link

svbrunov commented Mar 6, 2022

Dear Ronald Brill (@rbri),

It seems that I have just reproduced it:

  • HtmlUnit 2.59.0.
  • URL: https://ya.ru/.

Please, see the output of the HtmlUnit JavaScript error listener.

Best regards,
Sergey Vyacheslavovich Brunov.

@svbrunov
Copy link

Dear Ronald Brill (@rbri),

It is reproducible with a new version of HtmlUnit:

  • HtmlUnit 2.60.0.
  • URL: https://ya.ru/.

Please, see the output of the HtmlUnit JavaScript error listener.

Best regards,
Sergey Vyacheslavovich Brunov.

@rbri
Copy link
Member

rbri commented Mar 23, 2022

hi sergey,

did some testing right now and i was able to see your problem once. But after reloading i got now a different error - this time the js parser fails while parsing https://ya.ru/captcha_smart.min.js. Maybe someone changed the page source.
Can you please verify.

Maybe you can set webClient.getOptions().setThrowExceptionOnScriptError(false); to ignore this errors and proceed.

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

3 participants