diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs
index 62bcd94b5f3..ea3a9760f0c 100644
--- a/components/script/dom/htmlimageelement.rs
+++ b/components/script/dom/htmlimageelement.rs
@@ -1184,11 +1184,6 @@ impl HTMLImageElement {
matches!(self.current_request.borrow().state, State::Broken)
{
self.reject_image_decode_promises();
- } else if matches!(
- self.current_request.borrow().state,
- State::CompletelyAvailable
- ) {
- self.resolve_image_decode_promises();
}
}