Version
v24.14.0
Platform
arwin JounQin---MacBook-Pro-Max.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:30:44 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6000 arm64
Subsystem
No response
What steps will reproduce the bug?
new URL('file:///home/user/document.html#section')
URL {
href: 'file:///home/user/document.html#section',
origin: 'null',
protocol: 'file:',
username: '',
password: '',
host: '',
hostname: '',
port: '',
pathname: '/home/user/document.html',
search: '',
searchParams: URLSearchParams {},
hash: '#section'
}
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Origin should be file://
What do you see instead?
"null"
Additional information
No response
Version
v24.14.0
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Origin should be
file://What do you see instead?
"null"Additional information
No response