diff options
author | Josh Matthews <josh@joshmatthews.net> | 2019-03-07 18:59:57 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2019-03-07 19:01:54 -0500 |
commit | c2ce7d72a12f814db3feec6c622e2c1bfe7f2691 (patch) | |
tree | b3dcfc911c31e7a2ef42b555cc8c61db9077f694 /components/script/dom/htmliframeelement.rs | |
parent | edfd15c36f9c050512ebdfab3553cd3a7f6ff06f (diff) | |
download | servo-c2ce7d72a12f814db3feec6c622e2c1bfe7f2691.tar.gz servo-c2ce7d72a12f814db3feec6c622e2c1bfe7f2691.zip |
Make nested browsing context navigations check the loaded status of the active document of the nested browsing context.
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index f9e249ca85a..3a01d36beeb 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -278,9 +278,7 @@ impl HTMLIFrameElement { // see https://html.spec.whatwg.org/multipage/#the-iframe-element:about:blank-3 let is_about_blank = pipeline_id.is_some() && pipeline_id == self.about_blank_pipeline_id.get(); - // Replacement enabled also takes into account whether the document is "completely loaded", - // see https://html.spec.whatwg.org/multipage/#the-iframe-element:completely-loaded - let replace = is_about_blank || !document.is_completely_loaded(); + let replace = is_about_blank; self.navigate_or_reload_child_browsing_context( Some(load_data), NavigationType::Regular, |