Servo: Add "same-origin" referrer policy in Request.webidl

Created on 4 Feb 2020  路  3Comments  路  Source: servo/servo

https://fetch.spec.whatwg.org/#concept-request-referrer-policy points at https://w3c.github.io/webappsec-referrer-policy/#referrer-policy which we don't quite match the IDL for. Methods in request.rs are currently conflating "origin" and "same-origin" together in Into<ReferrerPolicy> for MsgReferrerPolicy.

A nearby comment mentions whatwg/fetch#346, which ended up closed without merging; that comment should get taken out when fixing this.

A-contendom A-network C-assigned I-spec-update

Most helpful comment

@highfive assign me

All 3 comments

@highfive assign me

Hey @tipowol! Thanks for your interest in working on this issue. It's now assigned to you!

It will be useful to run ./mach test-wpt tests/wpt/web-platform-tests/fetch/api after fixing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CYBAI picture CYBAI  路  3Comments

roberto68 picture roberto68  路  3Comments

jdm picture jdm  路  3Comments

gterzian picture gterzian  路  4Comments

gterzian picture gterzian  路  3Comments