Implement Document.referrer

This commit is contained in:
Nazım Can Altınova 2016-07-12 23:29:22 +03:00
parent 9e010a8aec
commit d6c1f7b5e3
17 changed files with 55 additions and 32 deletions

View file

@ -1070,6 +1070,7 @@ pub fn load<A, B>(load_data: &LoadData,
} else {
HttpsState::None
};
metadata.referrer = referrer_url;
// Only notify the devtools about the final request that received a response.
if let Some(msg) = msg {