Fix invalid use of ReferrerUrl

This commit is contained in:
Matthias Deiml 2020-06-16 00:35:46 +02:00
parent 23a1b0dfb9
commit 47355766ed
50 changed files with 293 additions and 830 deletions

View file

@ -688,7 +688,7 @@ impl HTMLFormElement {
LoadOrigin::Script(doc.origin().immutable().clone()),
action_components,
None,
Referrer::ReferrerUrl(target_document.url()),
target_window.upcast::<GlobalScope>().get_referrer(),
target_document.get_referrer_policy(),
);