'dramatic irony' definitions:

Definition of 'dramatic irony'

From: WordNet
noun
(theater) irony that occurs when the meaning of the situation is understood by the audience but not by the characters in the play