Servo: 在 Request.webidl 中添加“同源”引用策略

创建于 2020-02-04  ·  3评论  ·  资料来源: servo/servo

https://fetch.spec.whatwg.org/#concept -request-referrer-policy 指向https://w3c.github.io/webappsec-referrer-policy/#referrer -policy,我们与IDL 为。 request.rs 中的方法目前在Into<ReferrerPolicy> for MsgReferrerPolicy中将“origin”和“same-origin”混为一谈。

附近的一条评论提到了 whatwg/fetch#346,它最终在没有合并的情况下关闭; 修复此问题时应删除该评论。

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

最有用的评论

@highfive分配给我

所有3条评论

@highfive分配给我

嘿@tipowol! 感谢您有兴趣解决此问题。 现在已经分配给你了!

修复此问题后运行./mach test-wpt tests/wpt/web-platform-tests/fetch/api会很有用。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

Manishearth picture Manishearth  ·  4评论

jdm picture jdm  ·  3评论

shinglyu picture shinglyu  ·  4评论

larsbergstrom picture larsbergstrom  ·  3评论

ferjm picture ferjm  ·  3评论