Describe the bug
That's a perfectly valid URL.

Source
<link
rel="expect"
href="#MainContent"
blocking="render"
id="view-transition-render-blocker"
>
Expected behaviour
No error. URLs that start with # are links to anchors on the page. This is not a remote URL as it is a link to the same page.
Actual behaviour
Error