This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Potentially we only need to serialize without fragment for referrer. Then we could just have "referrer flag" of sorts.
https://w3c.github.io/webappsec/specs/referrer-policy/#strip-url handles this for referrer. Any other use cases?
Probably better to explicitly remove them before serializing. If you want to preserve them, copy the URL first.