The aircraft was on a flight out of Honolulu when the cabin went dark, and flames could be seen through the window.