Really fix #3738 by only processing iframe src attributes during parsing.

This commit is contained in:
Josh Matthews 2014-10-23 17:25:39 -04:00
parent 012a80cc18
commit 225ec3ed4e
8 changed files with 20 additions and 7 deletions

View file

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