diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-08-10 16:41:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 16:41:59 -0400 |
commit | d028d71fe950ee48d0f7d1276537cf4985ad374a (patch) | |
tree | e86979fba8228c966832ec242b023a2faa570ff0 /components/script/dom/htmliframeelement.rs | |
parent | 3c426d707859091cae24a32db6575609c42fa646 (diff) | |
parent | c74ff42a8ff49738865686fbff9fcb9f18408b7b (diff) | |
download | servo-d028d71fe950ee48d0f7d1276537cf4985ad374a.tar.gz servo-d028d71fe950ee48d0f7d1276537cf4985ad374a.zip |
Auto merge of #27505 - utsavoza:ugo/issue-24718/05-08-2020, r=jdm
Do not load srcdoc iframes synchronously
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24718
- [x] There are tests for these changes
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 2e8a37a88d8..60c3e93ece8 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -248,7 +248,7 @@ impl HTMLIFrameElement { load_data.srcdoc = String::from(element.get_string_attribute(&local_name!("srcdoc"))); self.navigate_or_reload_child_browsing_context( load_data, - NavigationType::InitialAboutBlank, + NavigationType::Regular, HistoryEntryReplacement::Disabled, ); return; |