I have not read of such a case, but it would be interesting. If you know of one, please give us the link.
However, my gut feeling is that in my state the LEO’s would take the position that you should get away from the window and call 911.
That does not represent my opinion so knock off the flames.
in my state the LEOs would take the position
In most states, the official "LEO" position is that mere "civilians" should curl up in a fetal position, let the bad guys murder, rape, and rob them, then call the skilled trained professionals (hah!) to take a report.
And you don't seem to know what "flames" are ...