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
This commit is contained in:
bors-servo 2020-08-10 16:41:59 -04:00 committed by GitHub
commit d028d71fe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 26 additions and 20 deletions

View file

@ -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;