diff options
author | Aravind Gollakota <aravindprasant@gmail.com> | 2016-07-14 23:13:44 -0700 |
---|---|---|
committer | Aravind Gollakota <aravindprasant@gmail.com> | 2016-07-15 08:13:57 -0700 |
commit | bfda32ea0076d29788b39634e95ca7517315dceb (patch) | |
tree | b266f657f1de3f9dc10bac1403571fd21cdac7df /components/net/fetch/methods.rs | |
parent | e7ae1e86e14ad603415a538a5a68d170539ead36 (diff) | |
download | servo-bfda32ea0076d29788b39634e95ca7517315dceb.tar.gz servo-bfda32ea0076d29788b39634e95ca7517315dceb.zip |
msg: Rename `ReferrerPolicy::NoRefWhenDowngrade` `NoReferrerWhenDowngrade`
This is more consistent with the other variants.
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r-- | components/net/fetch/methods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index b357edae05e..bef25ef9ba0 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -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 |