implement window.stop, improve aborting document load

This commit is contained in:
Gregory Terzian 2018-07-01 20:22:19 +08:00
parent aab335e543
commit ff62ca7c01
10 changed files with 49 additions and 18 deletions

View file

@ -78,5 +78,5 @@ pub fn fetch_image_for_layout(url: ServoUrl,
};
// Layout image loads do not delay the document load event.
document.loader().fetch_async_background(request, action_sender);
document.loader_mut().fetch_async_background(request, action_sender);
}