The test in question navigation-api/navigation-history-entry/no-referrer-dynamic-url-censored.html, changes the referrer policy for the document, by inserting <meta> tags. This will affect fetches made by the document, not of the document itself.
The spec, for the url getter states in step 4 that:
- If she's document does not equal document, and she's document state's request referrer policy is "no-referrer" or "origin", then return null.
We see the reference to the "request referrer policy" here. The link explains with a note that:
The request referrer policy is distinct from the history policy container's referrer policy. The former is used for fetches of this document, whereas the latter controls fetches by this document.
The meta tag seems to affect the latter ("history policy container's referrer policy") only.
That makes this test test what is not specified. I've also filed an issue for this with the spec itself: whatwg/html#11941
Cc @zcorpan @farre