Skip to content

URL.canParse fails when stressed #48816

Description

@joacub

Version

20.4.0

Platform

any

Subsystem

No response

What steps will reproduce the bug?

while (true) {
  const test = URL.canParse('/ ', 'http://n');
  console.log(test);
}

How often does it reproduce? Is there a required condition?

after some stress

What is the expected behavior? Why is that the expected behavior?

same result as first one

What do you see instead?

return false at some point of stress

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.whatwg-urlIssues and PRs related to the WHATWG URL implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions