Bug 873455 - Add assertions for imgFrame::Init failure. r=joe