aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r--components/script_traits/script_msg.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs
index d4a9fc7442b..7ef20af9fbc 100644
--- a/components/script_traits/script_msg.rs
+++ b/components/script_traits/script_msg.rs
@@ -6,6 +6,8 @@ use AnimationState;
use CompositorEvent;
use DocumentState;
use IFrameLoadInfo;
+use IFrameLoadInfoWithData;
+use LayoutControlMsg;
use LoadData;
use MozBrowserEvent;
use WorkerGlobalScopeInit;
@@ -105,7 +107,9 @@ pub enum ScriptMsg {
/// Notifies constellation that an iframe's visibility has been changed.
VisibilityChangeComplete(PipelineId, bool),
/// A load has been requested in an IFrame.
- ScriptLoadedURLInIFrame(IFrameLoadInfo),
+ ScriptLoadedURLInIFrame(IFrameLoadInfoWithData),
+ /// A load of `about:blank` has been completed in an IFrame.
+ ScriptLoadedAboutBlankInIFrame(IFrameLoadInfo, IpcSender<LayoutControlMsg>),
/// Requests that the constellation set the contents of the clipboard
SetClipboardContents(String),
/// Mark a new document as active