Skip to content

URL issues #46755

@zloirock

Description

@zloirock

Version

19.7

Platform

All

Subsystem

URL

What steps will reproduce the bug?

It seems after #46410:

const url = new URL('file:///var/log/system.log');
url.href = 'http://0300.168.0xF0';
url.href; // => 'file://192.168.0.240/', should be 'http://0300.168.0xF0'

new URL('', 'about:blank'); // should be an error, now it's not

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

No response

What is the expected behavior?

No response

What do you see instead?

^

Additional information

No response

Metadata

Metadata

Assignees

Labels

confirmed-bugIssues with confirmed bugs.urlIssues and PRs related to the legacy built-in url module.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