Skip to content

URL.canParse fails when stressed #48816

@joacub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with 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