diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-10-23 17:25:39 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-10-23 18:58:34 -0400 |
commit | 225ec3ed4e0c176846bbf25217f58fbe6314fcec (patch) | |
tree | 9c333d0558e818d4285dbf5f5b929d644247259f /components/script/dom/htmliframeelement.rs | |
parent | 012a80cc182ea9773f82696bf36f05820ab994b3 (diff) | |
download | servo-225ec3ed4e0c176846bbf25217f58fbe6314fcec.tar.gz servo-225ec3ed4e0c176846bbf25217f58fbe6314fcec.zip |
Really fix #3738 by only processing iframe src attributes during parsing.
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 52ee5c56c7b..737f3340ecf 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -121,7 +121,7 @@ impl<'a> HTMLIFrameElementHelpers for JSRef<'a, HTMLIFrameElement> { })); let doc = document_from_node(self).root(); - if doc.ReadyState() != DocumentReadyStateValues::Complete { + if doc.ReadyState() == DocumentReadyStateValues::Loading { // https://github.com/servo/servo/issues/3738 // We can't handle dynamic frame tree changes in the compositor right now. let ConstellationChan(ref chan) = page.constellation_chan; |