msg: Rename ReferrerPolicy::NoRefWhenDowngrade NoReferrerWhenDowngrade

This is more consistent with the other variants.
This commit is contained in:
Aravind Gollakota 2016-07-14 23:13:44 -07:00
parent e7ae1e86e1
commit bfda32ea00
6 changed files with 11 additions and 10 deletions

View file

@ -155,7 +155,7 @@ fn main_fetch(request: Rc<Request>, cache: &mut CORSCache, cors_flag: bool,
// Step 7
if request.referrer_policy.get().is_none() {
request.referrer_policy.set(Some(ReferrerPolicy::NoRefWhenDowngrade));
request.referrer_policy.set(Some(ReferrerPolicy::NoReferrerWhenDowngrade));
}
// Step 8