Skip to content
Permalink
Browse files

Terminate poster frame load blocker before blocking again

  • Loading branch information...
ferjm committed Jan 14, 2019
1 parent fde7d45 commit 7633cab63a0080350b3883a7fed045d3b9d83a15
Showing with 1 addition and 0 deletions.
  1. +1 −0 components/script/dom/htmlvideoelement.rs
@@ -179,6 +179,7 @@ impl HTMLVideoElement {
// (which triggers no media load algorithm unless a explicit call to .load() is done)
// will block the document's load event forever.
let mut blocker = self.load_blocker.borrow_mut();
LoadBlocker::terminate(&mut *blocker);
*blocker = Some(LoadBlocker::new(
&document_from_node(self),
LoadType::Image(poster_url.clone()),

0 comments on commit 7633cab

Please sign in to comment.
You can’t perform that action at this time.