AngleSharp / AngleSharp.Js

:angel: Extends AngleSharp with a .NET-based JavaScript engine.
https://anglesharp.github.io
MIT License
103 stars 22 forks source link

StackOverflow exception when trying to open link #75

Open Takoooooo opened 3 years ago

Takoooooo commented 3 years ago

Bug Report

Prerequisites

For more information, see the CONTRIBUTING guide.

Description

When I try to open the link I get the StackOverflow exception.Works with only one particular link. Without js engine works also fine. With 0.12.1 works also fine

Steps to Reproduce

var config = Configuration.Default
            .WithJs()
            .WithDefaultLoader();
var _context = BrowsingContext.New(config);
await _context.OpenAsync("https://music.amazon.com/forceSignIn/ref=dm_wcp_unrec_ctxt_sign_in?useHorizonte=true");

Environment details: Win 10

gandolh commented 1 year ago

It happens the same opening "https://www.google.com/", but the error is: "ReferenceError: Image is not defined". Probably propagating Javascript error instead of ignoring it?