AngleSharp.Js icon indicating copy to clipboard operation
AngleSharp.Js copied to clipboard

StackOverflow exception when trying to open link

Open Takoooooo opened this issue 3 years ago • 1 comments

Bug Report

Prerequisites

  • [X] Can you reproduce the problem in a MWE?
  • [X] Are you running the latest version of AngleSharp?
  • [X] Did you check the FAQs to see if that helps you?
  • [X] Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support)
  • [X] Did you perform a search in the issues?

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

Takoooooo avatar Apr 07 '21 15:04 Takoooooo

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?

gandolh avatar Aug 23 '23 12:08 gandolh