mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
script: Obtain referrer policy from header
This commit is contained in:
parent
920a43df95
commit
1a242d8a50
8 changed files with 52 additions and 11 deletions
|
@ -1721,7 +1721,8 @@ impl Node {
|
|||
let document = Document::new(window, None,
|
||||
Some((*document.url()).clone()),
|
||||
is_html_doc, None,
|
||||
None, DocumentSource::NotFromParser, loader, None);
|
||||
None, DocumentSource::NotFromParser, loader,
|
||||
None, None);
|
||||
Root::upcast::<Node>(document)
|
||||
},
|
||||
NodeTypeId::Element(..) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue