Do not load srcdoc iframes synchronously

This commit is contained in:
Utsav Oza 2020-08-05 18:44:28 +05:30
parent 6e28d7b3ec
commit acbfd7b9ab
3 changed files with 14 additions and 8 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;