Add DOMLoad message to constellation that is sent after the DOM Load event is dispatched.

This commit is contained in:
James Graham 2015-06-18 13:49:39 +01:00
parent 568bd92236
commit 36da7e2270
3 changed files with 28 additions and 2 deletions

View file

@ -219,6 +219,8 @@ pub enum Msg {
Failure(Failure),
InitLoadUrl(Url),
LoadComplete(PipelineId),
/// Dispatched after the DOM load event has fired on a document
DOMLoad(PipelineId),
FrameRect(PipelineId, SubpageId, Rect<f32>),
LoadUrl(PipelineId, LoadData),
ScriptLoadedURLInIFrame(Url, PipelineId, SubpageId, Option<SubpageId>, IFrameSandboxState),