--- original +++ modified @@ -7,6 +7,7 @@ use html5ever::{LocalName, Prefix, local_name, ns}; use js::context::JSContext; use js::rust::HandleObject; +use servo_constellation_traits::{EmbeddedWebViewEventType, ScriptToConstellationMessage}; use style::attr::AttrValue; use style::color::AbsoluteColor; @@ -136,6 +137,12 @@ window.webview_id(), LoadStatus::HeadParsed, )); + // Also notify parent iframe if this is an embedded webview. + window.send_to_constellation( + ScriptToConstellationMessage::EmbeddedWebViewNotification( + EmbeddedWebViewEventType::LoadStatusChanged(LoadStatus::HeadParsed), + ), + ); } }