mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Add meta-referrer support for documents
This commit is contained in:
parent
d0f5a5fd74
commit
687d0cd7c3
56 changed files with 136 additions and 263 deletions
|
@ -144,8 +144,9 @@ impl HTMLIFrameElement {
|
|||
pub fn process_the_iframe_attributes(&self) {
|
||||
let url = self.get_url();
|
||||
|
||||
// TODO - loaddata here should have referrer info (not None, None)
|
||||
self.navigate_or_reload_child_browsing_context(Some(LoadData::new(url, None, None)));
|
||||
let document = document_from_node(self);
|
||||
self.navigate_or_reload_child_browsing_context(
|
||||
Some(LoadData::new(url, document.get_referrer_policy(), Some(document.url().clone()))));
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue