+++ This bug was initially created as a clone of Bug #651498 +++ > As a side note, gfxPlatform::Init ought to crash rather than returning an error > code -- even in production builds -- if anything fails to start up, because > nothing checks for a null pointer return from gfxPlatform::GetPlatform, so > we're going to crash anyway. But this was already broken, so I think it should > get its own bug.
Created attachment 527595 [details] [diff] [review] patch Thus. Some of these may already be covered by infallible malloc but I don't feel like auditing them just now.
Comment on attachment 527595 [details] [diff] [review] patch Yes please.
This is done and bug 651498 isn't, so I'm switching the dependency around so this can land (it's only a textual dependency).
Created attachment 528043 [details] [diff] [review] as will be checked in only change is to remove said textual dependency.
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0 Could you please provide a test case for this issue in order for it to be set to verified Fixed?
This changed how promptly we crash under conditions that should never actually occur. I do not believe a test case is feasible.